Re: [castor-dev] object being incorrectly read from cache

2002-04-19 Thread Colin Canfield
Title: Message Yep; unforunately in my app I would love the cache to be there for long transaction checking... I solved it by switching off the cache and manually checking dirty fields on return and hand coding the two phase transactions... All that would be needed to solve it would be some

[castor-dev] JDO Question on Outer/Inner objects

2002-04-19 Thread C.P.Krishnan
Hi All, We have defined our entities using an XSD file and we are running Castor SourceGenerator on the same to generate our source code. Castor JDO is being used to persist the objects into our datastore. For many-many relationship objects that are contained inside another object, the sourceGen

Re: [castor-dev] castor properties file and servlets

2002-04-19 Thread djweis
I think you should probably try to upgrade from jserv. I don't think it's been supported for at least a year or two. I've never worked with it and can't help any more. dave On Fri, 19 Apr 2002, Shalaka Chaudhari wrote: > I tried to compile the DataServlet.java and it >

Re: [castor-dev] Long Transaction still giving ObjectModifiedExce ption

2002-04-19 Thread Jamal Jackson
Thanks for the note. I haven't set my object variables to anything yet, including "" . So I imagine that the ones that were null from when I loaded the object are still null -Original Message- From: Ebersole, Steven [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 11:38 AM To: [

Re: [castor-dev] Problem with unmarshalling in latest CVS

2002-04-19 Thread Jeff Norris
Arnaud, Keith already fixed the problem- thanks anyway. :) Jeff /** * [EMAIL PROTECTED] (818) 354-5472 * http://robotics.jpl.nasa.gov/people/jnorris/ */ > -Original Message- > From: Arnaud Blandin [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 19, 2002 12:14 PM > To: [EMAIL PROT

Re: [castor-dev] Mapping DTD problem(?) and fix...

2002-04-19 Thread Alex Ross
Aha, I see the new version from the Castor .jar. The one returned by http://castor.exolab.org/mapping.dtd was the pre-fix version. Thanks, Alex -Original Message- From: Keith Visco [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 2:32 PM To: [EMAIL PROTECTED] Subject: Re: [castor-

Re: [castor-dev] Mapping DTD problem(?) and fix...

2002-04-19 Thread Keith Visco
Ummm...I am not sure what version you are using but this was fixed back in Sept 5th 2001. --Keith Alex Ross wrote: > > I'm no DTD expert but I've hit the following problem with the Castor Object > Mapping DTD: > > I'm trying to set up a simple key generator, type "max" and theoretically no >

[castor-dev] setReuseObjects Failure

2002-04-19 Thread David Mann
I have downloaded the latest CVS release 4-19-2002. I placed the setReuseObjects to true before unmarshalling the sample invoicetest.java program. It failed on the "Item" element because it was described as a reoccurring element according to the schema. This returned an array as opposed to an

Re: [castor-dev] Problem with unmarshalling in latest CVS

2002-04-19 Thread Keith Visco
Hi Jeff, This should now be fixed in the CVS. Thanks, --Keith Jeff Norris wrote: > > Interesting - it seems that if I explicitly set the "set-method" and > "get-method" fields in my mapping file, the problem goes away. I didn't > have to do this before, but this is a good enough solution fo

Re: [castor-dev] Is it working QueryResults.size() ?

2002-04-19 Thread Matthew Baird
there is a switch you have to set when querying, I believe it is a boolean that sets the resultset to scrollable. -Original Message- From: Gustavo Pistoia [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 7:18 AM To: [EMAIL PROTECTED] Subject: [castor-dev] Is it working QueryResults

Re: [castor-dev] Problem with unmarshalling in latest CVS

2002-04-19 Thread Keith Visco
Hi Jeff, Yes, I can duplicate the problem and I'm already working on fixing it. Thanks, --Keith Jeff Norris wrote: > > Interesting - it seems that if I explicitly set the "set-method" and > "get-method" fields in my mapping file, the problem goes away. I didn't > have to do this before, but

Re: [castor-dev] Using multiple mapping files

2002-04-19 Thread Gray Jones
That would be the best possible solution! I'll give it a try. Thanks -Original Message- From: Patrick van Kann [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 9:18 AM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] Using multiple mapping files Does being able to include one ma

Re: [castor-dev] Using multiple mapping files

2002-04-19 Thread Patrick van Kann
Does being able to include one mapping file from another address this? I have done the following. http://castor.exolab.org/mapping.dtd";> Patrick Gray Jones wrote: > I'm wondering if castor can use multiple mapping files and if so if > anybody has done so. > > > > Ou

Re: [castor-dev] long-transaction

2002-04-19 Thread Smith, Kevin
On my project, we've done something very similar. We use two separate Castor transactions. One to update the collections (which we do in a quasi-manual way) and a another transaction to persist the core object. We were never able to fully resolve all of the locking conflicts we had otherwise. --K

Re: [castor-dev] long-transaction

2002-04-19 Thread Gray Jones
I would agree that using long transactions makes things more difficult in castor. We had alot of problems when trying to modify collections within long transactions. However we ended up using them anyway. What we did was basically remove all collections from castor. We end up taking care of th

Re: [castor-dev] Can't find database.xml in weblogic 6.1 startup class

2002-04-19 Thread Kevin . Lanaghan
I haven't tried absolute path's in a while but will find out today. "Colin Canfield"

[castor-dev] Using multiple mapping files

2002-04-19 Thread Gray Jones
Title: Message I'm wondering if castor can use multiple mapping files and if so if anybody has done so.   Our code is seperated into different subsystems that are packaged up as seperate jars.  Each subsystem has a few business objects that they expose.  Higher level subsystems depend upon

Re: [castor-dev] object being incorrectly read from cache

2002-04-19 Thread Smith, Kevin
Title: Message However, that can lead to "interesting" transaction and locking issues when trying to do an update. -Original Message-From: Ebersole, Steven [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 8:24 AMTo: [EMAIL PROTECTED]Subject: Re: [castor-dev] object

Re: [castor-dev] object being incorrectly read from cache

2002-04-19 Thread Ebersole, Steven
Title: object being incorrectly read from cache The purpose of a cache is exactly what you describe: avoid having to hit the database every time.  If you absolutely need the latest data from the DB (and there is a possiblity users will be directly updating the DB) then turn caching off.    

[castor-dev] BMP Entity Bean and ejbStore: changes to the entity are'nt persisted

2002-04-19 Thread Alexey Moshchenikov
Hi Using JBoss + castor-jdo ejbStore does nothing (like in guide of jmoz) in ejb-jar.xml transaction is required for this Entity Bean actual data bean contains deep dependant data beans, all of them are maped to be persisted by castor Local version of beans model works well The problem is: 1. The

[castor-dev] Performance Issue JDO (repost sorta) - concurrency problem !!!

2002-04-19 Thread Ludovic Bertin
I've tried the solution to have 2 differents mapping files, one that loads only few objects and the other that loads all the dependent objects. But I have some strange problems. Here is  the context :   I have 2 JDO objects, one for each database configuration file/mapping file. The first

Re: [castor-dev] Apache XMLSerializer

2002-04-19 Thread Verhagen, Tjeerd
Did you read? http://www.mail-archive.com/castor-dev@exolab.org/msg06411.html > -Original Message- > From: Pym, Andrew [mailto:[EMAIL PROTECTED]] > Sent: Friday 19 April 2002 08:44 > To: [EMAIL PROTECTED] > Subject: [castor-dev] Apache XMLSerializer > > > I am getting an error when I t