Re: [castor-dev] How to describe SQL function as OQL

2001-11-30 Thread Hong Rae Cho
Dear Low Heng Sin.   Thank you for your kind reply.   I did my best to find example related SQL function with Castor JDO. I didn't evently find it.   Would you give me a example about SQL function?   Speaking in detail, I'd like to make OQL matching SQL like below, if p

Re: [castor-dev] How to describe SQL function as OQL

2001-11-30 Thread Low Heng Sin
Hi,   The current OQL implementation *DOES* support SQL function ( We have been using that for quite some time ) . What problem are u facing ?   Regards, Low -Original Message-From: Hong Rae Cho [mailto:[EMAIL PROTECTED]]Sent: Friday, November 30, 2001 10:45To: [EMAIL PROTECTE

[castor-dev] How to describe SQL function as OQL

2001-11-30 Thread Hong Rae Cho
Dear castor-dev.I'm Hong Rae Cho.I have developed a project with Castor JDO 0.9.3.Database is Oracle for linux.I'd like to use SQL function like TO_CHAR(), RTRIM() or User-defined functions.In Castor web site, OQL syntax is described simply How to use SQL function.I made a program as

[castor-dev] newbie question - DSML example experiencing a NullPointerException

2001-11-30 Thread Gilbert Pilz
Hi, I am just learning DSML and am playing with the DSML example. I'm seeing some behavior that I don't understand. The test program tries to import some from a test file into an LDAP directory, then export some entries from the same directory. If the entries that it is trying to import are alre

Re: [castor-dev] Castor and BMP Entity Beans (Weblogic) SOLVED

2001-11-30 Thread Shehryar Khan
changing the data source from weblogic.jdbc.DataSource to weblogic.jdbc.TXDataSource solved it. -shehryar -Original Message- From: Shehryar Khan [mailto:[EMAIL PROTECTED]] Sent: Friday, November 30, 2001 3:07 PM To: [EMAIL PROTECTED] Subject: [castor-dev] Castor and

Re: [castor-dev] JBoss issues again

2001-11-30 Thread Jacek Kruszelnicki
I don't either. Everything went nicely as long as I had dependent relationships (which I have a few). Then I hit the first problem with 1-1 references (related, not dependent)(with this list's help I found a workaround), and now 1-m relations (not dependencies). Arggh!! -- Jacek At 12:32 PM

[castor-dev] Castor and BMP Entity Beans (Weblogic)

2001-11-30 Thread Shehryar Khan
Hello Everybody, Here's our configuration - Weblogic 5.1 (sp10) - Castor Jar (from cvs) - Entity Beans (BMP) that use castor for persistence - container managed transactions - Required transaction attribute We're seeing that if our EJB rolls back a transaction (by throwing an E

Re: [castor-dev] JBoss issues again

2001-11-30 Thread Keith Chew SL
I dont' have a problem with 1:m relationship if I set dependent=true. Keith > -Original Message- > From: Jacek Kruszelnicki [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 1 December 2001 11:27 a.m. > To: [EMAIL PROTECTED] > Subject: [castor-dev] JBoss issues again > > > Hi, > > I reporte

[castor-dev] JBoss issues again

2001-11-30 Thread Jacek Kruszelnicki
Hi, I reported previously issues with Castor running in JBoss, in particular, not persisting the reference in a 1-1 relationship to the DB table. The workaround was: - turn off autostore - not to use key generators - use a newer mbean (thanks, Now I have another problem. I am trying to use 1:

Re: [castor-dev] PATCH for PostreSQL documentation bug

2001-11-30 Thread Thomas Yip
You patch is applied. Because there are a few strange character in the original files, and my patch program doesn't really like it. So, I copy and made the changes by hands. Please double check. And, I also updated the cvs.xml doc. Thank you very your contribution. -Original Message-

Re: [castor-dev] Source Generator

2001-11-30 Thread Keith Visco
"Davis, Richard" wrote: > > Thanks Keith, > > I got it working as you explained. I had to set > org.exolab.castor.builder.javaclassmapping=type so SourceGenerator would not > try to generate the class I refer to in the extra schema. > hmmm, I'll have to look into that. javaclassmapping=elem

Re: [castor-dev] Source Generator

2001-11-30 Thread Davis, Richard
Thanks Keith, I got it working as you explained. I had to set org.exolab.castor.builder.javaclassmapping=type so SourceGenerator would not try to generate the class I refer to in the extra schema. I'm pretty sure I know the answer to this question but just to verify I'm asking. Is there a way to

[castor-dev] xsi:schemaLocation in the xml file

2001-11-30 Thread Vikram Mahuvakar
How do I get the follwing namespace information from the book.xsd file in the xml file http://www.w3.org/2001/XMLSchema"; targetNamespace="http://www.xyz.com/test-2001";> I am generating xml file using sourcecode generated java classes Here is what it puts in the marshalled xml file. It

[castor-dev] Castor 0.9.4 and Next Release information

2001-11-30 Thread Keith Visco
Hi folks, This message is just to give everyone an update on the next release of Castor (version 0.9.4). We were working very hard to try and do a release by the end of this Month, but due the main developers all having too much work in the other parts of their jobs and the U.S. Thanksgiving ho

[castor-dev] Cloudscape

2001-11-30 Thread mehul . nariyawala
Hi Everyone, Does anyone know if Castor supports cloudscape database or not? I am using cloudscape as database to do some testing for castor for demonstration... currently, i am using it as generic jdbc. However, I was wondering if I would be able to persist objects in Cloudscape using this or

Re: [castor-dev]

2001-11-30 Thread Keith Visco
Chetan Rathi wrote: > > Hello, > > In order to handle back references, i have implemented the > reference="true" in the bind-xml tag. > > We have scenario : > > Auftrag class having 1:many relation ship with the auftrag position > class. > > The following is the mapping file excerpt as reag

Re: [castor-dev] Change in schema processing?

2001-11-30 Thread Keith Visco
Hi Ned, When you did your update did you recompile everything? I added some new types to the class "org.exolab.castor.xml.schema.Structure", which causes some of numbers for the Stucture types to change. I suggest doing a complete recompile of Castor and it should fix the problem. If it doe

Re: [castor-dev] Source Generator

2001-11-30 Thread Keith Visco
Hi Richard, Your extra schema needs to declare the namespace as such: http://www.w3.org/2001/XMLSchema"; targetNamespace="http://www.xyz.com/castor/schemas/test";> --Keith "Davis, Richard" wrote: > > Keith, > > I like this idea of importing the schema for my o

Re: [castor-dev] JDO class design constrained by RDBMS relational paradigm

2001-11-30 Thread Robert Ollila
Sorry, No help yet. Any help on this would be appreciated. Bob. -Original Message- From: Agarwal, Piyush [mailto:[EMAIL PROTECTED]] Sent: Friday, November 30, 2001 3:00 PM To: '[EMAIL PROTECTED]' Subject: RE: [castor-dev] JDO class design constrained by RDBMS relational paradigm Hi

Re: [castor-dev] XML Schema

2001-11-30 Thread Keith Visco
KRUMPOLEC Martin wrote: > > Hi, > > Do you have any plans to support union in schema package ? > Yes we do have plans for it... I already started working on it this week, as I am in the process of adding support for all currently unsupported Schema structures. It will be supported in the S