RE: How to specify non-default DataSource for ODMG/PB api in different scenarios?

2003-09-02 Thread Alex Bates
same thing? Alex -Original Message- From: Alex Bates [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 1:21 AM To: OJB Users List; Armin Waibel Subject: RE: How to specify non-default DataSource for ODMG/PB api in different scenarios? Armin, Thanks for the description. I

RE: How to specify non-default DataSource for ODMG/PB api in different scenarios?

2003-09-02 Thread Alex Bates
Armin, Thanks for the description. I forgot to mention, I'm using EJBs that I modelled after the OJB sample EJBs. So, for my ODMG save methods, I'm using Transaction tx = odmg.currentTransaction(); tx.lock(obj, Transaction.WRITE); Where odmg is created by a factory in the ejbCreate meth

RE: How to specify non-default DataSource for ODMG/PB api in different scenarios?

2003-08-31 Thread Alex Bates
> do you mean changing the used DataSource within > a transaction or only how to use multiple databases? Only how to use with multiple DataSources (each with a different database login and different privelages). i.e. I've defined multiple DataSources in JBoss. Thanks, Alex -Original Messa

RE: How to deploy OJB on Jboss 3.2

2003-06-20 Thread Alex Bates
Armin, I'm not sure about xdoclet - since this requirement just came out in 3.2 would guess not. Unless they have some sort of 'custom' tag that lets you insert your own element. Alex -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 12:45 AM To

RE: OJB/JBoss "depends on me" startup problem - but redeployment works fine!

2003-06-18 Thread Alex Bates
Thanks for the followup Armin. I'm going to post a question to the JBoss newsgroup and investigate further...will post anything I find out. I know they've been making numerous changes to the classloader to support hot redeployment (in the process making cold deployment harder!) Alex -Orig

OJB read/write cache - beware the synchronized bottleneck

2003-06-02 Thread Alex Bates
Has anyone implemented a read/write cache for use with OJB? This article goes over how to implement, and links to some code for ReadWriteLock (and ConcurrentHashMap): http://www.theserverside.com/resources/article.jsp?l=Readers-Writers However, my real question is: would it be possible to implem

RE: OJB + commercial JDO ?

2003-06-02 Thread Alex Bates
Thomas, Thanks for the reply. My question actually stemmed from some others working on the project, who wanted to make sure our solution could integrate if a given client had already purchased a commercial JDO implementation. If we had to do this, I wanted to shield applications sitting on top o