RE: o.a.ojb.broker.PersistenceBrokerSQLException: Unknown Types value

2003-11-09 Thread Antonio Gallardo
Hi: Thanks! It works. I wondering why OJB does not support BOOLEAN, since it is a valid type for JDBC 3.0. Best Regards, Antonio Gallardo Gelhar, Wallace Joseph dijo: Hi Antonio, Try using BIT as the type. Wally Gelhar -Original Message- From: Antonio Gallardo Sent: Saturday,

Re: Use stored procedure for insert questions

2003-11-09 Thread Mark Berry
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 08, 2003 5:11 AM Subject: RE: Use stored procedure for insert questions Based on the configuration of the 'insert-procedure' descriptor that you provided earlier, here's the syntax of a

Question about getIteratorByQuery

2003-11-09 Thread A Leg
Hi When we use *getIteratorByQuery and .next(). * do we move throw the table following the index or in some random order ? If we go in random order, what is the best way (getting advantage of the cache) to iterate in a table following the index ? Thank's Andre

m:n mapping, referential integrity

2003-11-09 Thread Gunnar Hilling
Hello, I just tried m:n anonymous mapping, using xdoclet generated descriptors. Seems to work fine except it's possible to delete from object from one side of the relation whithout cascading or foreign key constraint being thrown althoug this is definetly a violation of the DB-Rules. This will

JDO over OJB - both metadata files?

2003-11-09 Thread Nick Ohanian
Hi- I have a question about using the JDO API with OJB. OJB requires the O/R mapping be stored in the repository.xml file. But when using JDO, class enhancement requires a package.jdo (or some other .jdo file) to specify the same mapping. These files store almost the exact same information,

Re: JDO over OJB - both metadata files?

2003-11-09 Thread Antonio Gallardo
Nick Ohanian dijo: Hi- I have a question about using the JDO API with OJB. OJB requires the O/R mapping be stored in the repository.xml file. But when using JDO, class enhancement requires a package.jdo (or some other .jdo file) to specify the same mapping. These files store almost the

RE: Persistence frameworks

2003-11-09 Thread Ken Brewer
I changed my client side gui application to Hibernate from db4o OODBMS. Hibernate seemed to work very well until I ran into the problem: Lazy collections cannot be accessed(throws exception) after a Session is closed. The Hibernate code stores a reference to the Session and you must explicity