RE: Using Ojb in Applications with large DB tables

2004-02-10 Thread Var George
Thomas Thank you for your quick response. I am using PB layer so JDO is not a worry for now. Is this a bug in OJB (count() vs last.getrow())? I can't verify this at the moment... This problem occurs when running in a constrained environment. e.g. use the jvm max memory to 128M and execute

Re: GroupBy clause ignored in PersistentBroker.getCount( Query query)

2004-02-10 Thread Danilo Tommasina
hi Jakob, a ditinct clause for doing exactly what i need, however scheissbase = this isn't the official name, isn't it ;) no it isn't, but from my point of view it better describes the product ;) i was thinking of: select count (distinct key1 || key2) from when we have multiple pks. this

Blobs and MSAccess

2004-02-10 Thread Tino Schöllhorn
Hi, has anyone tried using OJB with MSAccess and can successfully handle BLOBs? I am wondering if I could use OJB to handle this. With regards Tino - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Bug in batch mode

2004-02-10 Thread Guillaume Nodet
Are my problems out of the design of ojb ? Do you want i to write a test case ? Regads, Guillaume -Message d'origine- De : Guillaume Nodet [mailto:[EMAIL PROTECTED] Envoyé : vendredi 6 février 2004 09:58 À : OJB Developers List; [EMAIL PROTECTED] Objet : RE: Bug in batch mode Hi Oleg,

Re: Identity

2004-02-10 Thread Rémi Bars
sorry it works fine now i have found a old code in my ojb Remi - Original Message - From: Rémi Bars [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 10:41 AM Subject: Re: Identity Hello i have a bug on rc5, i got the same in rc4 (see

Re: Identity

2004-02-10 Thread Armin Waibel
puh! glad to hear that! regards, Armin Rémi Bars wrote: sorry it works fine now i have found a old code in my ojb Remi - Original Message - From: Rémi Bars [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 10:41 AM Subject: Re: Identity

Re: Identity

2004-02-10 Thread Armin Waibel
ok, I will add your patch. We may run into the same problems in an clustered environment with a distributed lock management (same temp values on different cluster nodes), but this will be another story... ;-) regards, Armin Rémi Bars wrote: Think the problem is the lock of the objects before

Re: Identity

2004-02-10 Thread Rémi Bars
i ll test it soon in a distributed application, and post my result here:) Remi - Original Message - From: Armin Waibel [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 11:57 AM Subject: Re: Identity ok, I will add your patch. We may run into

NullPointerException in RsIterator$ResourceWrapper.beforeClose

2004-02-10 Thread Gary
While running a multi-threaded stress test, I received the following exception: java.lang.NullPointerException at java.lang.Throwable.init(Throwable.java) at java.lang.Throwable.init(Throwable.java) at java.lang.NullPointerException.init(NullPointerException.java:60)

Re: NullPointerException in RsIterator$ResourceWrapper.beforeClose

2004-02-10 Thread Armin Waibel
Hi Gary, Is there a need to synchronize on the object(s)? hmm, no synchronize shouldn't be necessary because PB instance isn't threadsafe all in all. Maybe the object was reclaimed by GC after the ref.get() call. Are you sure that each thread operates on its own PB instance while running

Function sequence Error using DB2 UDB 7

2004-02-10 Thread Dirk Manske (Service Respond)
Hi, I am using OJB-PB and DB2 7.2. I deployed the web-app on two different computer. At home, I use Db2 7 Personal Edition and everything works without complains. At my company we have DB2 UDB 7 and I deployed the app there too. However, when I try to do any database operation I get the

Building mapping, XDoclet

2004-02-10 Thread David Hooker
From what I gather, there's no way to build a mapping from Java source, except using somethin g like XDoclet, is that correct? If so, where can I find documentation or info on the XDoclet tags to use for creating the OJB mapping file?

Unique column

2004-02-10 Thread Muhammad Aamir
There is a column that I want it to be unique in the table. How can I implement this business rule ?? Thanks Aamir