Re: Bind main/access classes to JNDI

2007-01-16 Thread sachin
Hi, We are doing this in following way. Code from repository_database.xml code from web.xml dsForB2C javax.sql.DataSource Container Shareable - Original Message - From: "k jee" <[EMAIL PROTECTED]> To: "OJB Users List" Sent: Wednesday, January 17, 2007 6:25 AM Subject

Re: Bind main/access classes to JNDI

2007-01-16 Thread k jee
Armin, Thank you for your response. If I specify JNDI name like jdbc/testdsn in the repository_database.xml, everything works fine. But the problem is, it makes a direct JNDI connection and Websphere is not letting me use the Resource-Ref settings set in the web.xml file. So I trie

AW: Problem/misunderstanding with ObjectCache, multiple databases and ObjectModification, 1.0.4

2007-01-16 Thread Längerich , Bernd
Hi Armin, thank you for your fast response. Armin Waibel writes: > You are right, OJB find the object in the cache (because you operate > with the same objects on different DB's using a shared cache) and > indicate to update the object instead of insert. > > Do you really need a shared cache

Re: Problem/misunderstanding with ObjectCache, multiple databases and ObjectModification, 1.0.4

2007-01-16 Thread Armin Waibel
Hi Bernd, Längerich wrote: Hi, I have some problems understanding (and using) the concept of the cache when using multiple databases and determining the object modification level at the store method. Assume we have two databases A and B with one being the default and one being the backup da

Problem/misunderstanding with ObjectCache, multiple databases and ObjectModification, 1.0.4

2007-01-16 Thread Längerich , Bernd
Hi, I have some problems understanding (and using) the concept of the cache when using multiple databases and determining the object modification level at the store method. Assume we have two databases A and B with one being the default and one being the backup database. Both connections are c