RE: Optimistic Locking Integer/int Bug

2004-01-20 Thread Antonio Gallardo
Coup, Robert Muir dijo: > >> As you suggested, this is the old int/Integer problem. In OJB >> the prefered way is to avoid primitives datatypes (as int, >> boolean) and use only Object datatypes (as Integer, Boolean). >> >> I think the problem can be solved at the docs. If not then >> how we can te

RE: Optimistic Locking Integer/int Bug

2004-01-20 Thread Coup, Robert Muir
> As you suggested, this is the old int/Integer problem. In OJB > the prefered way is to avoid primitives datatypes (as int, > boolean) and use only Object datatypes (as Integer, Boolean). > > I think the problem can be solved at the docs. If not then > how we can test a int to null in Java? ;

Re: Optimistic Locking Integer/int Bug

2004-01-20 Thread Antonio Gallardo
Hi Robert: As you suggested, this is the old int/Integer problem. In OJB the prefered way is to avoid primitives datatypes (as int, boolean) and use only Object datatypes (as Integer, Boolean). I think the problem can be solved at the docs. If not then how we can test a int to null in Java? ;) B

AW: exception: cannot request auto-commit state

2004-01-20 Thread Dirk Manske (Service Respond)
ok, I patched the current ConnectionManagerImpl class. I already supposed a timeout problem, but to see the first exception message will make things clearer... thx. Dirk -Ursprüngliche Nachricht- Von: Armin Waibel [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 20. Januar 2004 18:08 An: O

Re: Repository XML limitation and design question.

2004-01-20 Thread Armin Waibel
Hi Ajitesch, Ajitesh Das wrote: Hi Armin: Thanks for your response. Now I understand what Thomas meant as key. But the main issue is still there for me. Let's take CASE A as an example: First of all, let me summarize what I have understood: Databases/data sources = { Da, Db , Dc, ,

RE: Repository XML limitation and design question.

2004-01-20 Thread Ajitesh Das
Hi Armin: Thanks for your response. Now I understand what Thomas meant as key. But the main issue is still there for me. Let's take CASE A as an example: First of all, let me summarize what I have understood: Databases/data sources = { Da, Db , Dc, , Dn } And I have a set of class-d

Optimistic Locking Integer/int Bug

2004-01-20 Thread Coup, Robert Muir
Hi, I think I found a minor bug in the optimistic locking (OL) code/documentation If you initialise an int field to use OL (locking="true") then updates will fail if the field is null, either silently or with a LockNotGrantedException. public class MyClass { private Integer id; p

Re: Questions about using Connection objects from a PB, and how long is Iterator from PB.getIterByQuery valid

2004-01-20 Thread Sean Dockery
That's great, Armin. Thanks. "Armin Waibel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Sean, > > Sean Dockery wrote: > > > Two questions... > > > > 1) Getting connections from a PersistenceBroker... > > > > In the documentation, it says that you can acquire a connection obje

Re: Questions about using Connection objects from a PB, and how long is Iterator from PB.getIterByQuery valid

2004-01-20 Thread Armin Waibel
Hi Sean, Sean Dockery wrote: Two questions... 1) Getting connections from a PersistenceBroker... In the documentation, it says that you can acquire a connection object directly from the PB API. By the fact that you can also acquire brokers from an Implementation instance, can I assume that the

Questions about using Connection objects from a PB, and how long is Iterator from PB.getIterByQuery valid

2004-01-20 Thread Sean Dockery
Two questions... 1) Getting connections from a PersistenceBroker... In the documentation, it says that you can acquire a connection object directly from the PB API. By the fact that you can also acquire brokers from an Implementation instance, can I assume that the following is legal? Implement

Re: ojb-tags

2004-01-20 Thread Saman Ghodsian
Thanks for the response Thomas. Keep up the great work you guys are doing. OJB rocks!! "Mahler Thomas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Saman, > > The ojb-tags are part of the contributions package. This archive contains > contributions that are not part

Re: exception: cannot request auto-commit state

2004-01-20 Thread Armin Waibel
Hi Dirk, [EMAIL PROTECTED] wrote: Hi, I am using PB with DB2 7. auto-commit is set off and also declared in the jdbc-connection descriptor. When I try to store/retrieve a object I get the message that ojb cannot request autoCommit state on the connection? This happens after some time the app is

exception: cannot request auto-commit state

2004-01-20 Thread servicerespond . dirkmanske
Hi, I am using PB with DB2 7. auto-commit is set off and also declared in the jdbc-connection descriptor. When I try to store/retrieve a object I get the message that ojb cannot request autoCommit state on the connection? This happens after some time the app is running. any idea? thx, Dirk o

RE: New XDoclet OJB module version

2004-01-20 Thread Mahler Thomas
OK, so we'll wait a bit longer... cheers, Thomas > -Original Message- > From: Thomas Dudziak [mailto:[EMAIL PROTECTED] > Sent: Monday, January 19, 2004 10:55 AM > To: OJB Users List > Subject: RE: New XDoclet OJB module version > > > On Mon, 19 Jan 2004, Mahler Thomas wrote: > > > Hi T

RE: ojb-tags

2004-01-20 Thread Mahler Thomas
Hi Saman, The ojb-tags are part of the contributions package. This archive contains contributions that are not part of the maintained distribution. The Ojb Tags library was developed by Jacob Hookom (Jacob.Hookom at redline.mckhboc.com) for 1.0.RC3. I think it makes sense to talk directly to Jaco

Question with JDO

2004-01-20 Thread VENKATESH, SUMA (SBCSI)
Hi Thomas, Thanks for such a quick response. I got this fixed in a few minutes after i wrote the mail to the group.I have a concern about using JDO for large web based application iam curently working on.Our plan is to move the current jdbc layer onto OJB.Do you recommend using PB with JDO to imp

Question with JDO

2004-01-20 Thread VENKATESH, SUMA (SBCSI)
Hi All, Iam having some fun with JDO API. I tried to run tutorial5 . I have followed evey step in it. I get the following chain of errors which hangs in a loop. Can somebody please help me resolve.I am analysing on using JDO in OJB along with PB API for a large database application . Is it rec

ojb-tags

2004-01-20 Thread Saman Ghodsian
Hi there, Has anyone used ojb-tags? and if so... in tomcat 5? I've been having problems using it getting exceptions Is it still being mantained? Thanks Saman