Fw: success deploying ojb in jboss

2004-04-18 Thread Michael Mogley
) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loo p(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run (AbstractDeploymentScanner.java:191) Thanks Regards, Stephen -Original Message- From: Michael Mogley [mailto:[EMAIL PROTECTED] Sent

Re: Email account utilization warning.

2004-03-03 Thread Michael Mogley
No. This is the virus. DO NOT open the attachment. Michael - Original Message - From: Jim Shingler [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 5:56 PM Subject: Re: Email account utilization warning. Quoting [EMAIL PROTECTED]: Is this

Re: success deploying ojb in jboss

2004-02-29 Thread Michael Mogley
it to work! Sorry, I forgot to mention the need for your lib's to be in the CLASSPATH in the Manifest file. Isn't it nice to be able to redeploy also! -Andrew -Original Message- From: Michael Mogley [mailto:[EMAIL PROTECTED] Sent: Sat 2/28/2004 10:34 PM To: OJB Users List

success deploying ojb in jboss

2004-02-28 Thread Michael Mogley
Thanks Andrew and Armin. I followed Andrew's advice and packaged everything in one ear. Good news is I am also able to redeploy without having to restart the app-server (no OJB redeployment issues so far). Here's how I did it: /ejb.jar/ ...EJBs ...DAOs ...META-INF/ ..ejb-jar.xml

using single persistence broker instance

2004-02-28 Thread Michael Mogley
I was wondering if anyone out there could comment on my usage of PersistenceBroker in an EJB. I currently create a single instance during ejbCreate and keep it for the duration of the bean's lifecycle. This seems like the most efficient way. Is there a danger to using this approach when

Re: how to keep repository-user.xml mappings separate from ojb.sar?

2004-02-26 Thread Michael Mogley
OJB-cache is always pristine. But I do have to do some extra work for saving tree's, and deleting objects inside collections, etc. Let me know if this helps. -Andrew -Original Message- From: Michael Mogley [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 5:47 PM To: OJB

Re: how to keep repository-user.xml mappings separate from ojb.sar?

2004-02-25 Thread Michael Mogley
PROTECTED] Sent: Wednesday, February 25, 2004 5:21 AM Subject: Re: how to keep repository-user.xml mappings separate from ojb.sar? Hi Michael, Michael Mogley wrote: Hi all, I'm trying to deploy an application on JBoss 3.2.3 using latest OJB. I've followed the steps to create an ojb.sar

Re: how to keep repository-user.xml mappings separate from ojb.sar?

2004-02-25 Thread Michael Mogley
, Michael Mogley wrote: Hi Armin, So in this case, how would I access the broker? I assume through JNDI somehow? Would I have to setup the PersistenceBrokerFactory as a resource adaptor? How would I do that? Think it is possible to include a .sar file in an .ear file. Let the OJB

Re: how to keep repository-user.xml mappings separate from ojb.sar?

2004-02-25 Thread Michael Mogley
, you really only want one Persistence layer across an enterprise. -Andrew -Original Message- From: Michael Mogley [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 12:47 PM To: OJB Users List Subject: Re: how to keep repository-user.xml mappings separate from ojb.sar? Hi Armin

Re: how to keep repository-user.xml mappings separate from ojb.sar?

2004-02-25 Thread Michael Mogley
for 1.1 without guarantee). I will look into this. Perhaps, it's not so complex. On the JCA, could you or Matthew give me what you have so far? So I don't have to start from scratch. Cheers, Michael regards, Armin Michael Mogley wrote: Hi Andrew, Yeah, using a SessionBean as a facade

Re: ojb mixing up jdbc-connection-descriptors

2003-12-10 Thread Michael Mogley
to reference another app's objects via jcdalias. I keep ojb and all associated jar files in tomcat/common/lib with the global repository placeholder and OJB.properties in tomcat/common/classes. Thanks guys for a great OR tool. Michael - Original Message - From: Michael Mogley [EMAIL

ojb mixing up jdbc-connection-descriptors

2003-12-09 Thread Michael Mogley
OK, I've got two Tomcat webapps. Each with it's own OJB.properties and repository xml files defining two different mappings and two different connection descriptors. Ojb libraries are in common/lib to allow sharing among webapps. Everything was working file until I added the second webapp.

Re: ojb mixing up jdbc-connection-descriptors

2003-12-09 Thread Michael Mogley
I think you'll find that putting OJB in /common/lib is your problem. Try putting the the OJB jars in the each webapps WEB-INF/lib directory, and see if the problem goes away. I think it will. Cheers, Charles. -Original Message- From: Michael Mogley [mailto:[EMAIL PROTECTED

Re: ojb mixing up jdbc-connection-descriptors

2003-12-09 Thread Michael Mogley
Message- From: Michael Mogley [mailto:[EMAIL PROTECTED] Sent: 09 December 2003 07:34 To: OJB Users List Subject: Re: ojb mixing up jdbc-connection-descriptors You're probably right. But is there no way then to keep Ojb as a shared library? Michael - Original Message

Re: ojb mixing up jdbc-connection-descriptors

2003-12-09 Thread Michael Mogley
classes in each webapp. Dev guys? Michael - Original Message - From: Michael Mogley [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Monday, December 08, 2003 11:56 PM Subject: Re: ojb mixing up jdbc-connection-descriptors Maybe not desperate, but frustrated. I do

Re: ojb mixing up jdbc-connection-descriptors

2003-12-09 Thread Michael Mogley
, and see if the problem goes away. I think it will. Cheers, Charles. -Original Message- From: Michael Mogley [mailto:[EMAIL PROTECTED] Sent: 09 December 2003 07:29 To: OJB Users List Subject: ojb mixing up jdbc-connection-descriptors OK, I've got two Tomcat webapps

Re: ojb mixing up jdbc-connection-descriptors

2003-12-09 Thread Michael Mogley
(since these classes are scoped by a specific webapp classloader). OK, Ojb wins. I'm giving each app its own copy. Michael - Original Message - From: Michael Mogley [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 12:17 AM Subject: Re: ojb mixing up

Re: ojb mixing up jdbc-connection-descriptors

2003-12-09 Thread Michael Mogley
task to change OJB to support multiple webapps. But I could be wrong. Cheers, Charles. -Original Message- From: Michael Mogley [mailto:[EMAIL PROTECTED] Sent: 09 December 2003 07:34 To: OJB Users List Subject: Re: ojb mixing up jdbc-connection-descriptors You're

Re: ojb mixing up jdbc-connection-descriptors

2003-12-09 Thread Michael Mogley
PROTECTED] Sent: Tuesday, December 09, 2003 2:27 AM Subject: Re: ojb mixing up jdbc-connection-descriptors Michael Mogley wrote: OK, I've got two Tomcat webapps. Each with it's own OJB.properties and repository xml files defining two different mappings and two different connection

Re: does PersistenceBroker.getCollectionByQuery use the cache?

2003-12-01 Thread Michael Mogley
, Thomas Michael Mogley wrote: In my webapp, I've run across what may be a bug in Ojb. I have an Album class with a collection of Photos. I also have a jsp page, photoEdit.jsp, that retrieves a specific Photo by identity, modifies it, then does PersistenceBroker.store. I have

does PersistenceBroker.getCollectionByQuery use the cache?

2003-11-29 Thread Michael Mogley
In my webapp, I've run across what may be a bug in Ojb. I have an Album class with a collection of Photos. I also have a jsp page, photoEdit.jsp, that retrieves a specific Photo by identity, modifies it, then does PersistenceBroker.store. I have another page, albumPhotos.jsp, that lists all

Re: does PersistenceBroker.getCollectionByQuery use the cache?

2003-11-29 Thread Michael Mogley
BTW, the Album object is cached in the session. Michael - Original Message - From: Michael Mogley [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Saturday, November 29, 2003 3:07 PM Subject: does PersistenceBroker.getCollectionByQuery use the cache? In my webapp, I've run

how to include extra fields in proxy object

2003-11-26 Thread Michael Mogley
Does Ojb offer a way to include additional propertiesin a proxy object besides the id? I have an Image class with lightweight properties (name and description) and heavyweight properties (various versions of the image data itself). In my webapp, I'd like to pull down a list of ImageProxy

Re: Collection of string

2003-11-25 Thread Michael Mogley
I agree. IMO, this should not require any additional mapping definitions beyond those necessary to map the classes. It should be possible to arbitrarily request a collection of a specific field type from a mapped class, and this should be simple and easy through the API. I would even propose

Re: Collection of string

2003-11-25 Thread Michael Mogley
Message - From: Michael Mogley [EMAIL PROTECTED] To: OJB Users List [EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 10:13 AM Subject: Re: Collection of string I agree. IMO, this should not require any additional mapping definitions beyond those necessary to map the classes. It should

Re: Collection of string

2003-11-25 Thread Michael Mogley
a report query (Except that you get an Iterator to Object[] instead of an Iterator to a Map. IMO, This would be easy enough to create in your application persistence service. Wally -Original Message- From: Michael Mogley [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 12:14 PM

RE: question about performance - cache, pre-fetch, other

2003-06-29 Thread Michael Mogley
I've been aware of this aspect of Ojb for a while and have always wondered why it chose not to implement the join solution to batch-reads. The join, as John points out, in addition to guaranteeing reconstruction of the object graph in one read, also handles cases of multiple indirection. This is

Re: oracle BLOB 4K

2003-06-24 Thread Michael Mogley
: Tuesday, June 24, 2003 5:26 PM Subject: Re: oracle BLOB 4K Hi Michael, Why don't you submit a sample code for it, and we will see if some one else can implement it in OJB before you become available to work on it. Rajeev - Original Message - From: Michael Mogley [EMAIL PROTECTED

RE: oracle BLOB 4K

2003-06-23 Thread Michael Mogley
Hi Conall, I have been hoping to rework my fix for this to fit better with Ojb's existing design and framework. However, I am currently committed to projects at work and am not likely to have much time for Ojb until August. If someone wants to step in before then with a patch that takes care of