Re: [castor-dev] Castor 0.9.4 and Next Release information

2001-12-04 Thread Thomas Yip
Thank for the reminder. Almost forgot about it. Thomas -Original Message- >From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] >Sent: Sunday, December 02, 2001 4:41 PM >To: [EMAIL PROTECTED] >Subject: Re: [castor-dev] Castor 0.9.4 and Next Release information > >Hi, > >I missed this me

Re: [castor-dev] XML mapping

2001-12-04 Thread Keith Visco
"Sin Chada, Veerpal" wrote: > > I have problem, how to.. > > i have XML file below > - > - > adha > erpal > NY > USA > East Indian > 12 ekta avenue > circular road > 1912:8181 > > - > Cdhaf > rpadfl > NY > USA > Indian > 12 ekta avenue > circular road > 19

Re: [castor-dev] simple question about SourceGen

2001-12-04 Thread Keith Visco
I just tested this against the CVS, it appears that it's a bug. As a workaround it does work if you fully qualify your type: for example: I'm currently working on the Schema Object Model so I will fix this properly in the CVS shortly. Thanks, --Keith A Yang wrote: > > Hi, > > Can a

[castor-dev] XML mapping

2001-12-04 Thread Sin Chada, Veerpal
I have problem, how to.. i have XML file below - - adha erpal NY USA East Indian 12 ekta avenue circular road 1912:8181 - Cdhaf rpadfl NY USA Indian 12 ekta avenue circular road 1912:8181 i have patient class public class PatientDO {

Re: [castor-dev] simple question about SourceGen

2001-12-04 Thread Keith Visco
Andy, Which version of Castor are you using? Have you tried the CVS version? Thanks, --Keith A Yang wrote: > > Hi, > > Can anyone tell me what the following exception means? > I'm trying to run sourcegen off of an existing XML > Schema file. > > Exception in thread "main" > java.lang.Ille

[castor-dev] simple question about SourceGen

2001-12-04 Thread A Yang
Hi, Can anyone tell me what the following exception means? I'm trying to run sourcegen off of an existing XML Schema file. Exception in thread "main" java.lang.IllegalArgumentException: getSimpleType: th e simple type 'ID' has not been declared in XML Schema namespace. at org.exolab.cast

Re: [castor-dev] JDO: Object Cache and JNDI...

2001-12-04 Thread Oliver Hutchison
why do you bind the JDO object to JNDI? its easier to just use a helper class like the following. it would need to be changed to support rebind but that's trivial. or have i missed something? class JDOHelper { private static final JDO _jdo = _loadJdo(); public static Database ge

Re: [castor-dev] JDO Configuration

2001-12-04 Thread Kevin . Lanaghan
If you're not familar with "Ant" -- below is a modified build.xml file which can be used to compile the cvs release. The build.xml is used by ant to compile all of your stuff. Either you can include the jars specified in the kpath property in your class path or modify the script below. Docume

[castor-dev] Documentation

2001-12-04 Thread Gerard Mason
Pardon me, but could anybody tell me where the /real/ documentation is? I don't count the stuff in the doc subdirectory, since it only seems to be of use in one of two cases: you're browsing for an approach ("yeah, we do jdo!") and aren't interested in the details, or you already know how to use C

Re: [castor-dev] JDO Configuration

2001-12-04 Thread Robert Quinn
the runtime windows distribution (Castor JARs, docs, DTDs, command line tools and examples... castor-0.9.3.zip) doesn't contain the "build" script. download the source distribution (castor-0.9.3-src.zip) and then you run the "examples" target. it'll rebuild the source but ... --- Bruce Snyde

[castor-dev] dynamic mapping

2001-12-04 Thread Peter T. Brown
Retrieving an object with many (7+) many-to-many links takes quite a while. Is there anyway to have castor ignore those parts of the mapping that I don't need at a particular time? Like some sort of dynamic mapping capability so that the long JOIN select is shortened. Enabling lazy loading would

Re: [castor-dev] JDO: Object Cache and JNDI...

2001-12-04 Thread Kevin . Lanaghan
I was wondering about this as well.Also, does binding a single jdo to the jndi pretty much eliminate the benefits of having a connection pool.

[castor-dev] UNSUBSCRBE

2001-12-04 Thread Jean-François Brassard
Jean-François Brassard Nurun inc. -Message d'origine- De : Arnaud Blandin [mailto:[EMAIL PROTECTED]] Envoyé : Tuesday, December 04, 2001 1:07 PM À : [EMAIL PROTECTED] Objet : Re: [castor-dev] Source Generator Hi Richard and others Source Generator binding file fans, The first versio

[castor-dev] JDO: Object Cache and JNDI...

2001-12-04 Thread Mutchler, Scott
I have some stateless Session Beans that use JDO.  I want to bind (and rebind) the JDO object to JNDI. However, it appears that as soon as I do that... long transactions stop working.  Is it possible that when I bind the JDO object the object cache is wiped out (I am using WebLogic 5.1)?  Pe

Re: [castor-dev] SourceGenerator for cloneable object incl. deep copy support

2001-12-04 Thread Arnaud Blandin
Hi Vincent, It is definitely on the to-do list, you can take a look at the code that is written to generate the equals() method in SourceFactory, it should be a good start. Arnaud -> -Original Message- -> From: Rycx, Vincent [mailto:[EMAIL PROTECTED]] -> Sent: Tuesday, December 04, 2001

Re: [castor-dev] Castor Validation

2001-12-04 Thread Arnaud Blandin
Hi, Which version of Castor are you using, the validation property should definitely work on the CVS version. Maybe you are using a validating parser, are you sure you turn validation off for the parser? If you still face the problem, please provide a small test case so that we can reproduce y

Re: [castor-dev] Source Generator

2001-12-04 Thread Arnaud Blandin
Hi Richard and others Source Generator binding file fans, The first version of the binding file is ready but it needs to be tested and reviewed internally, I can't promise you anything but I think it should enter the CVS just before Christmas :+). The Binding-File is a configuration file that w

[castor-dev] deleting objects with many-to-many-relation

2001-12-04 Thread Jan Kanzleiter
hi, what have i done wrong? i created a mapping with many many-to-many relations. if i want to delete an object with many-to-many-relation i get the following exception: java.lang.NullPointerException at org.exolab.castor.persist.ClassMolder.markDelete(ClassMolder.java:2400) at o

Re: [castor-dev] castor jdo & ibm websphere

2001-12-04 Thread Gabor Dolla
Dear Patrick,, > Here's an example from the archives on how to do it with weblogic. Only > catch is a transactional datasource has to be used. Have you seen this ?? websphere != weblogic with weblogic you can lookup transactionmanager with jndi with websphere I can not Gabor

Re: [castor-dev] castor jdo & ibm websphere

2001-12-04 Thread Kevin . Lanaghan
Here's an example from the archives on how to do it with weblogic. Only catch is a transactional datasource has to be used. Have you seen this ?? Hi Patrick, The following works (on Weblogic 5.1 sp 10) START package top.secret.config. import java

[castor-dev] 1-n-relation in the same table

2001-12-04 Thread Jan Kanzleiter
hi, i am a newbie to castor. my problem is: i want to have a one-many-relation i one table. the insert into the table is successful but the select returns a vector with null entries. in the mailinglist-archive i read that the actual cvs would resolve my problem, but the compilation fails. he

[castor-dev] SourceGenerator for cloneable object incl. deep copy support

2001-12-04 Thread Rycx, Vincent
Hi, I need to be able to perform deep copy of Castor objects tree. Is the "cloneability" support already foreseen for a future release ? If not, I will be glad to contribute to the project by adding this support to the source generator. Someone else is interested in cloning castor objects ? Kei

Re: [castor-dev] another bug fix(how do I check it in?) diff for patch

2001-12-04 Thread Thomas Yip
The patch is committed. Thank Todd Rader and Dominik for your bugs reporting and patching. Thomas -Original Message- >From: Dominik Baranowski [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, November 27, 2001 4:18 PM >To: [EMAIL PROTECTED] >Subject: Re: [castor-dev] another bug fix(how

Re: [castor-dev] bug in CVS version

2001-12-04 Thread Thomas Yip
Title: bug in CVS version   Committed into the cvs.     Thank a lot for your patient.         Thomas   -Original Message- >From: Thomas Yip [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, November 28, 2001 12:57 AM >To: [EMAIL PROTECTED] >Subject: Re: [castor-dev] bug i

Re: [castor-dev] BugFix: Timestamp type support

2001-12-04 Thread Thomas Yip
Added. Thomas -Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Markus Fritz >Sent: Friday, November 09, 2001 8:01 AM >To: [EMAIL PROTECTED] >Subject: [castor-dev] BugFix: Timestamp type support > >Hi, > >i need Timestamp type fields and realized that t

Re: [castor-dev] Bug in object deletion with lazy loading

2001-12-04 Thread Thomas Yip
The bug is fixed. And, tests are added to avoid reoccurrence in the future. Thank for reporting. For faster response in the future, please remember to make us test cases base on the existing tests and send us the diff. Thomas -Original Message- >From: Tim Fox [mailto:[EMAIL PROTECTED

[castor-dev] Castor Validation

2001-12-04 Thread Moonyoung Chung
When marshaling or unmarshaling, I want not to validate xml or binding classes. I've also used to setValidation function. But, it doesn't work. So, I set variable "validate" to "false" in Marshaller and UnmarshalHandler: it works in marshal(), but not in unmarshal(). What can I do to tu

[castor-dev] Äcastor-devÜ ignore xml-elements possible?

2001-12-04 Thread Fuhrmann Peter
Hi Keith, you are right. Fortunately, I'd seen your comment before I started to try the trick... Are there any plans when the "container element feature" will be available? Thanks, Peter -Ursprüngliche Nachricht- Von: Keith Visco [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 29. Nov

Re: [castor-dev] Transaction Problem

2001-12-04 Thread Thomas Yip
    Any error happens during commit() will cause the transaction to be rollback() automatically. It is expected.   Your catch clause call rollback() again, after it was done automatically. It is why TransactionNotInProgressException is thrown.   It is not a Castor problem.      

Re: [castor-dev] Transaction Problem

2001-12-04 Thread yangj
I test it using the latest code from CVS. The test case is very simple: When I update  a data with null which DB  do not permit null. So when commit is called SQL Exception happened, Then rollback is called , At that time TransactionNotInProgressException rise out. I think it is just db can n