Re: [castor-dev] when is arnaud back?

2003-01-13 Thread Arnaud Blandin
Hi Dean, First thanks for all the efforts you are putting to help us building a solid framework. As Keith told you; I've just got back from my vacation, is there still any issue pending? Arnaud > -Original Message- > From: Dean Hiller [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 10,

Re: [castor-dev] here is a feature submission - suffix

2003-01-13 Thread Arnaud Blandin
Hi John, The binding file will definitely be part of the next release; it is already in the CVS for some weeks. I've also put some documentation in the CVS that will appear in the Web Site with the next release. Arnaud > -Original Message- > From: Weir, John [mailto:[EMAIL PROTECTED]] >

Re: [castor-dev] Strange 0.9.4.2 bug

2003-01-13 Thread Arnaud Blandin
Hi Brian, I am unable to reproduce the error reported using the CVS version. Can you confirm the latest CVS works for you? Arnaud -Original Message- From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 12, 2003 5:06 AM To: [EMAIL PROTECTED] Subject: Re: [castor-dev]

[castor-dev] Lists of QNames.

2003-01-13 Thread Brian Madigan
This issue has been brought up before here: http://castor.exolab.org/list-archive/msg18152.html Is there a way yet in Castor to map lists of QNames to collections of Objects? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. h

Re: [castor-dev] Invalid Characters in XMl Generated

2003-01-13 Thread Arnaud Blandin
Hi, I am not sure about whether or not we should change the Castor marshalling code to pass in a different character to the serializer. The serializer shouldn't be able to produce the NULL character so I guess the correct behavior will be to have the Serializer to throw an exception when trying to

[castor-dev] Mpeg7 mds-2001.xsd

2003-01-13 Thread Stefanos Armstrong
Hello, We are trying to incorporate Mpeg7 schema in our project as java classes generated by castor. I've tried 0.9.4.1 and cvs (latest 20030113). There are some things such as lists, unions, etc that I've had to take out and I might not mind as I understand someone from the maili

[castor-dev] Bug #963 Dependent objects creation order problem - StackOverflowError

2003-01-13 Thread Daniel Distelrath
Hi, after unmarshalling an object hierarchy, with 'masterobject = ZitatDB.unmarshal(new FileReader("example.xml"))', i was trying to make it persistent, i.e. i do a 'db.create(masterobject)', but i kept running into: - [TEST] Castor: Creating zitatdb.ZitatDB (null) java.lang.StackOv

Re: [castor-dev] JDO example : getBigDecimal

2003-01-13 Thread Patrick Vanhuyse
Robin, If it's the engine in database.xml, I have tried and I have got the same result with both "interbase" and "generic". I think it's a problem with the interbase JDBC driver. Thank you. Patrick - Original Message - From: "Patrick Vanhuyse" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: [castor-dev] JDO example : getBigDecimal

2003-01-13 Thread Robin Hoogeboom
Hi Patrick, >From your problemdescription I guess you are using Castor JDO. You must specify the database you use, either in an file or lookup. Normally this file is called database.xml I use an JNDI setting in an xml file: In this file you specify your database name & engine. In

Re: [castor-dev] JDO example : getBigDecimal

2003-01-13 Thread Patrick Vanhuyse
Robin, Where do I have to specify "generic" sql engine ? Thank you. Patrick - Original Message - From: "Robin Hoogeboom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 12:07 PM Subject: Re: [castor-dev] JDO example : getBigDecimal > Patrick, > > > Which

[castor-dev] Marshaling a simple String Object

2003-01-13 Thread Nicolas S i l b e r z a h n
String myString = "youpi"; try { // write it out as XML (if not already present) File file = new File("myString.xml");

Re: [castor-dev] JDO example : getBigDecimal

2003-01-13 Thread Robin Hoogeboom
Patrick, Which SQL engine setting do you use?. I use the "Generic" setting and has no problem with BigDecimal whatsoever. I use Castor with Jrun 4 and a Progress 9.1D database, combined with a type 2 jdbc driver. You could try setting the "generic" sql engine and test if your setting is ok. Go

[castor-dev] JDO example : getBigDecimal

2003-01-13 Thread Patrick Vanhuyse
Using Castor with Interbase. I think I have the latest Interbase JDBC driver. I have seen in the list archive other people having the same problem with mysql and oracle. I have the following error when running the example with a non empty db :   [test] Begin transaction[test] SELECT prod.id,

Re: [castor-dev] best practices and samples for servlet environment / application server (jboss) environment

2003-01-13 Thread Werner Guttmann
On Sun, 12 Jan 2003 20:24:04 -0500, tek1 wrote: > > > in a servlet environment, if obtaining a new Database object for each > > > method (or call from a servlet) is the correct approach, how does this > > > impact performance since it seems that 1 Database object = 1 database > > > connection. if

Re: [castor-dev] here is a feature submission - suffix

2003-01-13 Thread Weir, John
Arnaud, Is the binding file going to be released with 0.9.4.2? Like dean I need similar functionality and Rhetts solution seems just like the ticket. The only functionality that I want from Binding at the moment is the suffix addition - are there any restrictions on using a binding file that I n

Re: [castor-dev] Bug #963

2003-01-13 Thread Alex Grivnin
The attachment. -Original Message- From: Alex Grivnin Sent: Monday, January 13, 2003 11:33 AM To: '[EMAIL PROTECTED]' Subject: RE: [castor-dev] Bug #963 Hi Bruce, Sorry for the late reply, but it is better late than never ;). In the attached zip you can find a test case that reproduc

Re: [castor-dev] Bug #963

2003-01-13 Thread Alex Grivnin
Hi Bruce, Sorry for the late reply, but it is better late than never ;). In the attached zip you can find a test case that reproduces the problem. The archive contains a test case of another problem that I've recently discovered. This is a problem with reference handling - when an object has

[castor-dev] How to make a M-N relation with role classifier with castorJDO?

2003-01-13 Thread Orjan Palsson
I would like to make a many to many relation with a role classifier on the relation. Is it possible with Castor JDO? In that case - how? I have checked the JDO examples and the test cases, and there are only normal many-many relations without role classifier. / Orjan Below is an example of th