[castor-dev] Feature Comparison Chart Torque, Castor, JRF

2002-01-04 Thread Ian Lim
Hi I have done up a features comparison chart on Torque, Castor JDO and JRF. The url is available as below: http://www.webappcabaret.com/mallim/main/template/omcompare.vm The response time is a bit slow. So might take a bit of time to see the page rendered. If there are other features which I

Re: [castor-dev] Extending from a different package with SourceGen

2002-01-04 Thread Keith Visco
Hi John, You need to also map your packages to their respective namespaces in castorbuilder.properties file. --Keith John Seybold wrote: > > OK, thanks Keith, using "import" instead of "include" nearly solves my > problem. I can generate the classes to the right packages, BUT, the derived >

Re: [castor-dev] Extending from a different package with SourceGen

2002-01-04 Thread John Seybold
OK, thanks Keith, using "import" instead of "include" nearly solves my problem. I can generate the classes to the right packages, BUT, the derived class extends an unqualified base class. I see: Public class A1 extends A What I need is: Public class A1 extends base.entity.A Is there a way t

Re: [castor-dev] Does caching improve read performance?

2002-01-04 Thread Thomas Yip
If the object is in the same transaction, the exisiting object will be returned. If the object is in the cache, but not in the same transaction, a java object is instantiated using the cached values. If not, object is instantiated and value is loaded from the database. Thomas -Original Mes

Re: [castor-dev] Does caching improve read performance?

2002-01-04 Thread Matthew Baird
does the OQL query re construct the objects from the database, or just look them up based on identity and build them only if needed? -Original Message- From: Thomas Yip [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 4:11 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] Does c

Re: [castor-dev] JDO: mapping of array collections

2002-01-04 Thread Thomas Yip
Array is not supported by Castor JDO. Thomas -Original Message- >From: Gerhard Hipfinger [mailto:[EMAIL PROTECTED]] >Sent: Friday, December 21, 2001 3:41 PM >To: [EMAIL PROTECTED] >Subject: [castor-dev] JDO: mapping of array collections > >Hi! > >I got the following exception, when I

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

2002-01-04 Thread Thomas Yip
I don't think we are developing on DTX. The code is there waiting for somebody to pick it up. Happy new year. Thomas -Original Message- >From: Mohamed Idrees [mailto:[EMAIL PROTECTED]] >Sent: Friday, December 28, 2001 7:54 PM >To: [EMAIL PROTECTED] >Subject: [castor-dev] Example of

Re: [castor-dev] Jdo and LDAP

2002-01-04 Thread Thomas Yip
See inline. -Original Message- >From: Alex Grivnin [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, January 02, 2002 7:50 AM >To: [EMAIL PROTECTED] >Subject: [castor-dev] Jdo and LDAP > >Hello, > >On the list, I found a post from Thomas Yip about JDO's data store for LDAP >services. In my pr

Re: [castor-dev] Does caching improve read performance?

2002-01-04 Thread Thomas Yip
OQLQuery always goes to the database, because there is no easy way to tell if all rows interested visible to current transaction are already in cache. For simply data object model, which has no relationship, it is expected to have similar timing. Thomas -Original Message- >From: Jack

Re: [castor-dev] Inheritance - Map two classes to One table

2002-01-04 Thread Thomas Yip
No -Original Message- >From: Agarwal, Piyush [mailto:[EMAIL PROTECTED]] >Sent: Thursday, January 03, 2002 7:35 AM >To: [EMAIL PROTECTED] >Subject: [castor-dev] Inheritance - Map two classes to One table > > >Is it possible to map two classes to one table. >( i.e. Super and the Sub Class

Re: [castor-dev] Inheritance Problem

2002-01-04 Thread Thomas Yip
See inline. -Original Message- >From: Agarwal, Piyush [mailto:[EMAIL PROTECTED]] >Sent: Thursday, January 03, 2002 1:13 PM >To: [EMAIL PROTECTED] >Subject: [castor-dev] Inheritance Problem > >Hi, >I have a case in which there is a superclass PROD and 2 subclasses COMPUTER >and TELEVISION

Re: [castor-dev] Primary Key set by Trigger

2002-01-04 Thread Thomas Yip
  What you need is to specify a key generator in the mapping.   http://castor.exolab.org/key-generator.html       Thomas     -Original Message- >From: Jean-Noël WALLEZ [mailto:[EMAIL PROTECTED]] >Sent: Friday, January 04, 2002 7:02 AM >To: [EMAIL PROTECTED] >Subject:

Re: [castor-dev] Extending from a different package with SourceGen

2002-01-04 Thread Keith Visco
Hi John, You are using "include" instead of "import". Change your schema to use "import" and then declare the namespace for the imported schema and castor should work properly with your different packages. "include" basically "inlines" all the structures from the included schema as if they ex

[castor-dev] Extending from a different package with SourceGen

2002-01-04 Thread John Seybold
I'm trying to use SourceGenerator to generate classes according to a specific package structure.  Our application consists of a number of base classes, and then vertical-market extensions living in their own packages.  For example, we have a package base.entity which contains base classes A

Re: [castor-dev] Can Biztalk xml schema be input to Castor?

2002-01-04 Thread Keith Visco
You might want to use an XSLT stylesheet to convert your Biztalk Schema to a W3C XML Schema. >From the look of the Biztalk Schema it should be straight forward to do so... --Keith "Bhatt, Vijay" wrote: > > Is it possible to take a Biztalk xml schema as an input to Castor for > generating Java

Re: [castor-dev] loading castor.jar as an extension: ClassLoader problems

2002-01-04 Thread Aleksandar Milanovic
My 2 cents: castor.jar is another library and therefore it is Ok to put it in the class path with other libraries. This argument is further strengthened by your problems. Unfortunately, I can't help you with your problem but I do wonder why you're bothering with it at all. Why don't you do class l

[castor-dev] Subclass is not loaded from database

2002-01-04 Thread Eckhard Schindler
Im beginning with Castor and have a problem with loading instances of an inherited class from the database via a generic Vector. My classes are the following: Product (generic class, table PRODUCT) Computer extends Product (table COMPUTER) ProductSuite (table PRODSUITE) - has a Vector of Produ

Re: [castor-dev] XML Schema Validation: returning the field name in the exception

2002-01-04 Thread Joyce Wong
Hi Arnaud, Um... I'm not sure what you mean by i18n process but anyways... I must apologize because I think I must have said something to mislead you. My proposed changes would not cause Castor to *rely* on any external files. Rather, they would merely allow ValidationException to provide mo

[castor-dev] loading castor.jar as an extension: ClassLoader problems

2002-01-04 Thread Youri Canetti
Adding castor.jar as yet another library has triggered in our project a new strategy for loading the libraries: instead of adding them in the classpath (which tends to grow indefinitely for large projects), we decided to use the "-Djava.ext.dirs" command-line option of the JVM. We keep on using th

[castor-dev] Primary Key set by Trigger

2002-01-04 Thread Jean-Noël WALLEZ
I'm testing castor with Oracle 817. I want to insert data into a table with a primary key generated with a trigger and a sequence. When I insert data without setting the identity ( oracle's trigger will do it for me ) I got an DuplicateIdentityException. Do I have to select next sequence numbe

[castor-dev] deep clone

2002-01-04 Thread Tauseef Israr
Hello Everyone, Is there a way Castor produces a deep clone method. I understand by going over the messages posted that there was an effort in June/July 2001 but I am not sure if it succeeded. regards and thanks Tauseef begin:vcard n:Israr;Tauseef A. x-mozilla-html:FALSE org:Webmotion Inc.

Re: [castor-dev] Can Biztalk xml schema be input to Castor?

2002-01-04 Thread Arnaud Blandin
Hi, Castor is only supporting the W3C XML Schema and DTD and doesn't support other schema languages. You may want to use a tool to convert the biztalk schema into W3C schema (BTW W3C schema is perhaps more complex but also way more powerful;)). Arnaud -> -Original Message- -> From: Bhat

[castor-dev] Can Biztalk xml schema be input to Castor?

2002-01-04 Thread Bhatt, Vijay
Is it possible to take a Biztalk xml schema as an input to Castor for generating Java classes? If not than how does one go about making Biztalk schema Castor compliant? I have included a sample uncomplete piece of a Biztalk schema. ==

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

2002-01-04 Thread Marco . Mistroni
hi Arnaud, if i follow the approach of the mapping file, but i am having problems in understanding it. Ok, according to the docs and to what u said, i must define my SimpleAttribute as follows, right? .. but i am missing some points: how can i then retrieve the fo

[castor-dev] load of map file hangs up forever!

2002-01-04 Thread Marco . Mistroni
hi all, i am trying to use a mapping file. following is my code Mapping mapping = new Mapping(); String str = "file:d:\\FalcoDevelopment\\mapping.xml"; java.net.URL url = new java.net.URL(str); System.err.println("loading mapping file..."); mapping.loadMapping(url); System.err.println("Cr

[castor-dev] Mapping Problem ?

2002-01-04 Thread Norman Schöneich
hello, how do i make a mapping file for the following problem: Class A has 0..* PARAM Class B has 0..* PARAM normally i would create a tableschema like this table A 0..* relationship to table A_PARAM (column A_ID, PARAM_ID) with *..0 relationship to table PARAM AND table B 0..* relationshi