Re: Strange error.../more info

2004-01-02 Thread Gunnar Hilling
Sorry folk, I think the reason was that I had Implicit Locking set to false... Perhapts nevertheless interesting to know the cause... Regards, -Gunnar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Rollback not working

2004-01-02 Thread Armin Waibel
Hi Gunnar, Gunnar Hilling wrote: When trying code i catch exception and do a tx.abort() when an error occurs. But when the error is caused by an SQLException during tx.commit() all changes done are written to the database... this is a real problem for me. Shouldn't the db-commit be all or nothing

out of memory

2004-01-02 Thread Gunnar Hilling
Hello, what can I do to prevent Out of Memory-Errors when working on large datasets? I tried to do tx.commit(); tx.begin(); after doing part of the (big) job, but I didn't succeed. Do I have to empty the Cache explicitly? What is recommended? I create the objects that cause the error in my

Re: out of memory

2004-01-02 Thread Gunnar Hilling
On Fri, 02 Jan 2004 16:21:06 +0100, Armin Waibel wrote: Hi, Gunnar Hilling wrote: Hello, what can I do to prevent Out of Memory-Errors when working on large datasets? I tried to do tx.commit(); tx.begin(); after doing part of the (big) job, but I didn't succeed. Do I have to empty

Repository Question

2004-01-02 Thread Carlos Chávez
Hi to all, I need to know if this is handle for OJB or how to be manage: I have a table which has a field that will be used like foreign key of several tables. This is the schema : CREATE TABLE table1 ( IDT1 INT4, ... PRIMARY KEY(IDT1) ) CREATE TABLE table2 ( IDT2

Re: XDoclet OJB module update

2004-01-02 Thread Brian Sam-Bodden
Thomas, Is there any place to find information about building the XDoclet OJB module? Thanks, Brian Thomas Dudziak wrote: I've made some changes to the module, more specifically to indexes, collections and anonymous references, so please test the new version and give feedback if some

Re: XDoclet OJB module update

2004-01-02 Thread Brian McCallister
In CVS there is a link the user docs to Thomas Dudziak's build and usage instructions. -Brian On Jan 2, 2004, at 3:33 PM, Brian Sam-Bodden wrote: Thomas, Is there any place to find information about building the XDoclet OJB module? Thanks, Brian Thomas Dudziak wrote: I've made some

Re: objects in cache after transaction abort

2004-01-02 Thread Armin Waibel
Hi Jair jr, Jair da Silva Ferreira Júnior wrote: Hi Armin, Thank you for your fast reply. hmm, this should not happend. Do you use checkpoint() or flush() in your code? This only could happens when the object was already in DB. Only the PersistenceBrokerImpl and RsIterator class push

Re: cache implementation change in rc5?

2004-01-02 Thread Armin Waibel
Hi Jair jr, Jair da Silva Ferreira Júnior wrote: Hi Armin, Thank you very much for your fast reply. it's a(/my) bug in ObjectCacheDefaultImpl (rc5) causing this strange behaviour. I will check in a fixed version tomorrow. Ok. How can I get the fixed ObjectCacheDefaultImpl

a select OQLQuery doing an insert on commit? [newbie]

2004-01-02 Thread katarn
Hello, I am having the following situation and I don't know where is my error: This is the code: tx = impl.newTransaction(); tx.begin(); final OQLQuery query = impl.newOQLQuery(); query.create(select TABLE from + classtype.class.getName()

Re: OrderBy of ref class having same property name = problem

2004-01-02 Thread Terry Brick
Jakob, Thanks for fixing this. It looks like the fix is possibly causing a problem in report queries. Interestingly enough, I never even used report queries before today, but the cause of this problem definitely looks related to the alias solution. If one of my columns in my report query has

RE: Has anyone run OJB on WebLogic 8.1?

2004-01-02 Thread Bates, Alex
Problem solved: I found a post by Armin on the archive (glad that's still online!) recommending removing the T3ServicesDef from the startup class. I did this, and no longer get the NotSerializableException. Now I'm getting a different classloader exception, but not specific to OJB (have to

Re: a select OQLQuery doing an insert on commit? [newbie]

2004-01-02 Thread katarn
I was inserting a row with a primary key of 0 (zero) by hand. That was the row that was being duplicated. The autoincrement was true for that field. I would like to learn why? : A field with autoincrement = true and a value of 0 is automatically inserted? If that is true, every time it was

Desperately need help with my repository

2004-01-02 Thread Patrick Scheuerer
Hi everyone, I'm loosing my mind I just can't figure out what i'm doing wrong. Can some of you please take a look at my code / config and tell me what i'm doing wrong? I know it's a long posting and I would really appreciate it very much if somebody could help me out. I have 7 value

How to program against the ODMG personality correctly?

2004-01-02 Thread Sean Dockery
Hello there. I'm fairly new to OJB. I've read several of the tutorials and I'm working on creating an application from scratch. Below are three classes that I wrote. One is my DAO class, the second class is an inversion-of-control interface that I'm using to populate the object after locking