Re: [castor-dev] postgresql and large objects

2002-02-02 Thread Jan Kanzleiter
hi, i only want to say thank you to all the people on the list who helped me with the postgresql and large object problem - it is resolved now. i use "bytea" instead of "oid" in postgresql 7.1.3. As jdbc-driver i use the jdbc7.2dev-1.2.har from jdbc.postgresql.org. the mapping for the field i

Re: [castor-dev] jxDBCon & PostgreSQL & Castor: Using

2002-01-30 Thread Jan Kanzleiter
hi, On Wed, Jan 30, 2002 at 03:14:45PM -0800, Ned Wolpert wrote: > --- Adam Sherman <[EMAIL PROTECTED]> wrote: > You can't really just switch between jdbc drivers since Castor expects > some behavior with the driver in some cases. (Last inserted oid, for > example) However, it may work for the

Re: [castor-dev] postgresql and large objects

2002-01-25 Thread Jan Kanzleiter
hi, On Fri, Jan 25, 2002 at 01:38:03PM +1300, Keith Chew wrote: > Oh yeah, I think I encountered this before. It's a JDBC driver problem. If > you look that the JDBC implementation, the version that you have got has > removed quite a number of types in the setObject(). ah, then an other jdbc driv

[castor-dev] postgresql and large objects

2002-01-24 Thread Jan Kanzleiter
hi, the next question: there is no blob-type in postgresql like in mysql. because of that normally you can use the type OID. how can i use this type in castor. (mapping.xml). thanks for helping me jan --- If you wish to unsubscribe fro

[castor-dev] limit-clause in oql

2002-01-17 Thread Jan Kanzleiter
hi, i am using castor 0.9.3.9 in the newest cvs-version with mysql. now i am wondering, if there is a way to use the LIMIT claus in oql. i tried the following: SELECT o FROM com.mycompany.lg.People o WHERE id > $1 LIMIT $2,$3 an i get this exception: java.lang.ArrayIndexOutOfBoundsException

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

2001-12-05 Thread Jan Kanzleiter
hi, ok, i found my problem: the collections in the classes where the realted objects are stored have to be initialised. sorry for all the mails. jan --On Mittwoch, 5. Dezember 2001 14:33 +0100 Jan Kanzleiter <[EMAIL PROTECTED]> wrote: > hi again, > > --On Dienstag, 4. Deze

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

2001-12-05 Thread Jan Kanzleiter
---- >> From: Jan Kanzleiter [mailto:[EMAIL PROTECTED]] >> Sent: Tuesday, December 04, 2001 8:04 AM >> To: [EMAIL PROTECTED] >> Subject: [castor-dev] deleting objects with many-to-many-relation >> >> hi, >> >> what have i done wrong? >> i created

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

2001-12-05 Thread Jan Kanzleiter
---- >> From: Jan Kanzleiter [mailto:[EMAIL PROTECTED]] >> Sent: Tuesday, December 04, 2001 8:04 AM >> To: [EMAIL PROTECTED] >> Subject: [castor-dev] deleting objects with many-to-many-relation >> >> hi, >> >> what have i done wrong? >> i created

[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

[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