[castor-dev] date manipulation in OQL

2004-03-17 Thread chad nash
I am trying to get a handle on date manipulation in OQL. Any references? (I could not find any) Obviously you can do any manipulation you want, in java, to the parameters you bind to the OQL. Do + and - work for dates? (I imagine not) Can you access the components of a date (year month day)?

Re: [castor-dev] Iterator instead of Enumeration?

2004-03-17 Thread Robert La Ferla
On Mar 17, 2004, at 3:52 PM, Keith Visco wrote: I think Roberts concern was that when using -types j2 he's getting Enumeration instead of Iterator, so that code needs to be updated. That is what I meant but I don't know how you read my mind. I am indeed using j2 types. Also, it would be nic

[castor-dev] The lowest common denominator is JDK 1.2?

2004-03-17 Thread Stein M. Hugubakken
Since Timer and TimerTask are only available from jdk 1.3.x my bug 1554 probably won't be accepted then? http://bugzilla.exolab.org/show_bug.cgi?id=1554 Stein --- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED

Re: [castor-dev] XML Mapping - Problems using identity and extends.

2004-03-17 Thread Keith Visco
Hi Paul, Yes, please file a bug report on this, and if you can attach your test case, that would be great. Thanks, --Keith Paul Grillo wrote: > > Well, it looks to me that there is a bug in the XML Mapping. I haven't > been able to solve it. Don't know if anybody had a look at the previou

Re: [castor-dev] Iterator instead of Enumeration?

2004-03-17 Thread Keith Visco
Hi Tim, We've removed the restriction for 1.1 compatible code, so no. The lowest common denominator that is supported is now JDK 1.2. Castor internally handles Iterators, by wrapping them in a simple IteratorEnumeration. This was initially done because of the JDK 1.1 compatibility...so we need

[castor-dev] Code cleanup and Eclipse

2004-03-17 Thread Joao Luis Pinto
Dear all I got the latest version of the code from CVS with Eclipse (http://www.eclipse.org), and noticed a few problems: - File src/tools/ide/eclipse/classpath.template has not been updated to the latest versions of the distributed .jars . Namely, it lists adaptx_0.9.7.jar while adaptx_0.9.10

[castor-dev] validate/marshal/unmarshal

2004-03-17 Thread Satish Cattamanchi
We’re using Castor for data binding. For obvious reasons, we’d like to have validate/marshall and unmarshal method that returns ValidationExceptions/MarshalExceptions errors for the entire document as opposed to just the first Exception. Is there a property that I can set in castor.properties f

[castor-dev] RE: - [castor-dev] Casting AnyObject into Castor object - Sending mail server found on relays.ordb.org

2004-03-17 Thread Pete Thomas
I’m not sure if this is your question but if you’re XML Schema has :-     Then after unmarshalling, you can do a   xxx.getAnyObject()   on the element that contains the any node, which gives an Object[].   If you want to unmarshall the any node contents separately you just mar