Re: [castor-dev] Getting IncompatibleClassChangeError

2003-08-18 Thread Naveen_JaiDayal
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. Hi I pasted the whole classpath but somehow you are seeing only half of it. Now i am attaching a text file with the complete CLASSPATH for your reference thanks

Re: [castor-dev] Getting IncompatibleClassChangeError

2003-08-18 Thread Bruce Snyder
This one time, at band camp, Naveen_JaiDayal said: N>I have changed the classpath and also added the required jars in the N>classpath as mentioned by you. Still I am getting the same problem. This is N>how my classpath looks right now.. N> N>/export/home/kana/ebiz54 N>/export/home/kana/ebiz54/bin/

Re: [castor-dev] TransactionNotInProgressException: This transactionis not open

2003-08-18 Thread Stein M. Eliassen
Stein M. Eliassen wrote: I'm using a loader-object to load the actual type that I really want with another identity-definiton, in this case ActionProgram. I was calling delete() directly on ActionProgram and not on the loader and this was messing things up, but now that I call delete() on the

Re: [castor-dev] Getting IncompatibleClassChangeError

2003-08-18 Thread Naveen_JaiDayal
Bruce I have changed the classpath and also added the required jars in the classpath as mentioned by you. Still I am getting the same problem. This is how my classpath looks right now.. /export/home/kana/ebiz54 /export/home/kana/ebiz54/bin/jars/SessionPatch.jar /export/home/kana/ebiz54/bin/jars/k

Re: [castor-dev] TransactionNotInProgressException: This transactionis not open

2003-08-18 Thread Stein M. Eliassen
Bruce Snyder wrote: The logic from the FieldMolder.getValue() method is correct. What does not seem to be correct is your receipt of a TransactionNotInProgressException. This exception is only thrown from within the DatabaseImpl. Please post the relevant portion of your client code so that I can se

Re: [castor-dev] Getting IncompatibleClassChangeError

2003-08-18 Thread Bruce Snyder
This one time, at band camp, Naveen_JaiDayal said: N>As the aplication is deployed on Weblogic App Server so I am giving the N>complete classpath for weblogic server. N> N>/export/home/kana/ebiz54/bin/jars/SessionPatch.jar:/export/home/kana/ebiz54/ N>bin/jars/kanaPlatform.jar:/export/home/kana/ebi

Re: [castor-dev] Getting IncompatibleClassChangeError

2003-08-18 Thread Naveen_JaiDayal
Title: RE: [castor-dev] Getting IncompatibleClassChangeError As the aplication is deployed on Weblogic App Server so I am giving the complete classpath for weblogic server. /export/home/kana/ebiz54/bin/jars/SessionPatch.jar:/export/home/kana/ebiz54/bin/jars/kanaPlatform.jar:/export/home/kana

Re: [castor-dev] Getting IncompatibleClassChangeError

2003-08-18 Thread Bruce Snyder
This one time, at band camp, Naveen_JaiDayal said: N>We are using this version of the Castor - castor-0.9.4.1.jar. N> N>This was downloaded a few months ago. Till now we were using this version N>of Castor to only read existing XML files (having some business rule data) N>and there was no problem.

Re: [castor-dev] TransactionNotInProgressException: This transactionis not open

2003-08-18 Thread Bruce Snyder
This one time, at band camp, Stein M. Eliassen said: SME>Bruce Snyder wrote: SME>> This one time, at band camp, Stein M. Eliassen said: SME>> SME>> SME>Is it a known bug when attempting to load a previous deleted object SME>> SME>before it's removed from the cache that a SME>> SME>"TransactionNot

Re: [castor-dev] Getting IncompatibleClassChangeError

2003-08-18 Thread Naveen_JaiDayal
Title: RE: [castor-dev] Getting IncompatibleClassChangeError Hello Bruce, We are using this version of the Castor - castor-0.9.4.1.jar. This was downloaded a few months ago. Till now we were using this version of Castor to only read existing XML files (having some business rule data) and t

Re: [castor-dev] Getting IncompatibleClassChangeError

2003-08-18 Thread Bruce Snyder
This one time, at band camp, Naveen_JaiDayal said: N>I am getting this IncompatibleClassChangeError while Marshalling (saving) N>the XML. I tried various things by modifying the classpath but this is still N>coming. Request you to help me as this a show-stopper problem for me. N> N>java.lang.Incom

Re: [castor-dev] TransactionNotInProgressException: This transactionis not open

2003-08-18 Thread Stein M. Eliassen
Bruce Snyder wrote: This one time, at band camp, Stein M. Eliassen said: SME>Is it a known bug when attempting to load a previous deleted object SME>before it's removed from the cache that a SME>"TransactionNotInProgressException: This transaction is not open" is thrown? Not that I'm aware of. Ple

Re: [castor-dev] XML schema validation

2003-08-18 Thread Ostermueller, Erik
Castor itself will only do the validation if the java objects are generated by the SourceGenerator. However, you can tell castor to invoke XML parser validation (Xerces, Oracle, JAXP, etc...) with the castor.properties file: # True if xml documents should be validated by the SAX Parser # org.exo

[castor-dev] XML schema validation

2003-08-18 Thread Ashwin Desai
I have a XML file that is based off a XML schema document. Also, I have my own set of Java classes to represent this xml document. I am able to unmarshall the xml file data to my own java objects. But, one thing I noted was that Castor did not perform validation of the XML file against the XML sche

Re: [castor-dev] Error in the doc

2003-08-18 Thread Bruce Snyder
This one time, at band camp, Maxime Levesque said: ML> That is good news, for Castor is the only O-2-Xml-2-R framework out ML>there, ML>I'm glad to see it evolving, and plan to use it in a project, thanks for ML>you're involvment, ML>and keep up the good work ! Yes it is. There is no other d

Re: [castor-dev] Identity field

2003-08-18 Thread Bruce Snyder
This one time, at band camp, Charles Canning said: CC>I need to set an identity field to be an id and a key from another table CC>which I have mapped to an object CC> CC> CC> CC> CC> CC> CC> CC> CC> CC> CC> CC>

[castor-dev] Identity field

2003-08-18 Thread Charles Canning
Hi, I need to set an identity field to be an id and a key from another table which I have mapped to an object is this valid? If not, how would I proceed

Re: [castor-dev] Error in the doc

2003-08-18 Thread Maxime Levesque
That is good news, for Castor is the only O-2-Xml-2-R framework out there, I'm glad to see it evolving, and plan to use it in a project, thanks for you're involvment, and keep up the good work ! Interesting you should bring this up. I'm just beginning a major refactoring of Castor JDO. One of

Re: [castor-dev] [PATCH] source generation and xsi type resolution improvements

2003-08-18 Thread Arnaud Blandin
Hi Klas, Sorry for the late reply and many thanks for the patch. Could you please enter the patch in the bugzilla system (bugzilla.exolab.org) to ensure that we don't lose track of it and it is added to our to-do list? Arnaud --- If you

Re: [castor-dev] java.lang.NullPointerException in org.exolab.castor.xml.UnmarshalHandler

2003-08-18 Thread Arnaud Blandin
Hi Wade, Could you please post the XML schema and the XML that you use to demonstrate the problem? To help you track down the issue, you can turn debug on. It will give you (very!) little information on what is going on. >From the error description, it seems that a sanity check is missing. Thanks

Re: [castor-dev] Issue with XML names and dashes. Help needed.

2003-08-18 Thread Arnaud Blandin
Hi Wade, Have you tried against the latest CVS version? A few weeks ago a bug has been fixed regarding the use of mixed content. Arnaud > -Original Message- > From: Wade Chandler [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 11:12 PM > To: [EMAIL PROTECTED] > Subject: Re:

[castor-dev] Castor issues when using SQL Anywhere (Sybase)

2003-08-18 Thread Sandeep Bhasin
Hello, My current application is working fine when I use MySql. When I switch database to Sql Anywhere (Sybase), I see the following behaviour. 1)Within my transaction, I have an INSERT INTO TABLE A, followed by SELECT COUNT(*) FROM Table A. When I run this thru Castor the SELECT COUNT(*) HANGS

[castor-dev] LockNotGrantedException when using parallel transactions

2003-08-18 Thread Thomas Braun
Hello, I'm developping an application which has multiple parallel transactions. Now I have the problem that the same data object may be loaded in more than one transaction at the same time. If one of the transactions changes the object and tries to commit I get an LockNotGrantedException: org.

[castor-dev] Table aliases bug in HsqlQueryExpression class.

2003-08-18 Thread Dawid Weiss
Hi. Nobody (sadly :) responded to my bug report e-mail sent earlier. I understand - the vacation period is in full bloom :) Anyway, I think I've found the buggy code in HsqlQueryExpression class - a hashmap of table aliases was not used properly in method "addTables" - take a look

[castor-dev] QueryResults not returning results

2003-08-18 Thread Charles Canning
Hi, When I run the following code, it prints a result size of 14, when I run the sql query I get 14 elements, but the while loop only finds 1 result. Does anyone know what could be happening here? protected List readObjects(Database db, String query, Object[] parameters) throws