Re: How to encrypt DB password in persistence.xml

2009-08-07 Thread wang yu
Rick, Thank you for your information. I have resolved this issue by modifying dbcp source code. The bad part is dbcp can be built with jdk 1.4 only which made build system little bit complicated:-) If you can deliver encryption feature in next release, I'll be very pleased to use it. Regards, Yu

ClassStrategy.

2009-08-07 Thread C N Davies
Looking at the docs there should be an interface named org.apache.openjpa.jdbc.meta.ClassStrategy which needs to be implemented in order to implement a strategy for a custom class. But I cannot find the class in any of the OpenJPA 1.2.1 jars. Is the document wrong or am I just stupid?

Re: ClassStrategy.

2009-08-07 Thread Rick Curtis
Chris - I built my 1.2.x workspace and found it in the openjpa-all jar. I also checked in the binary download from the openjpa website and the class was there also. /org/apache/openjpa/jdbc/meta/ClassStrategy.class -Rick On Fri, Aug 7, 2009 at 2:43 AM, C N Davies c...@cndavies.com wrote:

Re: How to encrypt DB password in persistence.xml

2009-08-07 Thread Michael Dick
Hi Yu, At the moment our support allows you to specify an 'Encryption Provider' which handles the encryption / decryption of a password. We aren't providing a tool to do the actual encryption - just a plugin point for other tools. It sounds like you have written the encryption code in your

RE: ClassStrategy.

2009-08-07 Thread C N Davies
Thanks Rick, I don't have that jar, I only have openjpa-1.2.1.jar and also the lib and examples directories. I checked my original downloaded binary zip file and I can't see the jar file there either. H .. puzzling. Anyway Thanks Rick, I will download the stuff again Chris

Re: overriding accesors in entity needs tranisent declaration

2009-08-07 Thread pdd
Interestingly, Hibernate has similar behavior but little better in the sense that it at least calls the overridden accessors. https://forum.hibernate.org/viewtopic.php?f=1t=998837 Can this be fixed? -- View this message in context:

Re: ClassStrategy.

2009-08-07 Thread Donald Woods
Rick, did you mean you built the openjpa-all subdir or a jar named that? The openjpa-all.jar is only created by the 1.3.x and trunk builds. The 1.2.x/openjpa-all/pom.xml generates the openjpa-1.2.x.jar file. -Donald Rick Curtis wrote: Chris - I built my 1.2.x workspace and found it in the

Re: ClassStrategy.

2009-08-07 Thread Rick Curtis
Donald - The subdir openjpa-all/. -Rick On Fri, Aug 7, 2009 at 10:37 AM, Donald Woods dwo...@apache.org wrote: Rick, did you mean you built the openjpa-all subdir or a jar named that? The openjpa-all.jar is only created by the 1.3.x and trunk builds. The 1.2.x/openjpa-all/pom.xml generates

Re: ClassStrategy.

2009-08-07 Thread Jeremy Bauer
Hi Chris, As you dive into creating custom strategies, besides reading the OpenJPA docs, you may also want to check out this blog post[1] on the topic. -Jeremy [1] http://webspherepersistence.blogspot.com/2009/04/custom-orm-with-openjpa.html On Fri, Aug 7, 2009 at 2:43 AM, C N Davies

Re: Problem with data cache, inverse relation, maybe parallel eager results

2009-08-07 Thread David Minor
OK, I think I've figured out the general idea of what's going on: 1. Multiple Entity A's are requested (say A1, A2). The JDBCStoreManager starts processing in parallel eager mode. 2. During the processing of A1, all Entity B's are processed in parallel eager mode. 3. An Entity B belonging to A2