Re: Sequence configuration problems
On Oct 24, 2006, at 5:50 PM, Patrick Linskey wrote: Is this as it should be? Is there some additional processing going on when openjpa reads a persistence.xml file that should not happen when an entityManagerFactory is created in a j2ee environment? Does this work when you run outside a container? I haven't tried and I'm not entirely sure what the equivalent environment would be. The class I'm using is the AllFieldTypes stolen from OpenJPA It sounds like the product derivations aren't loading properly. Are you using separate OpenJPA jars, or the single OpenJPA jar? The non-geronimo stuff in the classloader with openjpa jars is: dependency groupIdorg.apache.openjpa/groupId artifactIdopenjpa-all/artifactId version0.9.0-incubating-SNAPSHOT/version /dependency dependency groupIdnet.sourceforge.serp/groupId artifactIdserp/artifactId version1.11.0/version /dependency dependency groupIdcommons-collections/groupId artifactIdcommons-collections/artifactId /dependency dependency groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId /dependency Did you create a single OpenJPA jar from the modules on your own? Could your security policy be preventing OpenJPA from accessing resources? No security policy. Any idea where I could look for a clue about what's going on? thanks david jencks -Patrick __ _ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
[VOTE] Is JDK 1.3 support required?
Hi, A recent discussion concerning a patch for OPENJPA-63 ( http://issues.apache.org/jira/browse/OPENJPA-63http://issues.apache.org/jira/browse/OPENJPA-63?page=comments#action_1214) has prompted a question that Patrick and I felt should be brought out into a public discussion. It turns out that the patch posted for this report is using a method on DelegatingDatabaseMetaData that was introduced in JDK 1.4. Patrick's original concern is that we should continue to support JDK 1.3. Since JDK 1.3 has started it's EOL campaign, I'm wondering how important it is to continue to support JDK 1.3. My thought (and now Patrick's) is that we should focus on JDK 1.4 and above. Here's your chance to vote... Statement: OpenJPA should support JDK 1.4 and beyond. There is no requirement to support the older JDK 1.3 environment. +1 Agree. JDK 1.4 and beyond -1 Disagree. We need to support JDK 1.3. +/- 0 Neutral. Do whatever. Thanks, Kevin
Re: Sequence configuration problems
You're definitely missing the JDBC bits of OpenJPA, or at least the JDBCProductDerivation isn't being found. If you get the latest version, you can invoke the org.apache.openjpa.conf.ProductDerivations class's main method to print details about derivation loading to System.out. You might also want to modify that class to have a static API to return the same errors that you can call within a container. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
Re: [VOTE] Is JDK 1.3 support required?
+/- 0 Neutral. Do whatever. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
Re: Support of Collections of embedded and/or value types?
I thought we (OpenJPA) supported the mapping of Collections of embedded types. OpenJPA never supported this. It was accidentally left in from the Kodo docs. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
Re: Support of Collections of embedded and/or value types?
On 10/25/06, Abe White [EMAIL PROTECTED] wrote: I thought we (OpenJPA) supported the mapping of Collections of embedded types. OpenJPA never supported this. It was accidentally left in from the Kodo docs. Okay, was this a JDO feature? Does it still make sense to have OpenJPA support Collections and Maps of these types? Seems like a nice feature that would keep us consistent with Hibernate. Actually, maybe that would be a good exercise to see how OpenJPA matches up with Hibernate. Any Hibernate experts out there? Kevin