[castor-dev] Problem in marshalling Hashtable to a XML.

2004-06-10 Thread sandeepk
Hi, I am facing an error while marshalling a Hashtable object into an XML file. I am using the castor-0.9.5.3.jar The sample code written is as follows : Hashtable aa = new Hashtable(); aa.put("Hi", "Hello"); aa.put("Ok", "Very Good"); When I try to marshall this using the Marshaller.marshall c

[castor-dev] Problem with loading two database (cvs version)

2004-06-10 Thread Nick Stuart
I seem to have come across a situation with the latest cvs. If you guys know about this let me know, otherwise I'll be posting another bug :) The situation is that I have two different database files for different mappings. Using the cvs of castor I can load the first configuration file and use th

Re: [castor-dev] PersistenceException: Object links to another Object, that is not loaded/updated/created in this transaction

2004-06-10 Thread Bruce Snyder
[EMAIL PROTECTED] wrote: I get the following exception during an update. The class I want to update has a link to another object. org.exolab.castor.jdo.TransactionAbortedException: Nested error: org.exolab.castor.jdo.PersistenceException: Object, , links to another object, that is not load

[castor-dev] PersistenceException: Object links to another Object, that is not loaded/updated/created in this transaction

2004-06-10 Thread Markus . Sell
Hi,   I get the following exception during an update.   The class I want to update has a link to another object.   org.exolab.castor.jdo.TransactionAbortedException: Nested error: org.exolab.castor.jdo.PersistenceException: Object, , links to another object, that is not loaded/update

Re: [castor-dev] Milliseconds in durations restricted to 4 significant

2004-06-10 Thread Keith Visco
Hi Bowden, Looks like it might be a problem! :-) Can you file a bug report on that (http://bugzilla.exolab.org). Thanks, --Keith "Wise, Bowden (Research)" wrote: > > I resent my original query as plaintext below as requested: > > I have a schema that uses durations (e.g., xs:duration) type

Re: [castor-dev] update() inserts a record....

2004-06-10 Thread Esteban Santiago
Hello all, I have a simple question: Why update() method inserts a record? Thanks in advance.  Help STOP spam with the new MSN 8 and get 2 months FREE* --- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] w

Re: [castor-dev] logging

2004-06-10 Thread Nick Stuart
Ya, should have warned you about that ;) Tomcat gets really excited when you let it log everything it wants too. Glad it worked for you. -Nick ---Original Message- --From: Turgay Zengin [mailto:[EMAIL PROTECTED] --Sent: Thursday, June 10, 2004 11:39 AM --To: [EMAIL PROTECTED] --Subject:

Re: [castor-dev] logging

2004-06-10 Thread Turgay Zengin
Thanks a lot Nick, yes that helped, I can see the logs. I got lots of logs from Tomcat and Struts also, so I had to add the following to the log4j.properties file: log4j.logger.org.apache=warn Regards, Turgay Zengin -Original Message- From: Nick Stuart [mailto:[EMAIL PROTECTED] Sent: W

Re: [castor-dev] logging

2004-06-10 Thread Wade Chandler
Nick Stuart wrote: If you have log4j in your classpath (in either your local WEB-INF/lib or under the servers common/lib path) you should just be able to stick a log4j.properties file in the WEB-INF/class/ directory and castor will do the rest. A sample properties file is included I believe in the

Re: [castor-dev] Milliseconds in durations restricted to 4 signif icant digits?

2004-06-10 Thread Wise, Bowden (Research)
I resent my original query as plaintext below as requested: I have a schema that uses durations (e.g., xs:duration) types. I have discovered that Castor uses a short when setting the milliseconds for a duration. e.g, consider the following duration string "PY00M00DT00H00M56.326745125S" Ca

[castor-dev] Marshalliing/Unmarshalling date fields

2004-06-10 Thread Wise, Bowden (Research)
Keith: I have some XML documents that have xs:dateTime fields, but castor is not reading in the values the way I expect >From file: 2002-10-09T15:51:13.748208750Z >From castor: 2002-10-18T07:41:21.750Z Castor has: - incorrect day (October 18, 2002 should be October 9, 2002) - incorrect time