[castor-dev] Milliseconds in durations restricted to 4 significant digits?

2004-05-06 Thread Wise, Bowden (Research)
Hi 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" Castor passes the number "326745125" to it's Duration.setMil

Re: [castor-dev] [JDO] lazy loaded collections

2004-05-06 Thread Jon Wilmoth
Thanks for the responses! I think I'm going to try the "pre-iterate" approach as it will allow me to handle exceptions in the controller tier instead of in the presentation tier. I think that sort of flexibility would be greatly appreciated by people trying to tune their castor-based application

Re: [castor-dev] [JDO] lazy loaded collections

2004-05-06 Thread Werner Guttmann
Jon, just picking up on one of your questions below, as Patrick has provided answers to everything else. Werner On Thu, 6 May 2004 17:22:43 +0100, Patrick van Kann wrote: >Hello Jon, > >Unfortunately, lazy loading can only be used in short transactions. > >The underlying RelationCollection ho

Re: [castor-dev] [JDO] lazy loaded collections

2004-05-06 Thread Patrick van Kann
Hello Jon, Unfortunately, lazy loading can only be used in short transactions. The underlying RelationCollection holds a relationship to the transaction context in which the parent object is loaded, which it calls upon to load objects when iterator.next is called. If you have closed the transac

[castor-dev] [JDO] lazy loaded collections

2004-05-06 Thread Jon Wilmoth
After turning on logging on my JDBC driver, I noticed that a seperate query statement was issued for each child object in a parent child relationship (i.e. ProductGroup --> Product). Query "SELECT AA_PRODUCT_GROUP.PROD_GROUP_ID,AA_PRODUCT.PRODUCT_ID,AA_PRODUCT_GROUP.CATEGORY FROM AA_PRODUCT_GR

Re: [castor-dev] [JDO] - Are explicit object relationships supported in Castor OQL?

2004-05-06 Thread Jon Wilmoth
It turns out it was a browser caching issue with rendering the query results. The change to mapping did work. Now that I have the relationships working it brings up a question related to performance and lazy load, which I'll start in a new email to make topical searches easier. --- Bruce Snyder

Re: [castor-dev] Newlines being stripped from element value

2004-05-06 Thread sire chembiparambil
Kieth, I tried this too, and it does not work. I downgraded castor to version castor-0.9.5.2 and it works fine with that. Could the setWhitespacePreserve() be the culprit ? Sire Chembiparambil

[castor-dev] Re: Your software

2004-05-06 Thread tmchild
--- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev