<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
	<id>tag:n2.nabble.com,2006:forum-210739</id>
	<title>Nabble - OpenJPA Developers</title>
	<updated>2009-11-06T14:48:32Z</updated>
	<link rel="self" type="application/atom+xml" href="http://n2.nabble.com/OpenJPA-Developers-f210739.xml" />
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/OpenJPA-Developers-f210739.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:n2.nabble.com,2006:post-3961821</id>
	<title>[jira] Commented: (OPENJPA-1377) JPA property to enum conversion failure</title>
	<published>2009-11-06T14:48:32Z</published>
	<updated>2009-11-06T14:48:32Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12774467#action_12774467&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12774467#action_12774467&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Albert Lee commented on OPENJPA-1377:
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;Per spec:
&lt;br&gt;&lt;br&gt;3.6.1.1 Enabling Automatic Validation
&lt;br&gt;The validation-mode element of the persistence.xml file determines whether the automatic
&lt;br&gt;lifecycle event validation is in effect. The values of the validation-mode element are AUTO,
&lt;br&gt;CALLBACK, NONE. The default validation mode is AUTO.
&lt;br&gt;&lt;br&gt;If the application creates the entity manager factory using the Persistence.createEntityManagerFactory
&lt;br&gt;method, the validation mode can be specified using the javax.persistence.
&lt;br&gt;validation.mode map key, which will override the value specified (or defaulted) in the
&lt;br&gt;persistence.xml file. The map values for this key are &amp;quot;auto&amp;quot;, &amp;quot;callback&amp;quot;, &amp;quot;none&amp;quot;
&lt;br&gt;&lt;br&gt;Enum values are in upper case and corresponding properties are in lowercase. Need to convert to upper case before converting to its enum value.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; JPA property to enum conversion failure
&lt;br&gt;&amp;gt; ---------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1377
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1377&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1377&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: kernel
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.0-M3, 2.0.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Albert Lee
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Albert Lee
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Exception occurred during JPA property to equivalent enum conversion:
&lt;br&gt;&amp;gt; java.lang.IllegalArgumentException: No enum const class javax.persistence.ValidationMode.callback
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Enum.valueOf(Enum.java:196)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.JPAProperties.getEnumValue(JPAProperties.java:156)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.JPAProperties.getEnumValue(JPAProperties.java:147)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceUnitInfoImpl.fromUserProperties(PersistenceUnitInfoImpl.java:325)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationParser.endElement(PersistenceProductDerivation.java:734)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.lib.meta.XMLMetaDataParser.endElement(XMLMetaDataParser.java:456)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDataParser.java:393)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:334)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:311)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:284)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationParser.parse(PersistenceProductDerivation.java:671)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProductDerivation.parseResources(PersistenceProductDerivation.java:479)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProductDerivation.load(PersistenceProductDerivation.java:449)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProductDerivation.load(PersistenceProductDerivation.java:271)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:83)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.websphere.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:73)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.websphere.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:43)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:151)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:59)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:159)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at suite.r80.base.jpaspec.validation.basic.JSE_BasicTest.setupTestEnvironmentModeBasicEMFPropOvrCallback(JSE_BasicTest.java:486)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1377-JPA-property-to-enum-conversion-failure-tp3961807p3961821.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3961807"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3961807</id>
	<title>[jira] Created: (OPENJPA-1377) JPA property to enum conversion failure</title>
	<published>2009-11-06T14:44:32Z</published>
	<updated>2009-11-06T14:44:32Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">JPA property to enum conversion failure
&lt;br&gt;---------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1377
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1377&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1377&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: kernel
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0-M3, 2.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Albert Lee
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Albert Lee
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 2.0.0
&lt;br&gt;&lt;br&gt;&lt;br&gt;Exception occurred during JPA property to equivalent enum conversion:
&lt;br&gt;&lt;br&gt;java.lang.IllegalArgumentException: No enum const class javax.persistence.ValidationMode.callback
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Enum.valueOf(Enum.java:196)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.JPAProperties.getEnumValue(JPAProperties.java:156)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.JPAProperties.getEnumValue(JPAProperties.java:147)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceUnitInfoImpl.fromUserProperties(PersistenceUnitInfoImpl.java:325)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationParser.endElement(PersistenceProductDerivation.java:734)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.lib.meta.XMLMetaDataParser.endElement(XMLMetaDataParser.java:456)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDataParser.java:393)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:334)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:311)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:284)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationParser.parse(PersistenceProductDerivation.java:671)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProductDerivation.parseResources(PersistenceProductDerivation.java:479)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProductDerivation.load(PersistenceProductDerivation.java:449)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProductDerivation.load(PersistenceProductDerivation.java:271)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:83)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.websphere.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:73)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.websphere.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:43)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:151)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:59)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:159)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at suite.r80.base.jpaspec.validation.basic.JSE_BasicTest.setupTestEnvironmentModeBasicEMFPropOvrCallback(JSE_BasicTest.java:486)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1377-JPA-property-to-enum-conversion-failure-tp3961807p3961807.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3953624</id>
	<title>Re: version field dont work when used in the embeddable class</title>
	<published>2009-11-05T09:13:10Z</published>
	<updated>2009-11-05T09:13:10Z</updated>
	<author>
		<name>Fay Wang</name>
	</author>
	<content type="html">In current openjpa implementation, version field in the embeddable is not supported. The rationale is embeddable is not an identifiable object, it can not be modified independently of its owning entity, so there is no need for the version field in the embeddable to keep track of its change. Also, unlike inheritance, the version field in the embeddable is not propogated to its owning entity. Think of an example of an entity which has many embeddable fields or a collection of embeddables, if every embeddable has its own version field, and if they are all propagated to the owning entity, the owning entity may end up with multiple version fields. which is not allowed. &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Original Message ----
&lt;br&gt;From: &amp;quot;&lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3953624&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;&amp;quot; &amp;lt;&lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3953624&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3953624&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;
&lt;br&gt;Sent: Thu, November 5, 2009 12:06:45 AM
&lt;br&gt;Subject: version field dont work when used in the embeddable class
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi 
&lt;br&gt;In my application I have an embeddable class that contain some common fields
&lt;br&gt;including version field .when I put version field in the main class
&lt;br&gt;everything is good and OpenJPA increment the version field value and throw
&lt;br&gt;optimistic exception when concurrent write occur .But when I put the version
&lt;br&gt;field on the embeddable class &amp;nbsp;openJPA don’t do anything. Is this is a bug
&lt;br&gt;in the OpenJPA ? or I am misusing the embeddable class?
&lt;br&gt;Please help me
&lt;br&gt;Thanks
&lt;br&gt;Ahad Javadi
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://n2.nabble.com/version-field-dont-work-when-used-in-the-embeddable-class-tp3950794p3950794.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/version-field-dont-work-when-used-in-the-embeddable-class-tp3950794p3950794.html&lt;/a&gt;&lt;br&gt;Sent from the OpenJPA Developers mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/version-field-dont-work-when-used-in-the-embeddable-class-tp3950794p3953624.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3950794"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3950794</id>
	<title>version field dont work when used in the embeddable class</title>
	<published>2009-11-05T00:06:45Z</published>
	<updated>2009-11-05T00:06:45Z</updated>
	<author>
		<name>javadiahad@gmail.com</name>
	</author>
	<content type="html">Hi 
&lt;br&gt;In my application I have an embeddable class that contain some common fields including version field .when I put version field in the main class everything is good and OpenJPA increment the version field value and throw optimistic exception when concurrent write occur .But when I put the version field on the embeddable class &amp;nbsp;openJPA don’t do anything. Is this is a bug in the OpenJPA ? or I am misusing the embeddable class?
&lt;br&gt;Please help me
&lt;br&gt;Thanks
&lt;br&gt;Ahad Javadi
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/version-field-dont-work-when-used-in-the-embeddable-class-tp3950794p3950794.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3949176</id>
	<title>[jira] Updated: (OPENJPA-1376) @GeneratedValue allocationSize incorrect implementation</title>
	<published>2009-11-04T15:51:32Z</published>
	<updated>2009-11-04T15:51:32Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Yves updated OPENJPA-1376:
&lt;br&gt;--------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Remaining Estimate: 8h &amp;nbsp;(was: 0.13h)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Original Estimate: 8h &amp;nbsp;(was: 0.13h)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; @GeneratedValue allocationSize incorrect implementation
&lt;br&gt;&amp;gt; -------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1376
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1376&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1376&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: jdbc
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.2.1, 2.0.0-M3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Environment: All
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Yves
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Critical
&lt;br&gt;&amp;gt; &amp;nbsp; Original Estimate: 8h
&lt;br&gt;&amp;gt; &amp;nbsp;Remaining Estimate: 8h
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; OpenJpa use allocationSize parameter on NativeJDBCSeq to set the sequence cache value.
&lt;br&gt;&amp;gt; But one &amp;quot;JSR 220: Enterprise JavaBeansTM,Version 3.0&amp;quot; , the allocationSize is : &amp;quot;The amount to increment by when allocating sequence
&lt;br&gt;&amp;gt; numbers from the sequence.&amp;quot;
&lt;br&gt;&amp;gt; Allocating is used to limit the number of access to the sequence or table not to set the sequence cache value !
&lt;br&gt;&amp;gt; If allocationSize=50, the sequence need to be call one time on each 50 call on AbstractJDBCSeq.next().
&lt;br&gt;&amp;gt; 1 call on AbstractJDBCSeq.next(). call the sequence or table 
&lt;br&gt;&amp;gt; 2 call : return previous value + 1;
&lt;br&gt;&amp;gt; 3 call : return previous value + 2;
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; 51 call :re-call the sequence
&lt;br&gt;&amp;gt; 52 return previous value + 1
&lt;br&gt;&amp;gt; ...
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1376-GeneratedValue-allocationSize-incorrect-implementation-tp3949168p3949176.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3949168"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3949168</id>
	<title>[jira] Created: (OPENJPA-1376) @GeneratedValue allocationSize incorrect implementation</title>
	<published>2009-11-04T15:49:32Z</published>
	<updated>2009-11-04T15:49:32Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">@GeneratedValue allocationSize incorrect implementation
&lt;br&gt;-------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1376
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1376&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1376&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: jdbc
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0-M3, 1.2.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Environment: All
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Yves
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Critical
&lt;br&gt;&lt;br&gt;&lt;br&gt;OpenJpa use allocationSize parameter on NativeJDBCSeq to set the sequence cache value.
&lt;br&gt;&lt;br&gt;But one &amp;quot;JSR 220: Enterprise JavaBeansTM,Version 3.0&amp;quot; , the allocationSize is : &amp;quot;The amount to increment by when allocating sequence
&lt;br&gt;numbers from the sequence.&amp;quot;
&lt;br&gt;&lt;br&gt;Allocating is used to limit the number of access to the sequence or table not to set the sequence cache value !
&lt;br&gt;&lt;br&gt;If allocationSize=50, the sequence need to be call one time on each 50 call on AbstractJDBCSeq.next().
&lt;br&gt;&lt;br&gt;1 call on AbstractJDBCSeq.next(). call the sequence or table 
&lt;br&gt;2 call : return previous value + 1;
&lt;br&gt;3 call : return previous value + 2;
&lt;br&gt;...
&lt;br&gt;51 call :re-call the sequence
&lt;br&gt;52 return previous value + 1
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1376-GeneratedValue-allocationSize-incorrect-implementation-tp3949168p3949168.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3959536</id>
	<title>[jira] Closed: (OPENJPA-1375) OutOfMemory runs in container environment in a long stress run</title>
	<published>2009-11-06T07:50:32Z</published>
	<updated>2009-11-06T07:50:32Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Albert Lee closed OPENJPA-1375.
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; OutOfMemory runs in container environment in a long stress run
&lt;br&gt;&amp;gt; --------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1375
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1375&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1375&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: kernel
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.3.0, 2.0.0-M3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Albert Lee
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Albert Lee
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.3.0, 2.0.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Long stress run in the app server/container environment caused a OutOfMemoery exception with a heap dump that showed the following:
&lt;br&gt;&amp;gt; &amp;nbsp;FetchConfigurationImpl$ConfigurationState
&lt;br&gt;&amp;gt; &amp;nbsp;+ WsJpaFetchConfigurationImpl
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; + Array of Object
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ IdentityHashMap
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + EntityManagerImpl
&lt;br&gt;&amp;gt; What happened is the container pooled the entity manager and clear the context when a transaction is completed. However the IdentityHashMap in EntityManagerImpl, which maps the fetch configuration to fetch plan, is not being flush/clear. This caused the growth of the IdentityHashMap and eventually the OOM in a long run.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1375-OutOfMemory-runs-in-container-environment-in-a-long-stress-run-tp3948534p3959536.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3948534"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3959535</id>
	<title>[jira] Resolved: (OPENJPA-1375) OutOfMemory runs in container environment in a long stress run</title>
	<published>2009-11-06T07:50:32Z</published>
	<updated>2009-11-06T07:50:32Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Albert Lee resolved OPENJPA-1375.
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; OutOfMemory runs in container environment in a long stress run
&lt;br&gt;&amp;gt; --------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1375
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1375&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1375&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: kernel
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.3.0, 2.0.0-M3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Albert Lee
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Albert Lee
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.3.0, 2.0.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Long stress run in the app server/container environment caused a OutOfMemoery exception with a heap dump that showed the following:
&lt;br&gt;&amp;gt; &amp;nbsp;FetchConfigurationImpl$ConfigurationState
&lt;br&gt;&amp;gt; &amp;nbsp;+ WsJpaFetchConfigurationImpl
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; + Array of Object
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ IdentityHashMap
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + EntityManagerImpl
&lt;br&gt;&amp;gt; What happened is the container pooled the entity manager and clear the context when a transaction is completed. However the IdentityHashMap in EntityManagerImpl, which maps the fetch configuration to fetch plan, is not being flush/clear. This caused the growth of the IdentityHashMap and eventually the OOM in a long run.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1375-OutOfMemory-runs-in-container-environment-in-a-long-stress-run-tp3948534p3959535.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3948534"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3955511</id>
	<title>[jira] Updated: (OPENJPA-1375) OutOfMemory runs in container environment in a long stress run</title>
	<published>2009-11-05T14:31:32Z</published>
	<updated>2009-11-05T14:31:32Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Albert Lee updated OPENJPA-1375:
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Version/s: 1.3.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix Version/s: 1.3.0
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; OutOfMemory runs in container environment in a long stress run
&lt;br&gt;&amp;gt; --------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1375
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1375&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1375&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: kernel
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.3.0, 2.0.0-M3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Albert Lee
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Albert Lee
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.3.0, 2.0.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Long stress run in the app server/container environment caused a OutOfMemoery exception with a heap dump that showed the following:
&lt;br&gt;&amp;gt; &amp;nbsp;FetchConfigurationImpl$ConfigurationState
&lt;br&gt;&amp;gt; &amp;nbsp;+ WsJpaFetchConfigurationImpl
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; + Array of Object
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ IdentityHashMap
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + EntityManagerImpl
&lt;br&gt;&amp;gt; What happened is the container pooled the entity manager and clear the context when a transaction is completed. However the IdentityHashMap in EntityManagerImpl, which maps the fetch configuration to fetch plan, is not being flush/clear. This caused the growth of the IdentityHashMap and eventually the OOM in a long run.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1375-OutOfMemory-runs-in-container-environment-in-a-long-stress-run-tp3948534p3955511.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3948534"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3948534</id>
	<title>[jira] Created: (OPENJPA-1375) OutOfMemory runs in container environment in a long stress run</title>
	<published>2009-11-04T13:57:32Z</published>
	<updated>2009-11-04T13:57:32Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">OutOfMemory runs in container environment in a long stress run
&lt;br&gt;--------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1375
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1375&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1375&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: kernel
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0-M3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Albert Lee
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Albert Lee
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 2.0.0
&lt;br&gt;&lt;br&gt;&lt;br&gt;Long stress run in the app server/container environment caused a OutOfMemoery exception with a heap dump that showed the following:
&lt;br&gt;&lt;br&gt;&amp;nbsp;FetchConfigurationImpl$ConfigurationState
&lt;br&gt;&amp;nbsp;+ WsJpaFetchConfigurationImpl
&lt;br&gt;&amp;nbsp; &amp;nbsp; + Array of Object
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+ IdentityHashMap
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + EntityManagerImpl
&lt;br&gt;&lt;br&gt;What happened is the container pooled the entity manager and clear the context when a transaction is completed. However the IdentityHashMap in EntityManagerImpl, which maps the fetch configuration to fetch plan, is not being flush/clear. This caused the growth of the IdentityHashMap and eventually the OOM in a long run.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1375-OutOfMemory-runs-in-container-environment-in-a-long-stress-run-tp3948534p3948534.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3948162</id>
	<title>[jira] Created: (OPENJPA-1374) Enable junits to be executed against an in-memory Derby 10.5.3.0 db</title>
	<published>2009-11-04T13:02:33Z</published>
	<updated>2009-11-04T13:02:33Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Enable junits to be executed against an in-memory Derby 10.5.3.0 db
&lt;br&gt;-------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1374
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1374&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1374&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Improvement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: build / infrastructure
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0-M3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Donald Woods
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Donald Woods
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 2.0.0-M4
&lt;br&gt;&lt;br&gt;&lt;br&gt;Create a test profile that will enable the easy usage of an In-Memory Derby 10.5.3.0 DB for unit tests.
&lt;br&gt;&lt;a href=&quot;http://wiki.apache.org/db-derby/InMemoryBackEndPrimer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.apache.org/db-derby/InMemoryBackEndPrimer&lt;/a&gt;&lt;br&gt;Initial testing on my Mac shows a 50% reduction in time to run the o-p-j bucket compared to the current test-derby profile....
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1374-Enable-junits-to-be-executed-against-an-in-memory-Derby-10-5-3-0-db-tp3948162p3948162.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3932593</id>
	<title>Re: cwiki problems?</title>
	<published>2009-11-02T07:55:50Z</published>
	<updated>2009-11-02T07:55:50Z</updated>
	<author>
		<name>DWoods</name>
	</author>
	<content type="html">I opened INFRA-2302 for this....
&lt;br&gt;&lt;br&gt;&lt;br&gt;-Donald
&lt;br&gt;&lt;br&gt;&lt;br&gt;Donald Woods wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Several of us are trying to edit our OpenJPA space and keep getting the 
&lt;br&gt;&amp;gt; below message when we try to save a page edit. &amp;nbsp;The weird thing, is we 
&lt;br&gt;&amp;gt; get a Confluence generated email to our commits@ list, but the changes 
&lt;br&gt;&amp;gt; are not reflected on the Confluence page.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Proxy Error
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The proxy server received an invalid response from an upstream server.
&lt;br&gt;&amp;gt; The proxy server could not handle the request POST 
&lt;br&gt;&amp;gt; /confluence/pages/doeditpage.action.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Reason: Error reading from remote server
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8g Server at 
&lt;br&gt;&amp;gt; cwiki.apache.org Port 80
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any ideas?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -Donald
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/cwiki-problems-tp3932568p3932593.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3932568"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3932568</id>
	<title>cwiki problems?</title>
	<published>2009-11-02T07:52:33Z</published>
	<updated>2009-11-02T07:52:33Z</updated>
	<author>
		<name>DWoods</name>
	</author>
	<content type="html">Several of us are trying to edit our OpenJPA space and keep getting the 
&lt;br&gt;below message when we try to save a page edit. &amp;nbsp;The weird thing, is we 
&lt;br&gt;get a Confluence generated email to our commits@ list, but the changes 
&lt;br&gt;are not reflected on the Confluence page.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Proxy Error
&lt;br&gt;&lt;br&gt;The proxy server received an invalid response from an upstream server.
&lt;br&gt;The proxy server could not handle the request POST 
&lt;br&gt;/confluence/pages/doeditpage.action.
&lt;br&gt;&lt;br&gt;Reason: Error reading from remote server
&lt;br&gt;&lt;br&gt;Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8g Server at 
&lt;br&gt;cwiki.apache.org Port 80
&lt;br&gt;&lt;br&gt;&lt;br&gt;Any ideas?
&lt;br&gt;&lt;br&gt;&lt;br&gt;-Donald
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/cwiki-problems-tp3932568p3932568.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3932294</id>
	<title>[jira] Created: (OPENJPA-1373) OpenJPA 2.0 iteration 13 primary task</title>
	<published>2009-11-02T07:12:59Z</published>
	<updated>2009-11-02T07:12:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">OpenJPA 2.0 iteration 13 primary task
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1373
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1373&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1373&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: New Feature
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: jpa
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0-M4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Jeremy Bauer
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Jeremy Bauer
&lt;br&gt;&lt;br&gt;&lt;br&gt;This is the parent task for OpenJPA iteration 13. The iteration 13 development period is from Nov 2nd - Dec 4th. Features to be completed during this iteration must be assigned as a subtask to this task. The JPA 2.0 Roadmap [1] will contain iteration 12 features and tracking information.
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://cwiki.apache.org/confluence/display/openjpa/JPA+2.0+Roadmap&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/openjpa/JPA+2.0+Roadmap&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1373-OpenJPA-2-0-iteration-13-primary-task-tp3932294p3932294.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3932293</id>
	<title>[jira] Updated: (OPENJPA-1373) OpenJPA 2.0 iteration 13 primary task</title>
	<published>2009-11-02T07:12:59Z</published>
	<updated>2009-11-02T07:12:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Jeremy Bauer updated OPENJPA-1373:
&lt;br&gt;----------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Description: 
&lt;br&gt;This is the parent task for OpenJPA iteration 13. The iteration 13 development period is from Nov 2nd - Dec 4th. Features to be completed during this iteration must be assigned as a subtask to this task. The JPA 2.0 Roadmap [1] will contain iteration 13 features and tracking information.
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://cwiki.apache.org/confluence/display/openjpa/JPA+2.0+Roadmap&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/openjpa/JPA+2.0+Roadmap&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; was:
&lt;br&gt;This is the parent task for OpenJPA iteration 13. The iteration 13 development period is from Nov 2nd - Dec 4th. Features to be completed during this iteration must be assigned as a subtask to this task. The JPA 2.0 Roadmap [1] will contain iteration 12 features and tracking information.
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://cwiki.apache.org/confluence/display/openjpa/JPA+2.0+Roadmap&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/openjpa/JPA+2.0+Roadmap&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; OpenJPA 2.0 iteration 13 primary task
&lt;br&gt;&amp;gt; -------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1373
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1373&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1373&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: New Feature
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: jpa
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.0-M4
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Jeremy Bauer
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Jeremy Bauer
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is the parent task for OpenJPA iteration 13. The iteration 13 development period is from Nov 2nd - Dec 4th. Features to be completed during this iteration must be assigned as a subtask to this task. The JPA 2.0 Roadmap [1] will contain iteration 13 features and tracking information.
&lt;br&gt;&amp;gt; [1] &lt;a href=&quot;http://cwiki.apache.org/confluence/display/openjpa/JPA+2.0+Roadmap&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cwiki.apache.org/confluence/display/openjpa/JPA+2.0+Roadmap&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1373-OpenJPA-2-0-iteration-13-primary-task-tp3932294p3932293.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3932294"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3925266</id>
	<title>[jira] Updated: (OPENJPA-1372) Generating identifiers by using sequence table may fail during sequence table initialization</title>
	<published>2009-10-31T14:29:59Z</published>
	<updated>2009-10-31T14:29:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Milosz Tylenda updated OPENJPA-1372:
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: TestSequenceGenerationOnMT.java
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GeneratedIdObject.java
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Generating identifiers by using sequence table may fail during sequence table initialization
&lt;br&gt;&amp;gt; --------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1372
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1372&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1372&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: jdbc, kernel
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.2.1, 2.0.0-M3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Milosz Tylenda
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: GeneratedIdObject.java, TestSequenceGenerationOnMT.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When sequence table does not exist and mutliple threads get EntityManagers from EntityManageFactory, an insert into sequence table may fail because of duplicate primary key value.
&lt;br&gt;&amp;gt; EMF is created lazily by default and users reported various problems with concurrent initialization (e.g. failures in resolving aliases in JPQL queries, IIRC) of EMF. This issue might have the same roots.
&lt;br&gt;&amp;gt; Issue and test case originally reported by Pinaki in OPENJPA-466.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1372-Generating-identifiers-by-using-sequence-table-may-fail-during-sequence-tan-tp3925259p3925266.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3925259"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3925259</id>
	<title>[jira] Created: (OPENJPA-1372) Generating identifiers by using sequence table may fail during sequence table initialization</title>
	<published>2009-10-31T14:27:59Z</published>
	<updated>2009-10-31T14:27:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Generating identifiers by using sequence table may fail during sequence table initialization
&lt;br&gt;--------------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1372
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1372&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1372&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: jdbc, kernel
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0-M3, 1.2.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Milosz Tylenda
&lt;br&gt;&lt;br&gt;&lt;br&gt;When sequence table does not exist and mutliple threads get EntityManagers from EntityManageFactory, an insert into sequence table may fail because of duplicate primary key value.
&lt;br&gt;&lt;br&gt;EMF is created lazily by default and users reported various problems with concurrent initialization (e.g. failures in resolving aliases in JPQL queries, IIRC) of EMF. This issue might have the same roots.
&lt;br&gt;&lt;br&gt;Issue and test case originally reported by Pinaki in OPENJPA-466.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1372-Generating-identifiers-by-using-sequence-table-may-fail-during-sequence-tan-tp3925259p3925259.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3925704</id>
	<title>[jira] Commented: (OPENJPA-1371) Insert is called instead of Update when merge() with derived Identity</title>
	<published>2009-10-31T17:43:59Z</published>
	<updated>2009-10-31T17:43:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12772296#action_12772296&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12772296#action_12772296&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Fay Wang commented on OPENJPA-1371:
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;During merge, openjpa needs to retrieve id from the entity to decide whether this is a new entity or a detached one. If it thinks it is a new entity, an INSERT will be perform. Otherwise, an Update statement will be executed. 
&lt;br&gt;If &amp;nbsp;(1) an entity has the compound primary key using IdClass, and 
&lt;br&gt;&amp;nbsp; &amp;nbsp; (2) some field in the IdClass is a derived identity from a OneToOne/ManyToOne field,
&lt;br&gt;&amp;nbsp; &amp;nbsp; (3) that value in that field has not yet become managed (i.e., does not have the StateManagerImpl yet),
&lt;br&gt;this field in the IdClass will not be populated, as the primary key of the OneToOne/ManyToOne field usually can not be fetched back without an associated StateManagerImpl, unless it has a single-value primary key. 
&lt;br&gt;&lt;br&gt;Currently openjpa returns the null value for this field in the IdClass regardlessly in the above situation. &amp;nbsp;The patch provides a relief when this derived identity-relation field has a single value primary key. It should fix the problem reported by Constantine. However, the limitation for nested/multi-level compound primary (e.g. Stock entity has compound primary key using IdClass, and some value in the idClass is a derived-identity relation field, ...) during merge remains. &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Insert is called instead of Update when merge() with derived Identity
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1371
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1371&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1371&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: kernel
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.0-M3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Fay Wang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.0-M3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Insert is called instead of Update when merge() with derived Identity:
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1371-Insert-is-called-instead-of-Update-when-merge-with-derived-Identity-tp3921888p3925704.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3921888"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3922057</id>
	<title>[jira] Commented: (OPENJPA-1371) Insert is called instead of Update when merge() with derived Identity</title>
	<published>2009-10-30T16:36:59Z</published>
	<updated>2009-10-30T16:36:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; [ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12772179#action_12772179&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12772179#action_12772179&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Fay Wang commented on OPENJPA-1371:
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;The following test scenario is provided by Constantine Kulak &amp;lt;&lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3922057&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;&amp;gt;:
&lt;br&gt;&lt;br&gt;There are three entities where PrognosisEntry has derived identity:
&lt;br&gt;&lt;br&gt;***** Source for Prognosis.java:
&lt;br&gt;&lt;br&gt;&amp;nbsp;@Entity(name = &amp;quot;Prognosis&amp;quot;)
&lt;br&gt;&amp;nbsp;@Table(name = &amp;quot;PROGNOSIS&amp;quot;)
&lt;br&gt;&amp;nbsp;@IdClass(Prognosis.PrognosisId.class)
&lt;br&gt;&amp;nbsp;@Inheritance(strategy = InheritanceType.JOINED)
&lt;br&gt;&amp;nbsp;public class Prognosis {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;protected List&amp;lt;PrognosisEntry&amp;gt; entries;
&lt;br&gt;&amp;nbsp; &amp;nbsp; protected String station;
&lt;br&gt;&amp;nbsp; &amp;nbsp; protected String type;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; @OneToMany(targetEntity = PrognosisEntry.class, cascade = {CascadeType.MERGE}, mappedBy=&amp;quot;prognosis&amp;quot;, fetch=FetchType.EAGER)
&lt;br&gt;&amp;nbsp; &amp;nbsp; public List&amp;lt;PrognosisEntry&amp;gt; getEntries() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (entries == null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; entries = new ArrayList&amp;lt;PrognosisEntry&amp;gt;();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return this.entries;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void setEntries(List&amp;lt;PrognosisEntry&amp;gt; entries) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.entries = entries;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; @Id
&lt;br&gt;&amp;nbsp; &amp;nbsp; @Column(name = &amp;quot;STATION&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; public String getStation() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return station;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void setStation(String value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.station = value;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; @Id
&lt;br&gt;&amp;nbsp; &amp;nbsp; @Column(name = &amp;quot;TYPE_&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; public String getType() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return type;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void setType(String value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.type = value;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public boolean equals(Object object) { ... }
&lt;br&gt;&amp;nbsp; &amp;nbsp; public int hashCode() { ... }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public static class PrognosisId {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected String station;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected String type;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public String getStation() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return station;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void setStation(String value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.station = value;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public String getType() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return type;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void setType(String value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.type = value;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public boolean equals(Object object) { ... }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public int hashCode() { ... }
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;***** Source for PrognosisEntry.java:
&lt;br&gt;&lt;br&gt;&amp;nbsp;@Entity(name = &amp;quot;PrognosisEntry&amp;quot;)
&lt;br&gt;&amp;nbsp;@Table(name = &amp;quot;PROGNOSISENTRY&amp;quot;)
&lt;br&gt;&amp;nbsp;@Inheritance(strategy = InheritanceType.JOINED)
&lt;br&gt;&amp;nbsp;@IdClass(PrognosisEntry.PrognosisEntryId.class)
&lt;br&gt;&amp;nbsp;public class PrognosisEntry {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; protected String timestamp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; protected String localState;
&lt;br&gt;&amp;nbsp; &amp;nbsp; protected Prognosis prognosis;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; protected Stock stock;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; @Id
&lt;br&gt;&amp;nbsp; &amp;nbsp; @ManyToOne(targetEntity = Stock.class, cascade = { CascadeType.MERGE }, fetch = FetchType.EAGER)
&lt;br&gt;&amp;nbsp; &amp;nbsp; public Stock getStock() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return stock;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void setStock(Stock stock) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.stock = stock;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; @Id
&lt;br&gt;&amp;nbsp; &amp;nbsp; @ManyToOne(targetEntity = Prognosis.class, cascade = { CascadeType.MERGE }, fetch = FetchType.EAGER)
&lt;br&gt;&amp;nbsp; &amp;nbsp; public Prognosis getPrognosis() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return prognosis;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void setPrognosis(Prognosis prognosis) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.prognosis = prognosis;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; @Column(name = &amp;quot;TIMESTAMP_&amp;quot;, length = 255)
&lt;br&gt;&amp;nbsp; &amp;nbsp; public String getTimestamp() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return timestamp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void setTimestamp(String value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.timestamp = value;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; @Basic
&lt;br&gt;&amp;nbsp; &amp;nbsp; @Column(name = &amp;quot;LOCALSTATE&amp;quot;, length = 255)
&lt;br&gt;&amp;nbsp; &amp;nbsp; public String getLocalState() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return localState;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void setLocalState(String value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.localState = value;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public boolean equals(Object object) { ... }
&lt;br&gt;&amp;nbsp; &amp;nbsp; public int hashCode() { ... }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public static class PrognosisEntryId {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected Prognosis.PrognosisId prognosis;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected String stock;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public String getStock() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return stock;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void setStock(String stock) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.stock = stock;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public Prognosis.PrognosisId getPrognosis() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return prognosis;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void setPrognosis(Prognosis.PrognosisId prognosis) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.prognosis = prognosis;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public boolean equals(Object object) { ... }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public int hashCode() { ... }
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;***** Source for Stock.java:
&lt;br&gt;&lt;br&gt;&amp;nbsp;@Entity(name = &amp;quot;Stock&amp;quot;)
&lt;br&gt;&amp;nbsp;@Table(name = &amp;quot;STOCK&amp;quot;)
&lt;br&gt;&amp;nbsp;@Inheritance(strategy = InheritanceType.JOINED)
&lt;br&gt;&amp;nbsp;public class Stock {
&lt;br&gt;&amp;nbsp; &amp;nbsp; protected String index;
&lt;br&gt;&amp;nbsp; &amp;nbsp; protected String length;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; @Id
&lt;br&gt;&amp;nbsp; &amp;nbsp; @Column(name = &amp;quot;INDEX_&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; public String getIndex() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return index;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void setIndex(String value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.index = value;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; @Basic
&lt;br&gt;&amp;nbsp; &amp;nbsp; @Column(name = &amp;quot;LENGTH_&amp;quot;, length = 255)
&lt;br&gt;&amp;nbsp; &amp;nbsp; public String getLength() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return length;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void setLength(String value) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.length = value;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public boolean equals(Object object) { ... }
&lt;br&gt;&amp;nbsp; &amp;nbsp; public int hashCode() { ... }
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;The test scenario: 
&lt;br&gt;(1) create a Prognosis entity with a list of PrognosisEntry.
&lt;br&gt;(2) call em.merge(newEntity) and commit
&lt;br&gt;(3) call em.clear()
&lt;br&gt;(4) call em.merge(newEntity)
&lt;br&gt;&lt;br&gt;Step (4) generate insert statement to insert PrognosisEntry again, resulting in unique constraint violation from the database.
&lt;br&gt;&lt;br&gt;It appears that the ApplicationIds.create(pc, meta) where pc is PrognosisEntry, the oid does not have complete id values.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Insert is called instead of Update when merge() with derived Identity
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1371
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1371&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1371&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: kernel
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.0-M3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Fay Wang
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.0-M3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Insert is called instead of Update when merge() with derived Identity:
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1371-Insert-is-called-instead-of-Update-when-merge-with-derived-Identity-tp3921888p3922057.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3921888"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3921888</id>
	<title>[jira] Created: (OPENJPA-1371) Insert is called instead of Update when merge() with derived Identity</title>
	<published>2009-10-30T15:51:59Z</published>
	<updated>2009-10-30T15:51:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Insert is called instead of Update when merge() with derived Identity
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1371
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1371&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1371&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: kernel
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0-M3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Fay Wang
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 2.0.0-M3
&lt;br&gt;&lt;br&gt;&lt;br&gt;Insert is called instead of Update when merge() with derived Identity:
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1371-Insert-is-called-instead-of-Update-when-merge-with-derived-Identity-tp3921888p3921888.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3933297</id>
	<title>[jira] Resolved: (OPENJPA-1370) JPA2 missing implementation for createNamedQuery(String name, Class&lt;T&gt; resultClass)</title>
	<published>2009-11-02T09:34:59Z</published>
	<updated>2009-11-02T09:34:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Catalina Wei resolved OPENJPA-1370.
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Resolution: Fixed
&lt;br&gt;&amp;nbsp; &amp;nbsp; Fix Version/s: 2.0.0
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; JPA2 missing implementation for createNamedQuery(String name, Class&amp;lt;T&amp;gt; resultClass)
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1370
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1370&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1370&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: jpa
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.0
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Catalina Wei
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Catalina Wei
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Missing implementation for createNamedQuery(String name, Class&amp;lt;T&amp;gt; resultClass), when attempted, it reports 
&lt;br&gt;&amp;gt; UnsupportedOperationException()
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1370-JPA2-missing-implementation-for-createNamedQuery-String-name-Class-T-resul-tp3921379p3933297.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3921379"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3921379</id>
	<title>[jira] Created: (OPENJPA-1370) JPA2 missing implementation for createNamedQuery(String name, Class&lt;T&gt; resultClass)</title>
	<published>2009-10-30T13:41:59Z</published>
	<updated>2009-10-30T13:41:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">JPA2 missing implementation for createNamedQuery(String name, Class&amp;lt;T&amp;gt; resultClass)
&lt;br&gt;-----------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1370
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1370&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1370&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: jpa
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Catalina Wei
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Catalina Wei
&lt;br&gt;&lt;br&gt;&lt;br&gt;Missing implementation for createNamedQuery(String name, Class&amp;lt;T&amp;gt; resultClass), when attempted, it reports 
&lt;br&gt;UnsupportedOperationException()
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1370-JPA2-missing-implementation-for-createNamedQuery-String-name-Class-T-resul-tp3921379p3921379.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3919658</id>
	<title>[jira] Created: (OPENJPA-1369) Junit test failures (mostly Criteria and Lockmgr) with HSQLDB</title>
	<published>2009-10-30T08:35:59Z</published>
	<updated>2009-10-30T08:35:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Junit test failures (mostly Criteria and Lockmgr) with HSQLDB
&lt;br&gt;-------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1369
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1369&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1369&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: third-party
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0-M4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Donald Woods
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 2.0.0
&lt;br&gt;&lt;br&gt;&lt;br&gt;Seeing lots of junit failures with HSQLDB 1.8.0.10, with a majority of them in the Criteria tests -
&lt;br&gt;&lt;br&gt;openjpa-persistence-jdbc - Tests run: 2181, Failures: 158, Errors: 17, Skipped: 0
&lt;br&gt;openjpa-persistence-locking - Tests run: 179, Failures: 64, Errors: 32, Skipped: 0
&lt;br&gt;&lt;br&gt;Failed tests: 
&lt;br&gt;&amp;nbsp; testLeftFetchJoin(org.apache.openjpa.persistence.criteria.TestFetchJoin)
&lt;br&gt;&amp;nbsp; testEmbeddableContainingRelationWithGeneratedKey(org.apache.openjpa.persistence.embed.TestEmbeddable)
&lt;br&gt;&amp;nbsp; testDateStringAsParameter(org.apache.openjpa.persistence.criteria.TestDateStringConversion)
&lt;br&gt;&amp;nbsp; testThrowsEntityExistsException(org.apache.openjpa.persistence.exception.TestException)
&lt;br&gt;&amp;nbsp; testBasicFieldsWithNonDefaultValue(org.apache.openjpa.persistence.criteria.TestQueryByExample)
&lt;br&gt;&amp;nbsp; testExcludeBasicFieldWithNonDefaultValue(org.apache.openjpa.persistence.criteria.TestQueryByExample)
&lt;br&gt;&amp;nbsp; testConcatSubStringFunc1(org.apache.openjpa.persistence.criteria.TestTypeSafeCondExpression)
&lt;br&gt;&amp;nbsp; testConcatSubStringFunc2(org.apache.openjpa.persistence.criteria.TestTypeSafeCondExpression)
&lt;br&gt;&amp;nbsp; testHandlerToHandlerMaps(org.apache.openjpa.persistence.relations.TestMapCollectionToBlob)
&lt;br&gt;&amp;nbsp; testKeyExpression(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testSubqueries2(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testSubqueries3(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testSubqueries4(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testSubqueries5(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testSubqueries6(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testFetchJoins(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testIndexExpression(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testExpressions(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testOrdering1(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testOrdering2(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testOrdering3(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testSimpleLeftJoin(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testMultiLevelJoins(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testJoinsNotPresentInWhereClause(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testJoinedPathInProjection(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testIsEmptyExpression(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testExpressionInProjection(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testIndexExpressionAndLietral(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testAggregateInProjection(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testExpression1(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testExpression3(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testSelectList1(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testConstructorInProjection(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testKeys1(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testKeys2(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testKeys3(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testKeys4(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testKeys5(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testKeys6(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testKeys7(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testKeys8(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testValues1(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testValues2(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testValues3(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testValue4(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testValues5(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testValues6(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testValues7(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testValue8(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testGetIdGeneratorSeqGen(org.apache.openjpa.persistence.generationtype.TestNativeSeqGenerator)
&lt;br&gt;&amp;nbsp; testIndex(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testSum(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testIsEmpty(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testFetchJoins(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testJoins1(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testJoins2(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testKey(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testRestrictQueryResult(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testExpressions(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testSelectList(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testSubquery2(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testSubquery3(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testSubquery4(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testSubquery5(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testSubquery6(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testOrdering1(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testOrdering2(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testOrdering3(org.apache.openjpa.persistence.criteria.TestStringCriteria)
&lt;br&gt;&amp;nbsp; testSubquery01(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery02(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery03(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery04(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery05(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery06(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery07(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery08(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery09(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery10(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery11(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery12(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery13(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery14(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery15(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery16(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery17(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery18(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery19(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery20(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubquery21(org.apache.openjpa.persistence.criteria.TestSubqueries)
&lt;br&gt;&amp;nbsp; testSubqueries2(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries3(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries4(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries4a(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries4b(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries4c(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries4d(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries4e(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries5(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries5a(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries6(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries6a(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries6b(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries6c(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries6d(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries6e(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries6f(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries6g(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubqueries6h(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testExist1b(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testNotExist1a(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery01(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery02(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery03(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery04(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery05(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery06(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery07(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery08(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery09(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery10(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery11(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery12(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery13(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery14(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery15(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery16(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery17(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery18(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery19(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery20(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery21(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery24(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSubquery25(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testCorrelatedNestedSubquery1(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testCorrelatedNestedSubquery1a(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testPluralCorrelatedJoin1(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testPluralCorrelatedJoin3(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testPluralCorrelatedJoin4(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testPluralCorrelatedJoin5(org.apache.openjpa.persistence.criteria.TestJPQLSubquery)
&lt;br&gt;&amp;nbsp; testSetAndListJoins(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testLeftSetJoin(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testFetchJoins(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testKeyPathNavigation(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testIndexExpression(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testIsEmptyExpressionOnJoin(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testFunctionalExpressionInProjection(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testJoinAndIndexExpression(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testAggregateExpressionInProjection(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testKeyExpressionInSelectList(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testConstructorInSelectList(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testSubqueryWithExistsClause(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testSubqueryWithAllClause(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testCorrelatedSubqueryWithCount(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testCorrelatedSubqueryWithJoin(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testCorrelatedSubqueryWithAllClause(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testOrderingByExpressionNotIncludedInSelection(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testOrderingByExpressionIncludedInSelection(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testOrderingWithNumericalExpressionInSelection(org.apache.openjpa.persistence.criteria.TestMetaModelTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testGetLockMode(org.apache.openjpa.persistence.lockmgr.TestEmLockMode)
&lt;br&gt;&amp;nbsp; testRefreshReadPessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshReadPessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshReadPessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshWritePessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshWritePessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshWritePessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimisticReadRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimisticReadWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimisticReadPessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimisticReadPessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimisticReadPessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimsiticWriteRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimsiticWriteWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimsiticWritePessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimsiticWritePessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimsiticWritePessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimsiticForceIncRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimsiticForceIncWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimsiticForceIncPessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimsiticForceIncPessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testRefreshPessimsiticForceIncPessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerRefreshPermutation)
&lt;br&gt;&amp;nbsp; testFindReadPessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindReadPessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindReadPessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindWritePessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindWritePessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindWritePessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimisticReadRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimisticReadWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimisticReadPessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimisticReadPessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimisticReadPessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimsiticWriteRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimsiticWriteWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimsiticWritePessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimsiticWritePessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimsiticWritePessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimsiticForceIncRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimsiticForceIncWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimsiticForceIncPessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimsiticForceIncPessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testFindPessimsiticForceIncPessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerFindPermutation)
&lt;br&gt;&amp;nbsp; testLockReadPessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockReadPessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockReadPessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockWritePessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockWritePessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockWritePessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimisticReadRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimisticReadWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimisticReadPessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimisticReadPessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimisticReadPessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimsiticWriteRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimsiticWriteWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimsiticWritePessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimsiticWritePessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimsiticWritePessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimsiticForceIncRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimsiticForceIncWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimsiticForceIncPessimisticRead(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimsiticForceIncPessimisticWrite(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&amp;nbsp; testLockPessimsiticForceIncPessimisticForceInc(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerLockPermutation)
&lt;br&gt;&lt;br&gt;Tests in error: 
&lt;br&gt;&amp;nbsp; testFetchJoin(org.apache.openjpa.persistence.criteria.TestFetchJoin)
&lt;br&gt;&amp;nbsp; testDateString(org.apache.openjpa.persistence.criteria.TestDateStringConversion)
&lt;br&gt;&amp;nbsp; testQuery(org.apache.openjpa.persistence.relations.TestRelationFieldAsPrimaryKeyAndForeignKey)
&lt;br&gt;&amp;nbsp; testBasicFieldWithDefaultValueExcludedByDefaultStyle(org.apache.openjpa.persistence.criteria.TestQueryByExample)
&lt;br&gt;&amp;nbsp; testBasicFieldWithDefaultValueCanBeIncludedByStyle(org.apache.openjpa.persistence.criteria.TestQueryByExample)
&lt;br&gt;&amp;nbsp; testRelationFieldWithNonDefaultValue(org.apache.openjpa.persistence.criteria.TestQueryByExample)
&lt;br&gt;&amp;nbsp; testRelationFieldWithNullValueIncluded(org.apache.openjpa.persistence.criteria.TestQueryByExample)
&lt;br&gt;&amp;nbsp; testEmbeddedField(org.apache.openjpa.persistence.criteria.TestQueryByExample)
&lt;br&gt;&amp;nbsp; testSqlOrder(org.apache.openjpa.jdbc.kernel.TestNoForeignKeyViolation)
&lt;br&gt;&amp;nbsp; testLogicalPredicateAssociativity(org.apache.openjpa.persistence.criteria.TestCriteria)
&lt;br&gt;&amp;nbsp; testPessimisticLocking(org.apache.openjpa.persistence.kernel.TestPessimisticLocking)
&lt;br&gt;&amp;nbsp; testPessimisticLockingInternal(org.apache.openjpa.persistence.kernel.TestPessimisticLocking)
&lt;br&gt;&amp;nbsp; testConcatSubStringFunc(org.apache.openjpa.persistence.jpql.functions.TestEJBQLFunction)
&lt;br&gt;&amp;nbsp; testJoinKey(org.apache.openjpa.persistence.criteria.TestTypesafeCriteria)
&lt;br&gt;&amp;nbsp; testGeneratedAUTO(org.apache.openjpa.persistence.generationtype.TestMultipleSchemaNames)
&lt;br&gt;&amp;nbsp; testGeneratedTABLE(org.apache.openjpa.persistence.generationtype.TestMultipleSchemaNames)
&lt;br&gt;&amp;nbsp; testGeneratedIDENTITY(org.apache.openjpa.persistence.generationtype.TestMultipleSchemaNames)
&lt;br&gt;&amp;nbsp; testNormalUni1xmLock(org.apache.openjpa.persistence.lock.extended.Test1xmLockScope)
&lt;br&gt;&amp;nbsp; testExtendedUni1xmLock(org.apache.openjpa.persistence.lock.extended.Test1xmLockScope)
&lt;br&gt;&amp;nbsp; testNormalUni1xmEagerLock(org.apache.openjpa.persistence.lock.extended.Test1xmLockScope)
&lt;br&gt;&amp;nbsp; testExtendedUni1xmEagerLock(org.apache.openjpa.persistence.lock.extended.Test1xmLockScope)
&lt;br&gt;&amp;nbsp; testNormalUni1xmJTLock(org.apache.openjpa.persistence.lock.extended.Test1xmLockScope)
&lt;br&gt;&amp;nbsp; testExtendedUni1xmJTLock(org.apache.openjpa.persistence.lock.extended.Test1xmLockScope)
&lt;br&gt;&amp;nbsp; testNormalUni1xmJTEagerLock(org.apache.openjpa.persistence.lock.extended.Test1xmLockScope)
&lt;br&gt;&amp;nbsp; testExtendedUni1xmJTEagerLock(org.apache.openjpa.persistence.lock.extended.Test1xmLockScope)
&lt;br&gt;&amp;nbsp; testFindLockModeIsolations(org.apache.openjpa.persistence.lockmgr.TestEmLockMode)
&lt;br&gt;&amp;nbsp; testRefreshLockModeIsolations(org.apache.openjpa.persistence.lockmgr.TestEmLockMode)
&lt;br&gt;&amp;nbsp; testLockLockModeIsolations(org.apache.openjpa.persistence.lockmgr.TestEmLockMode)
&lt;br&gt;&amp;nbsp; testNormalBasicLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testExtendedBasicLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testNormalSecTableLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testExtendedSecTableLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testNormalSingleTableLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testExtendedlSingleTableLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testNormalJoinedLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testExtendedJoinedLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testNormalElementCollectionLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testExtendedElementCollectionLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testNormalElementCollectionEagerLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testExtendedElementCollectionEagerLock(org.apache.openjpa.persistence.lock.extended.TestBasicLockScope)
&lt;br&gt;&amp;nbsp; testNormalUni1x1Lock(org.apache.openjpa.persistence.lock.extended.Test1x1LockScope)
&lt;br&gt;&amp;nbsp; testExtendedUni1x1Lock(org.apache.openjpa.persistence.lock.extended.Test1x1LockScope)
&lt;br&gt;&amp;nbsp; testNormalUni1x1LazyLock(org.apache.openjpa.persistence.lock.extended.Test1x1LockScope)
&lt;br&gt;&amp;nbsp; testExtendedUni1x1LazyLock(org.apache.openjpa.persistence.lock.extended.Test1x1LockScope)
&lt;br&gt;&amp;nbsp; testNormalUni1x1JTLock(org.apache.openjpa.persistence.lock.extended.Test1x1LockScope)
&lt;br&gt;&amp;nbsp; testExtendedUni1x1JTLock(org.apache.openjpa.persistence.lock.extended.Test1x1LockScope)
&lt;br&gt;&amp;nbsp; testNormalUni1x1JTLazyLock(org.apache.openjpa.persistence.lock.extended.Test1x1LockScope)
&lt;br&gt;&amp;nbsp; testExtendedUni1x1JTLazyLock(org.apache.openjpa.persistence.lock.extended.Test1x1LockScope)
&lt;br&gt;&amp;nbsp; testFindNonVersionWithLock(org.apache.openjpa.persistence.lockmgr.TestMixedLockManagerNonVersion)
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1369-Junit-test-failures-mostly-Criteria-and-Lockmgr-with-HSQLDB-tp3919658p3919658.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3919874</id>
	<title>[jira] Resolved: (OPENJPA-1368) Upgrade to HSQLDB 1.8.0.10 and in-memory db for unit tests</title>
	<published>2009-10-30T09:09:59Z</published>
	<updated>2009-10-30T09:09:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Donald Woods resolved OPENJPA-1368.
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Committed to 1.3.x and trunk
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Upgrade to HSQLDB 1.8.0.10 and in-memory db for unit tests
&lt;br&gt;&amp;gt; ----------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1368
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1368&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1368&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: third-party
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Donald Woods
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Donald Woods
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 1.3.0, 2.0.0-M4
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Upgrade to HSQLDB 1.8.0.10, which is the latest release on the maven repos.
&lt;br&gt;&amp;gt; Switch to in-memory db mode, from stand-alone db server mode for easier unit testing.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1368-Upgrade-to-HSQLDB-1-8-0-10-and-in-memory-db-for-unit-tests-tp3919403p3919874.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3919403"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3919403</id>
	<title>[jira] Created: (OPENJPA-1368) Upgrade to HSQLDB 1.8.0.10 and in-memory db for unit tests</title>
	<published>2009-10-30T07:56:59Z</published>
	<updated>2009-10-30T07:56:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Upgrade to HSQLDB 1.8.0.10 and in-memory db for unit tests
&lt;br&gt;----------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1368
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1368&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1368&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Improvement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: third-party
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Donald Woods
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Donald Woods
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 1.3.0, 2.0.0-M4
&lt;br&gt;&lt;br&gt;&lt;br&gt;Upgrade to HSQLDB 1.8.0.10, which is the latest release on the maven repos.
&lt;br&gt;Switch to in-memory db mode, from stand-alone db server mode for easier unit testing.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1368-Upgrade-to-HSQLDB-1-8-0-10-and-in-memory-db-for-unit-tests-tp3919403p3919403.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3918760</id>
	<title>[jira] Created: (OPENJPA-1367) H2 Database Engine does support cross join</title>
	<published>2009-10-30T06:00:59Z</published>
	<updated>2009-10-30T06:00:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">H2 Database Engine does support cross join
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1367
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1367&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1367&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: docs, jpa
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0-M1, 1.2.1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Thomas Mueller
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&lt;br&gt;&lt;br&gt;The documentation says that the H2 database does not support cross joins:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://openjpa.apache.org/builds/1.2.1/apache-openjpa-1.2.1/docs/manual/dbsupport_h2.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://openjpa.apache.org/builds/1.2.1/apache-openjpa-1.2.1/docs/manual/dbsupport_h2.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://openjpa.apache.org/builds/2.0.0-M3/apache-openjpa-2.0.0-M3/docs/manual/main.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://openjpa.apache.org/builds/2.0.0-M3/apache-openjpa-2.0.0-M3/docs/manual/main.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;H2 does support cross join since a long time (I don't remember what version). See: &lt;a href=&quot;http://www.h2database.com/html/grammar.html#table_expression&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.h2database.com/html/grammar.html#table_expression&lt;/a&gt;&amp;nbsp;(CROSS). A condition is not required for cross join.
&lt;br&gt;&lt;br&gt;I think the documentation should be changed, and probably the H2Dictionary should be changed as well (crossJoinClause = &amp;quot;CROSS JOIN&amp;quot;; requiresConditionForCrossJoin = false;).
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1367-H2-Database-Engine-does-support-cross-join-tp3918760p3918760.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3920570</id>
	<title>[jira] Resolved: (OPENJPA-1366) Remove need for an EMF from OpenJPAPersistenceUtil and TraversableResolverImpl</title>
	<published>2009-10-30T11:04:59Z</published>
	<updated>2009-10-30T11:04:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Donald Woods resolved OPENJPA-1366.
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;committed to trunk as r831406
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Remove need for an EMF from OpenJPAPersistenceUtil and TraversableResolverImpl
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1366
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1366&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1366&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: validation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.0-M3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Donald Woods
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Donald Woods
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.0-M4
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As pointed out by Pinaki and confirmed by Jeremy, we don't need an EMF for the isLoaded() call.
&lt;br&gt;&amp;gt; From Pinaki - We can answer isLoaded() without really asking every broker to llok up in its cache or something. If the given instance pc is PersitenceCapable and has a non-null StateManager -- it is managed by us. If the question is: is pc managed by a specific EMF e, then also we can navigate from pc-&amp;gt;sm-&amp;gt;broker-&amp;gt;brokerfactory-&amp;gt;emf and compare by reference with e.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1366-Remove-need-for-an-EMF-from-OpenJPAPersistenceUtil-isLoaded-and-Traversabll-tp3915501p3920570.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3915501"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3919944</id>
	<title>[jira] Work started: (OPENJPA-1366) Remove need for an EMF from OpenJPAPersistenceUtil and TraversableResolverImpl</title>
	<published>2009-10-30T09:21:59Z</published>
	<updated>2009-10-30T09:21:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Work on OPENJPA-1366 started by Donald Woods.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Remove need for an EMF from OpenJPAPersistenceUtil and TraversableResolverImpl
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1366
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1366&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1366&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: validation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.0-M3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Donald Woods
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Donald Woods
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.0-M4
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As pointed out by Pinaki and confirmed by Jeremy, we don't need an EMF for the isLoaded() call.
&lt;br&gt;&amp;gt; From Pinaki - We can answer isLoaded() without really asking every broker to llok up in its cache or something. If the given instance pc is PersitenceCapable and has a non-null StateManager -- it is managed by us. If the question is: is pc managed by a specific EMF e, then also we can navigate from pc-&amp;gt;sm-&amp;gt;broker-&amp;gt;brokerfactory-&amp;gt;emf and compare by reference with e.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1366-Remove-need-for-an-EMF-from-OpenJPAPersistenceUtil-isLoaded-and-Traversabll-tp3915501p3919944.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3915501"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3915515</id>
	<title>[jira] Updated: (OPENJPA-1366) Remove need for an EMF from OpenJPAPersistenceUtil and TraversableResolverImpl</title>
	<published>2009-10-29T14:05:59Z</published>
	<updated>2009-10-29T14:05:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Donald Woods updated OPENJPA-1366:
&lt;br&gt;----------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Summary: Remove need for an EMF from OpenJPAPersistenceUtil and TraversableResolverImpl &amp;nbsp;(was: Remove need for an EMF from OpenJPAPersistenceUtil.isLoaded() and TraversableResolverImpl)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Remove need for an EMF from OpenJPAPersistenceUtil and TraversableResolverImpl
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1366
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1366&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1366&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Improvement
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: validation
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 2.0.0-M3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Donald Woods
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Donald Woods
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Priority: Minor
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: 2.0.0-M4
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As pointed out by Pinaki and confirmed by Jeremy, we don't need an EMF for the isLoaded() call.
&lt;br&gt;&amp;gt; From Pinaki - We can answer isLoaded() without really asking every broker to llok up in its cache or something. If the given instance pc is PersitenceCapable and has a non-null StateManager -- it is managed by us. If the question is: is pc managed by a specific EMF e, then also we can navigate from pc-&amp;gt;sm-&amp;gt;broker-&amp;gt;brokerfactory-&amp;gt;emf and compare by reference with e.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1366-Remove-need-for-an-EMF-from-OpenJPAPersistenceUtil-isLoaded-and-Traversabll-tp3915501p3915515.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3915501"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3915501</id>
	<title>[jira] Created: (OPENJPA-1366) Remove need for an EMF from OpenJPAPersistenceUtil.isLoaded() and TraversableResolverImpl</title>
	<published>2009-10-29T14:03:59Z</published>
	<updated>2009-10-29T14:03:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Remove need for an EMF from OpenJPAPersistenceUtil.isLoaded() and TraversableResolverImpl
&lt;br&gt;-----------------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1366
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1366&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1366&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Improvement
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: validation
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 2.0.0-M3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Donald Woods
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Donald Woods
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Priority: Minor
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: 2.0.0-M4
&lt;br&gt;&lt;br&gt;&lt;br&gt;As pointed out by Pinaki and confirmed by Jeremy, we don't need an EMF for the isLoaded() call.
&lt;br&gt;&lt;br&gt;From Pinaki - We can answer isLoaded() without really asking every broker to llok up in its cache or something. If the given instance pc is PersitenceCapable and has a non-null StateManager -- it is managed by us. If the question is: is pc managed by a specific EMF e, then also we can navigate from pc-&amp;gt;sm-&amp;gt;broker-&amp;gt;brokerfactory-&amp;gt;emf and compare by reference with e.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1366-Remove-need-for-an-EMF-from-OpenJPAPersistenceUtil-isLoaded-and-Traversabll-tp3915501p3915501.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3946237</id>
	<title>[jira] Updated: (OPENJPA-1365) DISTINCT keyword has no effect with JOIN FETCH queries</title>
	<published>2009-11-04T08:11:32Z</published>
	<updated>2009-11-04T08:11:32Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[ &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Michael Dick updated OPENJPA-1365:
&lt;br&gt;----------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: OPENJPA-1365-1.0.x-patch.txt
&lt;br&gt;&lt;br&gt;Attaching patch for 1.0.x. It requires the changes for OPENJPA-894 however. 
&lt;br&gt;&lt;br&gt;both issues use the same testcase, and those are duplicated in the patch (I'll fix this when OPENJPA-894 is committed). 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; DISTINCT keyword has no effect with JOIN FETCH queries
&lt;br&gt;&amp;gt; ------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key: OPENJPA-1365
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1365&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1365&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: OpenJPA
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Bug
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: jpa, query
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: 1.0.4, 1.2.2, 1.3.0, 2.0.0-M4
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Michael Dick
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Michael Dick
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: OPENJPA-1365-1.0.x-patch.txt
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This issue occurs if the proposed fix for OPENJPA-894 is in place. Without that fix there results of a JOIN FETCH are always distinct when obtained from the database or non-distinct when returned from the persistence context's L1 cache. 
&lt;br&gt;&amp;gt; I started a discussion on this topic on the dev mailing list. The entire thread can be seen on Nabble here : &lt;a href=&quot;http://n2.nabble.com/How-should-we-handle-the-JPQL-DISTINCT-keyword-td3908400.html#a3908400&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/How-should-we-handle-the-JPQL-DISTINCT-keyword-td3908400.html#a3908400&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1365-DISTINCT-keyword-has-no-effect-with-JOIN-FETCH-queries-tp3914936p3946237.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3914936"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3914936</id>
	<title>[jira] Created: (OPENJPA-1365) DISTINCT keyword has no effect with JOIN FETCH queries</title>
	<published>2009-10-29T12:23:59Z</published>
	<updated>2009-10-29T12:23:59Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">DISTINCT keyword has no effect with JOIN FETCH queries
&lt;br&gt;------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key: OPENJPA-1365
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL: &lt;a href=&quot;https://issues.apache.org/jira/browse/OPENJPA-1365&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/OPENJPA-1365&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: OpenJPA
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Bug
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: jpa, query
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: 1.0.4, 1.2.2, 1.3.0, 2.0.0-M4
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Michael Dick
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Michael Dick
&lt;br&gt;&lt;br&gt;&lt;br&gt;This issue occurs if the proposed fix for OPENJPA-894 is in place. Without that fix there results of a JOIN FETCH are always distinct when obtained from the database or non-distinct when returned from the persistence context's L1 cache. 
&lt;br&gt;&lt;br&gt;I started a discussion on this topic on the dev mailing list. The entire thread can be seen on Nabble here : &lt;a href=&quot;http://n2.nabble.com/How-should-we-handle-the-JPQL-DISTINCT-keyword-td3908400.html#a3908400&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/How-should-we-handle-the-JPQL-DISTINCT-keyword-td3908400.html#a3908400&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;This message is automatically generated by JIRA.
&lt;br&gt;-
&lt;br&gt;You can reply to this email to add a comment to the issue online.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/jira-Created-OPENJPA-1365-DISTINCT-keyword-has-no-effect-with-JOIN-FETCH-queries-tp3914936p3914936.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3911425</id>
	<title>Fixing OpenJPA 1.3.x compilation issues in JDK 1.6</title>
	<published>2009-10-29T04:28:09Z</published>
	<updated>2009-10-29T04:28:09Z</updated>
	<author>
		<name>Milinda Pathirage</name>
	</author>
	<content type="html">Hi Pinaki,
&lt;br&gt;&lt;br&gt;I found your commit
&lt;br&gt;&lt;a href=&quot;http://n2.nabble.com/svn-commit-r813149-in-openjpa-trunk-openjpa-jdbc-src-main-java-org-apache-openjpa-jdbc-kernel-openjp-td3615171.html#a3615171which&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/svn-commit-r813149-in-openjpa-trunk-openjpa-jdbc-src-main-java-org-apache-openjpa-jdbc-kernel-openjp-td3615171.html#a3615171which&lt;/a&gt;&lt;br&gt;I think fix the compilation issues in JDK 1.6. Is that the &amp;nbsp;case. Will
&lt;br&gt;1.3.x compile with JDK 1.6 if I merge those changes to 1.3.x.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Milinda
&lt;br&gt;&lt;br&gt;------------------------------
&lt;br&gt;Milinda Pathirage
&lt;br&gt;Senior Software Engineer &amp; Product Manager WSO2 BPS; &lt;a href=&quot;http://wso2.org/bps&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/bps&lt;/a&gt;&lt;br&gt;WSO2 Inc.; &lt;a href=&quot;http://wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.com&lt;/a&gt;&lt;br&gt;E-mail: &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3911425&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;, &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3911425&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;
&lt;br&gt;Web: &lt;a href=&quot;http://mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mpathirage.com&lt;/a&gt;&lt;br&gt;Blog: &lt;a href=&quot;http://blog.mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.mpathirage.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/Fixing-OpenJPA-1-3-x-compilation-issues-in-JDK-1-6-tp3911425p3911425.html" />
	
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3916855</id>
	<title>Re: OSGi Aware Persistence Provider implementation</title>
	<published>2009-10-29T19:50:07Z</published>
	<updated>2009-10-29T19:50:07Z</updated>
	<author>
		<name>Milinda Pathirage</name>
	</author>
	<content type="html">Hi Donald,
&lt;br&gt;&lt;br&gt;Thanks for the tips.
&lt;br&gt;&lt;br&gt;Milinda
&lt;br&gt;&lt;br&gt;On Fri, Oct 30, 2009 at 2:19 AM, Donald Woods &amp;lt;&lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3916855&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; There is also the Aries project over in the Apache Incubator, which is
&lt;br&gt;&amp;gt; proposing to develop several of the upcoming OSGi JavaEE RFCs, along with
&lt;br&gt;&amp;gt; the Blueprint application environment. &amp;nbsp;I'm hoping that some of the RFC 143
&lt;br&gt;&amp;gt; work is already done by that project and just waiting on the early access
&lt;br&gt;&amp;gt; OSGi specs to be released before they can bring it into their svn repo and
&lt;br&gt;&amp;gt; share it with us....
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://incubator.apache.org/projects/aries.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://incubator.apache.org/projects/aries.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Donald
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Milinda Pathirage wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks Kevin for your answers. I'm using OpenJPA in Apache ODE which runs
&lt;br&gt;&amp;gt;&amp;gt; in
&lt;br&gt;&amp;gt;&amp;gt; a OSGi environment(WSO2 Carbon platform). I tried OpenJPA 2.0, but there
&lt;br&gt;&amp;gt;&amp;gt; were some issues with ODE's JPA queries. I'll try to port current
&lt;br&gt;&amp;gt;&amp;gt; implementation to work with OpenJPA 2.0. I also think that it's better if
&lt;br&gt;&amp;gt;&amp;gt; we
&lt;br&gt;&amp;gt;&amp;gt; can add OSGi support for OpenJPA 2.0 because I saw there are fixes in
&lt;br&gt;&amp;gt;&amp;gt; Geranimo JPA spec jar for OSGi related issues. I'll create a patch for
&lt;br&gt;&amp;gt;&amp;gt; OSGi
&lt;br&gt;&amp;gt;&amp;gt; related class loading issues and attach it to a JIRA.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks in advance,
&lt;br&gt;&amp;gt;&amp;gt; Milinda
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Thu, Oct 29, 2009 at 10:51 PM, Kevin Sutter &amp;lt;&lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3916855&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;Hi Milinda,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Yes, there is some interest in allowing OpenJPA usage in an OSGi
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; container
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; environment. &amp;nbsp;It's just not a &amp;quot;full time job&amp;quot; for any of us at the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; moment...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Porting the JDK 6 changes back to the 1.3.x release might cause some
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; concern
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; for those users of the 1.3.x branch. &amp;nbsp;Many of the changes would now
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; require
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the use of JDK 6 and we didn't want to force this onto the JPA 1.0 usage
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; community. &amp;nbsp;Thus, we limited the change to trunk for our JPA 2.0
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; development
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [1].
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Is there any reason why your experimentation and changes couldn't be
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; targeted for the JPA 2.0 implementation? &amp;nbsp;I think you will find our
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; current
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; M3 driver is quite solid, especially as it pertains to existing JPA 1.0
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; functionality. &amp;nbsp;Thus, any current JPA 1.0 applications should run
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; unchanged
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; with a JPA 2.0 driver.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Kevin
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [1]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://n2.nabble.com/DISCUSS-Drop-build-support-for-Java-5-td2539470i20.html#a3554445&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/DISCUSS-Drop-build-support-for-Java-5-td2539470i20.html#a3554445&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Thu, Oct 29, 2009 at 4:49 AM, Milinda Pathirage &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3916855&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I have another question. Is there any plan for fixing OpenJPA 1.3.x
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; compilation failures in JDK 1.6
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Milinda
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Thu, Oct 29, 2009 at 3:00 PM, Milinda Pathirage &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3916855&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;We are currently using OpenJPA 1.1.0 in equinox OSGi container by
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; making
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; a fragment of the bundle which use it to fix the issue of loading
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; persistence.xml. Now we want to use OpenJPA in two different OSGi
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; bundles
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and fragment hack will not work in this situation. Current 1.3.x
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; OpenJPA
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; implementation also doesn't support OSGi aware resource loading. We can
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; fix
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this by following the method use by Eclipselink. In this method what we
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; have
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to do is implement a OSGi aware Persistence Provider by extending the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; current Persistence Provider implementation and introduce bundle
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; activator
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to register persistence provider service at bundle activation. This
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; will
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; not
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; break the existing functionality of OpenJPA in J2SE environment and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; improve
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the support for OSGi containers.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Are there any plans to add OSGi support, if there any I would like to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; help.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I'll provide a patch ASAP for this.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Milinda
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Milinda Pathirage
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Senior Software Engineer &amp; Product Manager WSO2 BPS;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://wso2.org/bps&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/bps&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; WSO2 Inc.; &lt;a href=&quot;http://wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; E-mail: &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3916855&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;, &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3916855&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Web: &lt;a href=&quot;http://mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mpathirage.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Blog: &lt;a href=&quot;http://blog.mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.mpathirage.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Milinda Pathirage
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Senior Software Engineer &amp; Product Manager WSO2 BPS;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://wso2.org/bps&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/bps&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; WSO2 &amp;lt;&lt;a href=&quot;http://wso2.org/bps%0AWSO2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/bps%0AWSO2&lt;/a&gt;&amp;gt; Inc.; &lt;a href=&quot;http://wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; E-mail: &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3916855&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;, &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3916855&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Web: &lt;a href=&quot;http://mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mpathirage.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Blog: &lt;a href=&quot;http://blog.mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.mpathirage.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Milinda Pathirage
&lt;br&gt;Senior Software Engineer &amp; Product Manager WSO2 BPS; &lt;a href=&quot;http://wso2.org/bps&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/bps&lt;/a&gt;&lt;br&gt;WSO2 Inc.; &lt;a href=&quot;http://wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.com&lt;/a&gt;&lt;br&gt;E-mail: &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3916855&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;, &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3916855&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;
&lt;br&gt;Web: &lt;a href=&quot;http://mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mpathirage.com&lt;/a&gt;&lt;br&gt;Blog: &lt;a href=&quot;http://blog.mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.mpathirage.com&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/OSGi-Aware-Persistence-Provider-implementation-tp3910757p3916855.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3915426"/>
</entry>

<entry>
	<id>tag:n2.nabble.com,2006:post-3915426</id>
	<title>Re: OSGi Aware Persistence Provider implementation</title>
	<published>2009-10-29T13:49:57Z</published>
	<updated>2009-10-29T13:49:57Z</updated>
	<author>
		<name>DWoods</name>
	</author>
	<content type="html">There is also the Aries project over in the Apache Incubator, which is 
&lt;br&gt;proposing to develop several of the upcoming OSGi JavaEE RFCs, along 
&lt;br&gt;with the Blueprint application environment. &amp;nbsp;I'm hoping that some of the 
&lt;br&gt;RFC 143 work is already done by that project and just waiting on the 
&lt;br&gt;early access OSGi specs to be released before they can bring it into 
&lt;br&gt;their svn repo and share it with us....
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://incubator.apache.org/projects/aries.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://incubator.apache.org/projects/aries.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-Donald
&lt;br&gt;&lt;br&gt;&lt;br&gt;Milinda Pathirage wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks Kevin for your answers. I'm using OpenJPA in Apache ODE which runs in
&lt;br&gt;&amp;gt; a OSGi environment(WSO2 Carbon platform). I tried OpenJPA 2.0, but there
&lt;br&gt;&amp;gt; were some issues with ODE's JPA queries. I'll try to port current
&lt;br&gt;&amp;gt; implementation to work with OpenJPA 2.0. I also think that it's better if we
&lt;br&gt;&amp;gt; can add OSGi support for OpenJPA 2.0 because I saw there are fixes in
&lt;br&gt;&amp;gt; Geranimo JPA spec jar for OSGi related issues. I'll create a patch for OSGi
&lt;br&gt;&amp;gt; related class loading issues and attach it to a JIRA.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks in advance,
&lt;br&gt;&amp;gt; Milinda
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Thu, Oct 29, 2009 at 10:51 PM, Kevin Sutter &amp;lt;&lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3915426&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Hi Milinda,
&lt;br&gt;&amp;gt;&amp;gt; Yes, there is some interest in allowing OpenJPA usage in an OSGi container
&lt;br&gt;&amp;gt;&amp;gt; environment. &amp;nbsp;It's just not a &amp;quot;full time job&amp;quot; for any of us at the
&lt;br&gt;&amp;gt;&amp;gt; moment...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Porting the JDK 6 changes back to the 1.3.x release might cause some
&lt;br&gt;&amp;gt;&amp;gt; concern
&lt;br&gt;&amp;gt;&amp;gt; for those users of the 1.3.x branch. &amp;nbsp;Many of the changes would now require
&lt;br&gt;&amp;gt;&amp;gt; the use of JDK 6 and we didn't want to force this onto the JPA 1.0 usage
&lt;br&gt;&amp;gt;&amp;gt; community. &amp;nbsp;Thus, we limited the change to trunk for our JPA 2.0
&lt;br&gt;&amp;gt;&amp;gt; development
&lt;br&gt;&amp;gt;&amp;gt; [1].
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Is there any reason why your experimentation and changes couldn't be
&lt;br&gt;&amp;gt;&amp;gt; targeted for the JPA 2.0 implementation? &amp;nbsp;I think you will find our current
&lt;br&gt;&amp;gt;&amp;gt; M3 driver is quite solid, especially as it pertains to existing JPA 1.0
&lt;br&gt;&amp;gt;&amp;gt; functionality. &amp;nbsp;Thus, any current JPA 1.0 applications should run unchanged
&lt;br&gt;&amp;gt;&amp;gt; with a JPA 2.0 driver.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Kevin
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [1]
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://n2.nabble.com/DISCUSS-Drop-build-support-for-Java-5-td2539470i20.html#a3554445&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://n2.nabble.com/DISCUSS-Drop-build-support-for-Java-5-td2539470i20.html#a3554445&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Thu, Oct 29, 2009 at 4:49 AM, Milinda Pathirage &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3915426&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have another question. Is there any plan for fixing OpenJPA 1.3.x
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; compilation failures in JDK 1.6
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Milinda
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Thu, Oct 29, 2009 at 3:00 PM, Milinda Pathirage &amp;lt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3915426&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; We are currently using OpenJPA 1.1.0 in equinox OSGi container by
&lt;br&gt;&amp;gt;&amp;gt; making
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; a fragment of the bundle which use it to fix the issue of loading
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; persistence.xml. Now we want to use OpenJPA in two different OSGi
&lt;br&gt;&amp;gt;&amp;gt; bundles
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and fragment hack will not work in this situation. Current 1.3.x
&lt;br&gt;&amp;gt;&amp;gt; OpenJPA
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; implementation also doesn't support OSGi aware resource loading. We can
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; fix
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this by following the method use by Eclipselink. In this method what we
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; have
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to do is implement a OSGi aware Persistence Provider by extending the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; current Persistence Provider implementation and introduce bundle
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; activator
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to register persistence provider service at bundle activation. This
&lt;br&gt;&amp;gt;&amp;gt; will
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; not
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; break the existing functionality of OpenJPA in J2SE environment and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; improve
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the support for OSGi containers.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Are there any plans to add OSGi support, if there any I would like to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; help.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I'll provide a patch ASAP for this.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Milinda
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Milinda Pathirage
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Senior Software Engineer &amp; Product Manager WSO2 BPS;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://wso2.org/bps&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/bps&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; WSO2 Inc.; &lt;a href=&quot;http://wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; E-mail: &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3915426&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;, &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3915426&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Web: &lt;a href=&quot;http://mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mpathirage.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Blog: &lt;a href=&quot;http://blog.mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.mpathirage.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Milinda Pathirage
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Senior Software Engineer &amp; Product Manager WSO2 BPS; &lt;a href=&quot;http://wso2.org/bps&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/bps&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; WSO2 &amp;lt;&lt;a href=&quot;http://wso2.org/bps%0AWSO2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.org/bps%0AWSO2&lt;/a&gt;&amp;gt; Inc.; &lt;a href=&quot;http://wso2.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wso2.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; E-mail: &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3915426&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;, &lt;a href=&quot;http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3915426&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;[hidden email]&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Web: &lt;a href=&quot;http://mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mpathirage.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Blog: &lt;a href=&quot;http://blog.mpathirage.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blog.mpathirage.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://n2.nabble.com/OSGi-Aware-Persistence-Provider-implementation-tp3910757p3915426.html" />
	<thr:in-reply-to ref="tag:n2.nabble.com,2006:post-3914491"/>
</entry>

</feed>
