[castor-dev] Castor configuration in WebLogic

2001-11-14 Thread pherber
Good morning, I already wrote about the problems I'm experiencing with transactions using Castor with WebLogic. First of all, thanks to all who wrote me. Unfortunately I've still have this problem so I want to post my question using other words: Does somebody know how to configure the JDO object

[castor-dev] Unmarshalling unknown java

2001-11-14 Thread S.H.Kinder
Apologies if this is off the development thread or a dumb question. I'm new to castor and am investigating whether it can do the job for me. It seems a good way to extract data from xml in principle. I have succeeded in defining some simple xml and schema to allow me to unmarshal a known object t

Re: [castor-dev] Anyone know of any performance issues with Casto r?

2001-11-14 Thread Li, Alex
Title: Anyone know of any performance issues with Castor? I evaluated both Visual BSF and FrontierSuite before we finally choose Castor ( actually also JDX, ModelMothods, ObjectDriver, ObjectSpark, ObjectBridge, Cocobase etc. ). Most products are far away from what Castor can do, or going to

Re: [castor-dev] Unmarshalling BigDecimals

2001-11-14 Thread Weisberg, Robin
I started developing using castor 0.9.3 about a week ago. I was experiencing the same problem that was described in this e-mail from Colin: http://castor.exolab.org/list-archive/msg05919.html. I didn't see any response to this so I took a quick look and managed to get this to work making a really

Re: [castor-dev] Mapping question (coupling problem)

2001-11-14 Thread Keith Visco
According to your input XML, the only thing you need is your Appointment class. So unmarshal and marshal to this class. You can then manually set your Request and Message in your own code such as: //-- setup Unmarshaller Unmarshaller unmarshaller = new Unmarshaller(Apppointment.class); unmarsh

Re: [castor-dev] Anyone know of any performance issues with Castor?

2001-11-14 Thread Green, Nathan
I cut our processing time from ~40 minutes to ~2 minutes using Castor's XML unmarshalling combined with the SourceGenerator and a bunch of handling code. And that's just for a single XML file. In short, no complaints here. -Nathan DISCLAIMER: The opinions expressed herein are my own and not n

[castor-dev] Mapping question (coupling problem)

2001-11-14 Thread Agustinus Tedja
Hi all, I am just using Castor 0.9.3 and it is interesting to use and to apply. However I have a problem with mapping file. From previous posting, it seems that Castor maintain a tight coupling between XML and corresponding Java objects. The problem happens because I need to map XML which has no d

Re: [castor-dev] Anyone know of any performance issues with Castor?

2001-11-14 Thread Richard Holmes (ENZ)
Title: Anyone know of any performance issues with Castor? ...especially whether Visual BSF or FrontierSuite (persistJ) might be a lot better all round.  BTW anyone used either of those?  (But the cost is a big problem for us...)   Cheers, R :)   -Original Message-From: Richard Holmes

[castor-dev] Anyone know of any performance issues with Castor?

2001-11-14 Thread Richard Holmes (ENZ)
Title: Anyone know of any performance issues with Castor? Guys - We're still evaluating Castor and are wondering if anyone has found any places where Castor's performance is a bit slow and can't be worked around.  I can see that basic operations like loading and saving seem to work quite qui

Re: [castor-dev] Multi-threading problems, please help

2001-11-14 Thread Thomas Yip
-Original Message- >From: Thomas Yip [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, November 14, 2001 12:03 PM >To: [EMAIL PROTECTED] >Subject: Re: [castor-dev] Multi-threading problems, please help > > >Ned, > >I took a note on the problem you reported. However, I don't have time take a

Re: [castor-dev] [PATCH] XML Schema SourceGenration for elements with maxOccurs >1

2001-11-14 Thread Glenn Nielsen
Hi Kieth, Yeah, I have run into this before. I wrote the Java SecurityManager implementation for Tomcat which required Java 2, yet Tomcat 3.x had to maintain compatability to both compile and run under JDK 1.1. It was a real pain implementing support for that. Java 2 is becoming pretty ubiquito

Re: [castor-dev] Error with mapping ?

2001-11-14 Thread Thomas Yip
  The problem was fixed to the cvs, I believe.     Thomas     -Original Message- >From: Frédéric Augé [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, November 14, 2001 6:39 AM >To: [EMAIL PROTECTED] >Subject: Re: [castor-dev] Error with mapping ? > >Hi, > >I had the sam

Re: [castor-dev] Multi-threading problems, please help

2001-11-14 Thread Thomas Yip
Ned, I took a note on the problem you reported. However, I don't have time take a deeper note right the way. I am sorry. Thomas -Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ned Wolpert >Sent: Wednesday, November 14, 2001 8:26 AM >To: [EMAIL PROTE

[castor-dev] JDO Mapping question

2001-11-14 Thread Jérôme BERNARD
Hi! I would like to know the name of the column a java property is bound to. For example, let's suppose I have the following mapping: Using the Mapping object, then the Resolver, and getting t

Re: [castor-dev] [PATCH] XML Schema SourceGenration for elements with maxOccurs >1

2001-11-14 Thread Keith Visco
Hi Glenn, We can't use your patch at this point. The reason we haven't done this ourselves is that the due to some of our users, the Marshaller needs to be JDK 1.1 compliant. We will be adding a way to directly support JDK 1.2 collections, without breaking the JDK 1.1 compliancy. JDK 1.2 colle

[castor-dev] Reference to an object not persisted

2001-11-14 Thread Jacek Kruszelnicki
Hi, My object model is: Company has BusinessUnits. A BusinessUnit has Probes. I need to add a Probe to a BusinessUnit. A Probe must have a reference to a MonitoringTool. COMPANY | | depends | | BUSINESSUNIT |

Re: [castor-dev] Nov 14 snapshot compilation error: SQLTypeConvertor is abstract

2001-11-14 Thread Jakob Braeuchi
hi, the constructor SQLTypeConvertor( Class fromType, Class toType ) is private. simply remove the private keyword and it will compile. jakob - Original Message - From: "BEDNARIK,LASLO (HP-Germany,ex1)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 14, 2001 11:1

[castor-dev] Multi-threading problems, please help

2001-11-14 Thread Ned Wolpert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Folks- I sent in an example a couple of days ago about a problem with Castor in multi-threaded environments, which seem connected to lazy collections. After more testing, the problem in a high-load environment seems to crop-up possibly due to cach

Re: [castor-dev] [PATCH] XML Schema SourceGenration for elements with maxOccurs >1

2001-11-14 Thread Glenn Nielsen
Attached is an updated patch for elements with maxOccurs > 1 which switches the public {type} [] get method to public ArrayList get. Regards, Glenn Glenn Nielsen wrote: > > Attached is a patch which switchs the code generated for a get to > return an ArrayList instead of converting the ArrayL

Re: [castor-dev] minOccurs="0" --> fieldValidator.setMinOccurs(1); ??

2001-11-14 Thread Sumev
Sorry, it was my mistake put minoccur attribute at wrong place so it was takin default one which is 1! -Original Message-From: Sumev [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 13, 2001 4:46 PMTo: [EMAIL PROTECTED]Subject: [castor-dev] minOccurs="0" --> fieldValidator

Re: [castor-dev] Error with mapping ?

2001-11-14 Thread Frédéric Augé
Hi,I had the same problem. You have to refetch objects to update/delete =them between the begin/close on your database object.Objects are not persistent out of the begin/close area.Hope this helps.-- Frédéric Augé - mailto:[EMAIL PROTECTED]Ingénieur d'études et développementSociété IMPROVE -

[castor-dev] Error with mapping ?

2001-11-14 Thread Federico E. Carpi
Hi.   This is a part mapping file:             type="integer" direct="true" get-method="getIdRegion" set-method="setIdRegion" required="true">        type="java.lang.String" direct="true" get-method="getNombre" set-method="setNombre"

[castor-dev] Nov 14 snapshot compilation error: SQLTypeConvertor is abstract

2001-11-14 Thread BEDNARIK,LASLO (HP-Germany,ex1)
Hi, I get the following error when I try to compile the Nov 14 snapshot with Java 1.2.2 under WinNt4.0. The first error is a seperate one (FactoryState) but after that I get lots of errors about the SQLTypeConvertor (~80). Any hints ? Thanks, Laslo main: [javac] Compiling 500 source file