[castor-dev] mapping.xml location

2002-02-04 Thread Wap Brunei
I would like to place mapping.xml and database.xml under the WEB-INF of tomcat. how can castor locate the file without the full path so i can install tomcat in any directory? _ Get your FREE download of MSN Explorer at http://exp

Re: [castor-dev] NULL value is inserted instead of key value

2002-02-04 Thread Thomas Yip
Sorry, I assumed you understand the Castor JDO model. In Castor JDO, All reachable data objects must be loaded/queried/created within the same transaction. If you intended to use some object load/queried/create from any prior transaction, it is called long transaction. Each of those objects s

[castor-dev] SAXException: Error reading include file

2002-02-04 Thread Alexandre NOUVEL
Hello to all, I have defined the following xml schemas : ops.xsd that includes trf.xsd trf.xsd that includes ldc.xsd All the files are in the same directory (/home/nouvel/ProjetTI/src/test.xsd/) They all have the same targetNamespace, which is set to their public URL on the web http:/

Re: [castor-dev] Java Type for Oracle Number

2002-02-04 Thread Green, Nathan
I would recommend Integer, but it depends on what you are doing. -Original Message- From: Jean-Noel WALLEZ [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 8:33 AM To: [EMAIL PROTECTED] Subject: [castor-dev] Java Type for Oracle Number What java type do I have to use to map a

Re: [castor-dev] Castor extensibility: postprocess loaded objects

2002-02-04 Thread Eduard Mossinkoff
Look at the interface org.exolab.castor.jdo.Persistent. This interface provides the hooks you need. Let your classes implement this interface. Eduard Belugin Max wrote: > Hello castor-dev, > > I want to extend objects loaded with castor by myself. For example, i want to use my >own > collect

[castor-dev] update Transactions and ossociated classes that are Database.ReadOnly - Fundamental Understanding

2002-02-04 Thread Richard Lawson
Hi all, This should be easy for you more experienced castor developers. If I have a class, say Order that contains a collection of class Products then I would like to load the objOrder as Database.Shared since I will most likely want to commit a change. On the other hand, I will want to load it'

Re: [castor-dev] JDO and datasources

2002-02-04 Thread Kevin . Lanaghan
If you're using weblogic and have defined a datasource called WhiteboardDS then the following will work. Richard Lawson

Re: [castor-dev] JDO and datasources

2002-02-04 Thread Richard Lawson
Try this format, it works for me. http://castor.exolab.org/jdo-conf.dtd";> -rich -Original Message- From: Sylvie RAMON [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 3:01 AM To: [EMAIL PROTECTED] Subject: [c

Re: [castor-dev] Is there a workaround for this?

2002-02-04 Thread Bruce Snyder
This one time, at band camp, Jeff Hoare said: JH >Hi Bruce, JH >Is the a standard test case for the query function that I can run over my JH >changes? Jeff, There is no such test case for your particular situation. I would recommend looking at the tests in src/tests/jdo. You'll need to create t

Re: [castor-dev] postgresql and large objects

2002-02-04 Thread Ned Wolpert
Thank you for handling that. I'll update the test cases to a) make sure the right driver is available b) schema uses bytea and the docs so that others know that this can be done. Thanks again. On Sat, 2002-02-02 at 18:34, Jan Kanzleiter wrote: > hi, > > i only want to say thank you to all the

Re: [castor-dev] Automatic generation of mapping file

2002-02-04 Thread Robert Ollila
Luigi,   It looks like a simple classpath problem.  FYI, here is the command line I used to generate a mapping file with MappingTool:   java org.exolab.castor.tools.MappingTool -i  -o -Original Message-From: Luigi Celano [mailto:[EMAIL PROTECTED]]Sent: Monday, February 04, 2002

Re: [castor-dev] Automatic generation of mapping file

2002-02-04 Thread Luigi Celano
Hi Robert, I have tried the MappingTool but I get the following exception, do I need to set any properties somewhere? Thanks Luigi C:\GSD\classes>java org.exolab.castor.tools.MappingTool  com.hsbc.opsco.gsd.boorg.exolab.castor.mapping.MappingException: Nested error: java.lang.ClassNotFojav

[castor-dev] [JDO] Castor reads null value instead of char value

2002-02-04 Thread Christoph Kiehl
Hi, I have a problem with the following mapping: db: --- KONZERN_NR | CHAR(6) KONZERN_BEZEICHNUNG | VARCHAR2(50) mapping: class: -- public class Konzern { private String konzernNr; private String bezeichnung; public String getKonzernNr() { return konz

[castor-dev] Unsealing the examples or here and back again

2002-02-04 Thread Nacho Mayorga
Hi u all, I'm back again and, first of all, thanx Bruce for the tarball w/the distro. I've just arrived here, untarred 'em, tried to build the examples and...got the old sealing violation again. My Linux box is RH 7.2 and I've got JDK 1.3.1_01, just in case these data help. Do u think there coul

Re: [castor-dev] NULL value is inserted instead of key value

2002-02-04 Thread Bernecker Lothar
First of all I'd like to apologize for having asked a question which has obviously been asked before. I tried all the things described in the message below but I still have the same problem. I do not want to create a new Product with creating an Order (which implicitly creates OrderItems which w

Re: [castor-dev] Is there a workaround for this?

2002-02-04 Thread Jeff Hoare
Hi Bruce, Is the a standard test case for the query function that I can run over my changes? On Sun, 3 Feb 2002 08:25, Bruce Snyder wrote: > This one time, at band camp, Jeff Hoare said: > > JH >Hi Bruce, > JH >See my earlier post (the one after the first one :-) ). I fixed the > problem JH >(se

Re: [castor-dev] Instantiaing classes of the type SimpleTimeZone

2002-02-04 Thread Keith Visco
Hi Uddhav, We certainly see no reason not to support Calendar... It would be great if you could submit your changes using diff -u against the current CVS. Thanks, --Keith > Uddhav wrote: > > Hi Keith, > I found that Castor currently has support only for Date > and not for Calendar. Fo

[castor-dev] Castor extensibility: postprocess loaded objects

2002-02-04 Thread Belugin Max
Hello castor-dev, I want to extend objects loaded with castor by myself. For example, i want to use my own collections to represent one to many and other relationships. But nowadays there is no API to do such thing. Can anybody from Castor team provide and API to postprocess objects loaded from

[castor-dev] Instantiaing classes of the type SimpleTimeZone

2002-02-04 Thread Uddhav
Hi Keith,     I found that Castor currently has support only for Date   and not for Calendar. For Calendar it throws an   exception while instantiating a class SimpleTimeZone.   This class does not have a default no parmeter   constructor, and hence the unmarshaller fails to   instantiate i