[castor-dev] beginner/ need suggestion on how to proceed with XML to Java mapping

2002-01-02 Thread Marco . Mistroni
hi all, i am a beginner with Castor. Issue that i have to face is XML to Java mapping for my application. My application consists of different EJB running on WLS and one DispatcherEJB which forwards the request to the correct EJB. Flow of action is Client>Dispatcher--->EJB Now, here

[castor-dev] Calling Store procedures

2002-01-02 Thread Basava Dodd
Hi, I have a class with one integer field and I am trying to call the store procedure that has a select with one column to populate this class. I am get an error saying jdo.PersisrenceException: Complex type not accepted. I managed to put some prints and found that the value I get from the SQLEn

[castor-dev] [Fwd: Example of Castor DTX required]

2002-01-02 Thread Mohamed Idrees
Original Message Subject: Example of Castor DTX required Date: Sat, 29 Dec 2001 11:54:10 +0800 From: Mohamed Idrees <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] hi, I am very much new to Castor. From my understanding, Castor DTX can be used to transform directly from RDBMS to X

[castor-dev] Does caching improve read performance?

2002-01-02 Thread Jackson, Scott M
Hello , >From what I have been able to read, if castor does an oqlquery on an object (thereby caching it from the database), the next time a similar read is done should be from the cache, thereby significantly enhancing read performance. I have benchmarked multiple SELECTs on the same object with

Re: [castor-dev] jboss-castor

2002-01-02 Thread Ryan Marsh
Yah, I've got a snapshot of the code and I'm trying to work with it. Shoot me an email, maybe we can work together on this. -ryan On Wed, 2002-01-02 at 12:38, Matthew Baird wrote: > I noticed that the old jboss-castor mbean doesn't work with the latest > edition of jboss (2.4.4) Some classes cha

[castor-dev] jboss-castor

2002-01-02 Thread Matthew Baird
I noticed that the old jboss-castor mbean doesn't work with the latest edition of jboss (2.4.4) Some classes changed names or were removed from jboss. Is anyone working on a new, maybe RAR type, adapter for castor in jboss? m --- If you wi

Re: [castor-dev] Problem with transactions when using JBoss + CastorJDO

2002-01-02 Thread Bruce Snyder
This one time, at band camp, Alex Ryltsov said: AR>Then I try to commit the transaction in the client. The bean transaction attribute is Mandatory and it must join the client transaction. AR> AR>The problem is that when the exception is thrown in the second call in the bean and therefore I try

Re: [castor-dev] JDO: update() & relations

2002-01-02 Thread Bruce Snyder
This one time, at band camp, Michael Mok said: MM>How do you enable auto store in your code? Can you post a small code sample? Michael, I didn't see a followup to your last question so I figured I help out. See org.exolab.castor.jdo.Database.setAutoStore(boolean autoStore) Example: db =

Re: [castor-dev] Stripping down the jars to minimum! not spamming.

2002-01-02 Thread Bruce Snyder
This one time, at band camp, Deepak Pai U. said: DPU>I wish to use only the java source code generation using XSD in my project. Is there a way i can strip the complete package to just the ones i need? I use already a bunch of jar files and do not wish to add something to my app if there is no

[castor-dev] Jdo and LDAP

2002-01-02 Thread Alex Grivnin
Hello, On the list, I found a post from Thomas Yip about JDO’s data store for LDAP services. In my project I require Java to LDAP mapping facilities. If it is possible and it is not a huge project I would consider writing part of it or whatever is required to implement such functionality. Does

[castor-dev] naming style doesn't default to "lower"

2002-01-02 Thread Robert Ollila
Hi all, The castor.properties file has the "org.exolab.castor.xml.naming=" parameter which is supposed to default to "lower" (e.g. java class personInfo = person-info in xml). For some reason my "personInfo" java class/member always defaults to the same representation in xml as the java clas

[castor-dev] simple question from a beginner /2

2002-01-02 Thread Marco . Mistroni
hi all, i posted the following question and i realize afterwards that i made a mistake. the structure that i want to use is actually a java.util.Map, in which i put elements that then i can retrieve by name. Using a Collection instead will force me to loop thru all the elements to check

[castor-dev] FW: simple question from a beginner

2002-01-02 Thread Marco . Mistroni
hi guys, i have just joined the list. i am very interested in any XML2Java binding framework, and i have just ran into Castor. I have one question to ask: in almost all the examples of XML2java binding from different products, the case represented is always the same: a javabean wit