Re: [castor-dev] Mixing primitives and wrappers

2002-02-11 Thread Keith Visco
Hi Tim, This is a feature that Arnaud Blandin is working on. Perhaps he can comment more on the status of it. Thanks, --Keith "Kuntz, Tim" wrote: > > I have read the documentation and understand that I can use the property > setting "primitivetowrapper" to toggle the generated primitives to

Re: [castor-dev] IllegalAccessError while accessing SGStateInfo when running SourceGenerator

2002-02-11 Thread Keith Visco
Farrukh Najmi wrote: > > Keith, > > I am embarrassed to admit that the problem was caused by the fact that I had a >CLASSPATH set > when I ran my ant rule which picked up some invalid combination of jars. Once I >unset CLASSPATH > and ran my ant rule to run SourceGenerator every thing seemed

Re: [castor-dev] infamous SAXExcetion when using source generator

2002-02-11 Thread Keith Visco
Looks like your classpath is missing a semi-colon ';' after the xerces.jar entry. --Keith > rajesh wrote: > > Hi All, > > I looked on the archives but none of the cases matche dmy scenario so > trying this post also this is my first one. > > I saw your post on castor mailing list regarding

Re: [castor-dev] does castor intend to support sax2?

2002-02-11 Thread Keith Visco
Stephen Tsun wrote: > > hi: > > i am trying to use castor with sax2, but I notice that the marshaller only > supports > a constructor with the DocumentHandler interface. > > Does castor support SAX2? Not yet. However you can use a combination of org.xml.sax.helpers.XMLReaderAdapter, and or

Re: [castor-dev] XSLT qu: how can Castor generate an xml-stylesheet PI in the beginning of marshalling an object?

2002-02-11 Thread Keith Visco
Stephen Tsun wrote: > > keith: > > thanks, this is good and I like it. I am just a bit confused about > how to get the latest CVS version. I am using 0.9.3.9, which does > not seem to support this call at all. You need to use a tool called CVSfor more information please see: http://cas

Re: [castor-dev] parentheses in raw SQL statements

2002-02-11 Thread Keith Visco
Hi Glenn, I'd check it in myself, but I don't mess around with Castor JDO. Perhaps Thomas, Bruce or Ned (The JDO guys) can review your patch and commit it. Thanks, --Keith Glenn Nielsen wrote: > > I have posted several times a simple 1 line patch that fixes the > CALL SQL select parenthesis

[castor-dev] Problems with 1:many and MySQL

2002-02-11 Thread Ben Peter
Hi all, I have a 1:many relationship set up between two objects, the one depending on the other - a newsletter and subscriptions. When the subscriptions are obtained, castor will join on both tables' primary keys ( newsletter.id = subscription.id ) instead of ( newsletter.id = subscription.ne

[castor-dev] does castor intend to support sax2?

2002-02-11 Thread Stephen Tsun
hi: i am trying to use castor with sax2, but I notice that the marshaller only supports a constructor with the DocumentHandler interface. Does castor support SAX2? If not, is there a plan to? (and when?) thanks steve tsun calient networks

Re: [castor-dev] XSLT qu: how can Castor generate an xml-stylesheet PI in the beginning of marshalling an object?

2002-02-11 Thread Stephen Tsun
keith: thanks, this is good and I like it. I am just a bit confused about how to get the latest CVS version. I am using 0.9.3.9, which does not seem to support this call at all. can you please clarify how to get the version you are talking about? also, if that is not official yet, when will t

Re: [castor-dev] parentheses in raw SQL statements

2002-02-11 Thread Glenn Nielsen
I have posted several times a simple 1 line patch that fixes the CALL SQL select parenthesis bug. The most recent was last week. Here is is again, this patch was generated for the version in CVS from last week. And even though I have submitted this patch numerous times, it still isn't in CVS.

[castor-dev] key-generator and threading fails

2002-02-11 Thread Brett Porter
Title: key-generator and threading fails Hi, Using Castor 0.9.3 (I've also tried the CVS version, but am still sticking to 0.9.3 for now), I've noticed that key-generation (at least with MAX) will consistently fail under race conditions. I'm using MySQL. ie a whole lot of these: java.sql.SQ

Re: [castor-dev] Castor patch to generate Java2 Collections ArrayList code instead of Array []

2002-02-11 Thread TimothyReaves
Actually, that isn 't a good reason. Anytime anyone wants to 'maintain backwards compatibility' when better functionality is available is wrong. When there is nothing lost, or it can be done in such a way as to allow concurrent version support, fine. But to maintain old, outdated API's ju

Re: [castor-dev] Schema support

2002-02-11 Thread Robert Ollila
see the source generator docs (SourceGeneratorUser.pdf) section 2.3 -Original Message- From: Stefan Burkhardt [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 7:35 AM To: [EMAIL PROTECTED] Subject: [castor-dev] Schema support Hi, is there a list which Schema elements are supp

[castor-dev] Schema support

2002-02-11 Thread Stefan Burkhardt
Hi, is there a list which Schema elements are supported and which are unsupported in Castor. For example somthing like "restriction base" under a "simpleType" Thanks Stefan -- T-Systems ITS GmbH Stefan Burkhardt Address: Erich-Herion-Str. 11-13, D-70736 Fellbach, Germany Postal address: Postf

[castor-dev] OQL on dependend class

2002-02-11 Thread Müller, Heiko
Hi all, did anyone know, how to query a dependend class (Person depends on Firma) with an oql-query? Perhaps it isn´t possible, to query direct an dependend class? The following query at the firma works fine: OQLQuery oql; oql = myDB.db.getOQLQuery("select f from myApp.firma f");

[castor-dev] Rép. : Re: [castor-dev] JDO and datasources

2002-02-11 Thread Sylvie RAMON
Ok, i try it and it's ok. It didn't work because the datasource was incorrect. Thanks to everybody for your help Sylvie. >>> [EMAIL PROTECTED] 01/02/02 12:55:21 >>> Why not use the JNDI name of the datasource in your app server? For example, in JBoss I have defined a datasource called SQLServe

Re: [castor-dev] ECCN number and Export License Symbol

2002-02-11 Thread Keith Visco
Hi Mette, I know Arnaud responed directly to you, but I will give a brief response to the benefits of any one who might be interested in this topic. First let me start by saying I have no idea what the process is for classifying Castor for export purposes. I think it's safe to say that Castor

[castor-dev] Ordered m:n relations

2002-02-11 Thread Alex Grivnin
Hello, Is it possible to order many-to-many relations? If for example there are tables A and B and their m:n relations are described by the table A_B. The classes C_A and C_B are mapped to the A and B tables respectively. In addition the C_B objects should be retrieved in certain order, that is