Re: [castor-dev] can Castor do it???

2002-11-11 Thread Enrique Rodríguez
Title: RE: [castor-dev] can Castor do it??? OK. Now i have teh marshall/unmarshall process without IDs. Is there any step to pass throught the castor SG to Castor JDO. I have the mapping.xml, but i think the code generated is not prepared to support reference to other objects. Thank you v

Re: [castor-dev] the reverse of XMLInstance2Schema

2002-11-11 Thread Erik.Ostermueller
Daan, Still can't get to it -- tried IE 5.5. --Erik > -Original Message- > From: [EMAIL PROTECTED] > [mailto:Daan.Hoogland@;nc3a.nato.int] > Sent: Monday, November 11, 2002 10:35 AM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] the reverse of XM

Re: [castor-dev] performance code change improvement

2002-11-11 Thread Dennis Sosnoski
Hi Dean, I've looked at Castor performance from a larger perspective (not trying to pinpoint where it's slow, just comparing it to other approaches). I haven't seen speed differences of the sort you're talking about between marshalling and unmarshalling - in my tests the marshalling is about 2-

[castor-dev] key-generator="caMAX" problem in DB2

2002-11-11 Thread Suhas Kulkarni
Hi , can anyone has solution for below mentioned problem ? Regards --- Suhas Kulkarni <[EMAIL PROTECTED]> wrote: > Date: Mon, 11 Nov 2002 07:36:36 -0800 (PST) > From: Suhas Kulkarni <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [castor-dev] key-generator="MAX" problem in > DB2 > > Hi ,

Re: [castor-dev] the reverse of XMLInstance2Schema

2002-11-11 Thread Daan.Hoogland
I just talked, We have a packet filter that only allows for passive ftp. If you use a browser or set passive mode, you'll be allright. -Original Message- From: [EMAIL PROTECTED] [mailto:jpjansen@;snow.nl] Sent: Monday, November 11, 2002 5:30 PM To: Hoogland Daan Subject: Re: FW: [castor-

Re: [castor-dev] the reverse of XMLInstance2Schema

2002-11-11 Thread Daan.Hoogland
I'll talk to the admin:-( > -Original Message- > From: [EMAIL PROTECTED] > [mailto:Erik.Ostermueller@;alltel.com] > Sent: Monday, November 11, 2002 5:09 PM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] the reverse of XMLInstance2Schema > > > Daan, > > I'm having trouble downloade

Re: [castor-dev] the reverse of XMLInstance2Schema

2002-11-11 Thread Erik.Ostermueller
Daan, I'm having trouble downloaded from this ftp. I can logon and change to the pub/castor directory. But when I do an 'ls', the ftp client hangs. Any suggestions? Thanks, --Erik > -Original Message- > From: [EMAIL PROTECTED] > [mailto:Daan.Hoogland@;nc3a.nato.int]

Re: [castor-dev] can Castor do it???

2002-11-11 Thread Rhett Sutphin
On Monday, November 11, 2002, at 09:35 AM, Enrique Rodríguez wrote: Thank you very much, Arnaul and Rhett. I don't take care that i don't need mapping.xml if i'm using castor source generator. BTW, as Rhett said, my schema should add IDs to the generated xml. I think i need this IDs when i rec

Re: [castor-dev] can Castor do it???

2002-11-11 Thread Enrique Rodríguez
Title: RE: [castor-dev] can Castor do it??? Thank you very much, Arnaul and Rhett. I don't take care that i don't need mapping.xml if i'm using castor source generator. BTW, as Rhett said, my schema should add IDs to the generated xml. I think i need this IDs when i recover the objects form

[castor-dev] key-generator="MAX" problem in DB2

2002-11-11 Thread Suhas Kulkarni
Hi , I get this DB2 Exception when I use Key-generator="MAX" feature in Castor-JDO . Here is the exception trace - COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2] SQL0118N The table or view that is the target of the INSERT, DELETE, or UPDATE statement is also specified in a FROM clause.

Re: [castor-dev] can Castor do it???

2002-11-11 Thread Rhett Sutphin
On Monday, November 11, 2002, at 08:45 AM, Enrique Rodríguez wrote: I use Castor Source Generator. These are the two options I'm trying to use:                                                           

Re: [castor-dev] can Castor do it???

2002-11-11 Thread Enrique Rodríguez
Hear is my mapping.xml. I don't know what must I do to read/write inside Range the RangeValue array. Is something with the bind-xml becouse the sql query generated by castor looks like those i was thinking i need.   If it was a single repeatable tag, i know i have to write in the bind-xml ta

Re: [castor-dev] can Castor do it???

2002-11-11 Thread Arnaud Blandin
Hi Enrique, Make sure you are generated the descriptors as well as the object model. When using the Source Generator, it is not needed to use a mapping file. The mapping file can be used in combination with generated sources to express business logic or inheritance relationship between the generat

Re: [castor-dev] Bi-directional relationships

2002-11-11 Thread Rhett Sutphin
On Friday, November 8, 2002, at 04:32 PM, Bruce Snyder wrote: This one time, at band camp, Charles Forsythe said: CF>Bruce Snyder wrote: CF> CF>>Officially, Castor only support bi-directional relationships [snip] CF> CF>You've mentioned this several times. Can we get some documentation on CF

Re: [castor-dev] can Castor do it???

2002-11-11 Thread pedro canales
Enrique, Could you send me a snippet of code how are you trying to do this? If you have succeded marshalling your objetcs, I think is not a big deal making unmarshalling. Pedro. From: "Arnaud Blandin" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [castor-

Re: [castor-dev] can Castor do it???

2002-11-11 Thread Enrique Rodríguez
Title: RE: [castor-dev] can Castor do it??? I use Castor Source Generator. These are the two options I'm trying to use:                                                            

Re: [castor-dev] Got Exception "OQLSyntaxException", but why?

2002-11-11 Thread Martin, Margaret
Boris - I think that the is basically saying that Order is a reserved word - try naming it something else and see if that works - Hope this helps - Margaret -Original Message- From: Boris Klug [mailto:boris.klug@;control.de] Sent: Monday, November 11, 2002 5:03 AM To: [EMAIL PROTECTED] Su

[castor-dev] SourceGenerator of 0.9.4.1 still doesn't work with xmldsig schema

2002-11-11 Thread Joao Luis Pinto
Hello: The subject mostly says it... While processing the xmldsig schema the following stack trace is returned: java.lang.NullPointerException at org.exolab.castor.builder.MemberFactory.createFieldInfoForAny (Unknown Source) at org.exolab.castor.builder.SourceFactory.processContentModel(Unknow

Re: [castor-dev] Fw: Concurrency Problem -- Bug in castor???

2002-11-11 Thread Martin, Margaret
Arun, Have you tried making the collection lazy? At least for the case that you are describing, that should prevent the collection in the department from being populated automatically   Hope this helps - Margaret -Original Message-From: Arun Sudhakaran [mailto:[EMAIL PROTECTED]

Re: [castor-dev] Got Exception "OQLSyntaxException", but why? [Viruschecked]

2002-11-11 Thread Patric Bechtel
Hello Boris, simple :-) Did you ever tried in SQL an "select * from order where ...", it would have caused at least one SQL server to fail. Order is a keyword, as such you should try to avoid it standing alone without any further context such as =, . or the like. Try that: "select a from boris.

[castor-dev] ObjectModifiedException when JDO objects are changed

2002-11-11 Thread Ralf Joachim
Hello When I iterate through QueryResults and change a property with its setter methode I get ObjectModifiedException at db.Commit. This happens for all records/objects of QueryResult except the last one, where it works as expected (value is changed after commit). Is there something wrong with my

Re: [castor-dev] can Castor do it???

2002-11-11 Thread Arnaud Blandin
Hi Enrique, Why not using the Source Generator to generate the java object model from the schema? The mapping API intends to provide information mostly on the java model you want to marshal to xml and unmarshal from xml. It doesn't define an XML grammar by itself (even though it lets you specify s

[castor-dev] can Castor do it???

2002-11-11 Thread Enrique Rodríguez
Title: can Castor do it??? Past week i asked for a solution to my problem. i Have to marshall and unmarshall an xml document like this...     Description     From     15     To     45 RangePrecision and RangeValue always are joined, and as you can see, can be repeatable. the

[castor-dev] Got Exception "OQLSyntaxException", but why?

2002-11-11 Thread Boris Klug
Hello! I have a very strange behaviuor here: I try to get an object from the db which is named "Order". When I do a "select a from Order a" I got the Exception: Exception: org.exolab.castor.jdo.oql.OQLSyntaxException: An incorrect token type was found near Order (found KEYWORD_ORDER, but expect

Re: [castor-dev] the reverse of XMLInstance2Schema

2002-11-11 Thread Daan.Hoogland
H Eitan, > where can i find out more about daan's gui generator? try ftp://ftp.snow.nl/pub/castor there are some archives there, no documentation. One of the archives contains a patched castor. The others example applications. I will try to continue put in the odd hour a week, but can't guarant

Re: [castor-dev] Persisting a tree structure ( recursive objects)

2002-11-11 Thread Patrick van Kann
Hello, You can achieve the functionality you need by using a kind of association class to hold the relationship between Folders. You would create a class like public class FolderRelation implements Serializable { private int id; private Folder parentFolder; private Folder childFolder;

Re: [castor-dev] [xml] xsi:type handling in 0.9.3.9 and 0.9.4

2002-11-11 Thread Matthias Peschel
Hi Arnaud, I tried it before without the 'name' attribute (forgot to remove it in the message) and it also did not work. So I prepared a small sample for testing: --- public class ElementA {} --- public class