<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-23350</id>
	<title>Nabble - Apache JDO</title>
	<updated>2009-11-30T00:11:49Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Apache-JDO-f23350.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Apache-JDO-f23350.html" />
	<subtitle type="html">&lt;a href=&quot;http://db.apache.org/jdo/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Java Data Objects (JDO)&lt;/a&gt;&amp;nbsp;is a standard way to access persistent data in databases, using plain old Java objects (POJO) to represent persistent data. The approach separates data manipulation (done by accessing Java data members in the Java domain objects) from database manipulation (done by calling the JDO interface methods). This separation of concerns leads to a high degree of independence of the Java view of data from the database view of the data.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26571184</id>
	<title>Re: Support for if-then-else in JDOQL</title>
	<published>2009-11-30T00:11:49Z</published>
	<updated>2009-11-30T00:11:49Z</updated>
	<author>
		<name>Michael Bouschen-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I filed a JIRA for adding support for a conditional operator ? : in
&lt;br&gt;JDOQL: &lt;a href=&quot;https://issues.apache.org/jira/browse/JDO-650&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-650&lt;/a&gt;&lt;br&gt;&lt;br&gt;Regards Michael
&lt;br&gt;&lt;br&gt;&amp;gt; Hello.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am implementing the shortcut form for if-then-else (x ? y : c) in 
&lt;br&gt;&amp;gt; Querydsl.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there support for it in JDOQL? If not, could it be added?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Br,
&lt;br&gt;&amp;gt; Timo Westkämper.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;*Michael Bouschen*
&lt;br&gt;*Prokurist*
&lt;br&gt;&lt;br&gt;akquinet tech@spree GmbH
&lt;br&gt;Bülowstr. 66, D-10783 Berlin
&lt;br&gt;&lt;br&gt;Fon: &amp;nbsp; +49 30 235 520-33
&lt;br&gt;Fax: &amp;nbsp; +49 30 217 520-12
&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26571184&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.bouschen@...&lt;/a&gt;
&lt;br&gt;Url: &amp;nbsp; &amp;nbsp;www.akquinet.de &amp;lt;&lt;a href=&quot;http://www.akquinet.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.akquinet.de&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;akquinet tech@spree GmbH, Berlin
&lt;br&gt;Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth
&lt;br&gt;Amtsgericht Berlin-Charlottenburg HRB 86780 B
&lt;br&gt;USt.-Id. Nr.: DE 225 964 680
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Support-for-if-then-else-in-JDOQL-tp26571184p26571184.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565941</id>
	<title>[jira] Created: (JDO-650) Support for conditional operator ? : in JDOQL</title>
	<published>2009-11-29T12:51:20Z</published>
	<updated>2009-11-29T12:51:20Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Support for conditional operator ? : in JDOQL
&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: JDO-650
&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/JDO-650&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-650&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JDO
&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: specification, tck2
&lt;br&gt;&amp;nbsp; &amp;nbsp; Affects Versions: JDO 2 maintenance release 2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Michael Bouschen
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Michael Bouschen
&lt;br&gt;&lt;br&gt;&lt;br&gt;JDOQL should support the Java conditional operator ? :, e.g. salay &amp;gt;= 1000.0 ? salary : salary * 1.1
&lt;br&gt;&lt;br&gt;The conditional operator can be mapped to the CASE-expression in SQL: CASE WHEN condition THEN thenExpr ELSE elseExpr END. Are there any issues with non-SQL datastores when supporting the conditional operator? 
&lt;br&gt;&lt;br&gt;Another question: which part of a JDOQL query can include a conditional expression? I propose the query filter, the having clause and the result specification.
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-650%29-Support-for-conditional-operator---%3A-in-JDOQL-tp26565941p26565941.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26447476</id>
	<title>Minutes: JDO TCK Conference Call Friday, Nov 20 9 am PDT</title>
	<published>2009-11-20T09:46:21Z</published>
	<updated>2009-11-20T09:46:21Z</updated>
	<author>
		<name>Craig L Russell</name>
	</author>
	<content type="html">NOTE: We will take a brief hiatus for Thanksgiving break; next call &amp;nbsp;
&lt;br&gt;will occur on December 4
&lt;br&gt;&lt;br&gt;Attendees: Michelle Caisse, Michael Bouschen, Craig Russell
&lt;br&gt;&lt;br&gt;Agenda:
&lt;br&gt;&lt;br&gt;1. Query timeout in JDO / Update timeout
&lt;br&gt;&lt;br&gt;a. Should we have different settings for query/read versus insert/ 
&lt;br&gt;update/delete? Jorg says that *update* operations might need their own &amp;nbsp;
&lt;br&gt;setting.
&lt;br&gt;&lt;br&gt;b. Should the timeout apply to *any* in-vm operations, or just to &amp;nbsp;
&lt;br&gt;datastore operations? The original rationale for timeout was &amp;nbsp;
&lt;br&gt;specifically to allow setting the underlying datastore timeout value.
&lt;br&gt;&lt;br&gt;c Should we rename the property/api something like DatastoreRead and &amp;nbsp;
&lt;br&gt;DatastoreWrite? This might make it more clear that queries, &amp;nbsp;
&lt;br&gt;getObjectById, refresh, and others are affected.
&lt;br&gt;&lt;br&gt;AI Craig update the JIRA with new proposal
&lt;br&gt;&lt;br&gt;2. &amp;nbsp;Query objects and hashCode() &amp;nbsp;+ equals()
&lt;br&gt;&lt;br&gt;This issue looks like it has been resolved. If further action is &amp;nbsp;
&lt;br&gt;necessary, please file a JIRA.
&lt;br&gt;&lt;br&gt;3. Dependence of RI on JPA2
&lt;br&gt;&lt;br&gt;Looks like this issue is moot. Based on our changes to JDO 2.3 and the &amp;nbsp;
&lt;br&gt;fact that JPA2 is now in JCP vote, there are no timing issues.
&lt;br&gt;&lt;br&gt;4. Other issues
&lt;br&gt;&lt;br&gt;If-then-else support for JDOQL: It looks like JPA2 will support this; &amp;nbsp;
&lt;br&gt;SQL supports it; are there any issues with non-SQL datastores?
&lt;br&gt;&lt;br&gt;Action Items from weeks past:
&lt;br&gt;&lt;br&gt;AI Nov 13 08 Michael: Take a look at what changes would be needed in &amp;nbsp;
&lt;br&gt;the BNF to support for if-then-else in JDOQL, reply to the original &amp;nbsp;
&lt;br&gt;email, open a JIRA
&lt;br&gt;&lt;br&gt;Craig L Russell
&lt;br&gt;Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26447476&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;P.S. A good JDO? O, Gasp!
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (3K) &lt;a href=&quot;http://old.nabble.com/attachment/26447476/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JDO-TCK-Conference-Call-Friday%2C-June-15%2C-9-am-PDT-tp11129570p26447476.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26440701</id>
	<title>Re: query timeout in JDO</title>
	<published>2009-11-20T01:46:20Z</published>
	<updated>2009-11-20T01:46:20Z</updated>
	<author>
		<name>Christian Ernst</name>
	</author>
	<content type="html">Hi !
&lt;br&gt;&lt;br&gt;Michael Bouschen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26440701&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mbo.tech@...&lt;/a&gt;&amp;gt; wrote on 17.11.2009 09:05:24:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; query timeout in JDO
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; the current spec allows specifying a query timeout on a Query, a PM
&lt;br&gt;&amp;gt; or a PMF. The PM defines the default for all Query instances of the
&lt;br&gt;&amp;gt; PM and the PMF defines the default value for all PMs of that PMF.
&lt;br&gt;&amp;gt; However, there are still three open issue in the query timeout area:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (1) query timeout as an optional feature
&lt;br&gt;&amp;gt; I propose to add query timeout as an optional feature. This means
&lt;br&gt;&amp;gt; the collection returned by the PMF method supportedOptions includes
&lt;br&gt;&amp;gt; the string &amp;quot;javax.jdo.option.QueryTimeout&amp;quot;, if the JDO
&lt;br&gt;&amp;gt; implementation and the datastore bound to the PMF supports query
&lt;br&gt;&amp;gt; timeout. This would be a change in chapter 11.6 &amp;quot;Optional Feature
&lt;br&gt;&amp;gt; Support&amp;quot; of the spec.
&lt;/div&gt;&lt;br&gt;Sounds fine as there might exists datastores which doesn't support these
&lt;br&gt;feature.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; (2) Scope of the query timeout value
&lt;br&gt;&amp;gt; I propose that a query timeout value set for a PM applies to all
&lt;br&gt;&amp;gt; &amp;quot;datastore query&amp;quot; operations issued by the PM. This includes
&lt;br&gt;&amp;gt; relationship navigation, findByObjectId and lasy loading of collections.
&lt;br&gt;&amp;gt; But how about modifying operations such as update, delete and
&lt;br&gt;&amp;gt; insert? Does it make sense to apply the PM's query timeout for these
&lt;br&gt;&amp;gt; operationsas well? I think this makes sense, but it might be less
&lt;br&gt;&amp;gt; obvious, because these operations are part of the transaction
&lt;br&gt;&amp;gt; commit. See also Jörg's recent email with subject &amp;quot;update timeout&amp;quot;.
&lt;br&gt;&amp;gt; This would be a change in chapter 12 PersistenceManager. Today
&lt;br&gt;&amp;gt; chapter 12.6.3 &amp;quot;Query factory interface&amp;quot; specifies method
&lt;br&gt;&amp;gt; setQueryTimeout. If we broaden the scope of a query timeout set on a
&lt;br&gt;&amp;gt; PM, it might make sense to specify this in its own section, e.g. 12.
&lt;br&gt;&amp;gt; 6.9 &amp;quot;Query Timeout&amp;quot;.
&lt;/div&gt;&lt;br&gt;The &amp;quot;Query Timeout&amp;quot; shall be an option only for the JDO queries themself.
&lt;br&gt;Keep in mind that the idea of JDO was to support any kind of datastore,
&lt;br&gt;which means there exists implementations which don't use any kind of
&lt;br&gt;datastore queries for operations like relationship navigation,
&lt;br&gt;findByObjectId and lasy loading of collections.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; (3) Definition of query timeout: datastore operation or JDO method?
&lt;br&gt;&amp;gt; Does the query timeout apply to the underlying datastore operation
&lt;br&gt;&amp;gt; or does it define the maximum execution time of the JDO method such
&lt;br&gt;&amp;gt; as Query.execute?
&lt;br&gt;&amp;gt; I propose the former, meaning use the query timeout value for the
&lt;br&gt;&amp;gt; datastore operation. Otherwise, the JDO implementation would need to
&lt;br&gt;&amp;gt; calculate the timeout for the datastore operation and need o guess
&lt;br&gt;&amp;gt; the time needed to post-process the query result. If the datastore
&lt;br&gt;&amp;gt; has the JDBC standard second resolution, and there is less than 1000
&lt;br&gt;&amp;gt; millis left in the timeout, what should be the timeout set on the
&lt;br&gt;&amp;gt; datastore query statement?
&lt;/div&gt;&lt;br&gt;From the JDO idea it should be on the operation of the
&lt;br&gt;Query.execute(), but from a Vendor persective i would suggest that
&lt;br&gt;we allow both and it shouldn't be gurantied that this value is exact,
&lt;br&gt;as the underlying datastore might have some kind of tolerance for the
&lt;br&gt;timeout
&lt;br&gt;or has different resolution for there timer.
&lt;br&gt;&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;Christian
&lt;br&gt;---
&lt;br&gt;Christian Ernst
&lt;br&gt;Software Engineer
&lt;br&gt;&lt;br&gt;Tel: +49-40-60990 338
&lt;br&gt;Fax: +49-40-60990 113
&lt;br&gt;EMail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26440701&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cernst@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;Versant GmbH
&lt;br&gt;Wiesenkamp 22b
&lt;br&gt;22359 Hamburg
&lt;br&gt;Germany
&lt;br&gt;&lt;br&gt;Think Outside the Grid!
&lt;br&gt;&lt;a href=&quot;http://www.versant.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.versant.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;Versant GmbH is incorporated in Germany.
&lt;br&gt;Company registration number: HRB 54723, Amtsgericht Hamburg.
&lt;br&gt;Registered Office: Wiesenkamp 22b, 22359 Hamburg, Germany.
&lt;br&gt;Geschäftsführer: Jochen Witte
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/query-timeout-in-JDO-tp26385861p26440701.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26438101</id>
	<title>Re: JDO TCK Conference Call Friday, Nov 20 9 am PDT</title>
	<published>2009-11-19T20:05:02Z</published>
	<updated>2009-11-19T20:05:02Z</updated>
	<author>
		<name>Michelle Caisse-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;We will have our regular meeting Friday, November 20 at 9 am PDT to 
&lt;br&gt;discuss JDO TCK issues and status.
&lt;br&gt;&lt;br&gt;Dial-in numbers are:
&lt;br&gt;Domestic (toll-free): &amp;nbsp;866 230-6968
&lt;br&gt;International (caller-paid): &amp;nbsp;+1 213 787-0528
&lt;br&gt;Access code : &amp;nbsp;294-0479#
&lt;br&gt;&lt;br&gt;Agenda:
&lt;br&gt;&lt;br&gt;1. Query timeout in JDO / Update timeout
&lt;br&gt;2. &amp;nbsp;Query objects and hashCode() &amp;nbsp;+ equals()
&lt;br&gt;3. Dependence of RI on JPA2
&lt;br&gt;4. Other issues
&lt;br&gt;&lt;br&gt;Action Items from weeks past:
&lt;br&gt;AI Nov 13 08 Michael: Take a look at what changes would be needed in the 
&lt;br&gt;BNF to support for if-then-else in JDOQL, reply to the original email
&lt;br&gt;&lt;br&gt;-- Michelle
&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;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;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JDO-TCK-Conference-Call-Friday%2C-June-15%2C-9-am-PDT-tp11129570p26438101.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26438068</id>
	<title>[jira] Resolved: (JDO-644) Change JTA 1.1 dependency artifact id from &quot;transaction-api&quot; to &quot;jta&quot;</title>
	<published>2009-11-19T19:56:39Z</published>
	<updated>2009-11-19T19:56:39Z</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/JDO-644?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/JDO-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Michelle Caisse resolved JDO-644.
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Completed with revision 882404
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Change JTA 1.1 dependency artifact id from &amp;quot;transaction-api&amp;quot; to &amp;quot;jta&amp;quot;
&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: JDO-644
&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/JDO-644&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-644&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: JDO
&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: api2, api2-legacy, core2, enhancer2, fostore2, model2, query2, runtime2, tck2, tck2-legacy, util2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: JDO 2 maintenance release 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Matthew T. Adams
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: jta-01-new.patch, jta-01.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It appears that the Maven 2 artifact id for JTA 1.1 is &amp;quot;jta&amp;quot;, not &amp;quot;transaction-api&amp;quot;. &amp;nbsp;The Maven 2 POM is here:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/transaction/jta/1.1/jta-1.1.pom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/transaction/jta/1.1/jta-1.1.pom&lt;/a&gt;&lt;br&gt;&amp;gt; For Maven1, the Maven 1 artifact id is &amp;quot;transaction-api&amp;quot;:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://download.java.net/maven/1/javax.transaction/poms/transaction-api-1.1.pom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://download.java.net/maven/1/javax.transaction/poms/transaction-api-1.1.pom&lt;/a&gt;&lt;br&gt;&amp;gt; Since most users use Maven2, this should be updated to &amp;quot;jta&amp;quot; and we, the team producing JDO, should just manually install JTA 1.1 into our own local Maven 1 repository with the artifact id &amp;quot;jta&amp;quot;, using the Maven 2. &amp;nbsp;Without this, it is extremely annoying for users to have to work around this.
&lt;br&gt;&amp;gt; An alternative solution would be to upload to the Maven 1 central repo a copy of JTA 1.1 with artifact id &amp;quot;jta&amp;quot;, but I don't how to do that.
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-644%29-Change-JTA-1.1-dependency-artifact-id-from-%22transaction-api%22-to-%22jta%22-tp25960460p26438068.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26430224</id>
	<title>Re: query timeout in JDO</title>
	<published>2009-11-19T09:12:15Z</published>
	<updated>2009-11-19T09:12:15Z</updated>
	<author>
		<name>Joerg von Frantzius-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I somehow got the feeling that having a single property for both query
&lt;br&gt;and and update timeouts will create confusion, if I got Michael right here.
&lt;br&gt;&lt;br&gt;Imagine somebody wants to set an update timeout, but doesn't want to
&lt;br&gt;constrain the duration of queries (or have a higher timeout for
&lt;br&gt;queries). Now if he sets the update timeout on the PM level, then he'd
&lt;br&gt;have to unset the timeout for each and every query issued. That's
&lt;br&gt;assuming that the timeout on the PM level will apply to all Query
&lt;br&gt;objects created by the PM.
&lt;br&gt;&lt;br&gt;I'd propose to have distinct properties for query and update timeouts.
&lt;br&gt;The RI has distinct methods for creating Statement objects for queries
&lt;br&gt;and updates already, so it shouldn't be hard to implement.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Jörg
&lt;br&gt;&lt;br&gt;On 11/17/2009 09:05 AM, Michael Bouschen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; the current spec allows specifying a query timeout on a Query, a PM or
&lt;br&gt;&amp;gt; a PMF. The PM defines the default for all Query instances of the PM
&lt;br&gt;&amp;gt; and the PMF defines the default value for all PMs of that PMF.
&lt;br&gt;&amp;gt; However, there are still three open issue in the query timeout area:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (1) query timeout as an optional feature
&lt;br&gt;&amp;gt; I propose to add query timeout as an optional feature. This means the
&lt;br&gt;&amp;gt; collection returned by the PMF method supportedOptions includes the
&lt;br&gt;&amp;gt; string &amp;quot;javax.jdo.option.QueryTimeout&amp;quot;, if the JDO implementation and
&lt;br&gt;&amp;gt; the datastore bound to the PMF supports query timeout. This would be a
&lt;br&gt;&amp;gt; change in chapter 11.6 &amp;quot;Optional Feature Support&amp;quot; of the spec.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (2) Scope of the query timeout value
&lt;br&gt;&amp;gt; I propose that a query timeout value set for a PM applies to all
&lt;br&gt;&amp;gt; &amp;quot;datastore query&amp;quot; operations issued by the PM. This includes
&lt;br&gt;&amp;gt; relationship navigation, findByObjectId and lasy loading of collections.
&lt;br&gt;&amp;gt; But how about modifying operations such as update, delete and insert?
&lt;br&gt;&amp;gt; Does it make sense to apply the PM's query timeout for these
&lt;br&gt;&amp;gt; operationsas well? I think this makes sense, but it might be less
&lt;br&gt;&amp;gt; obvious, because these operations are part of the transaction commit.
&lt;br&gt;&amp;gt; See also Jörg's recent email with subject &amp;quot;update timeout&amp;quot;. This would
&lt;br&gt;&amp;gt; be a change in chapter 12 PersistenceManager. Today chapter 12.6.3
&lt;br&gt;&amp;gt; &amp;quot;Query factory interface&amp;quot; specifies method setQueryTimeout. If we
&lt;br&gt;&amp;gt; broaden the scope of a query timeout set on a PM, it might make sense
&lt;br&gt;&amp;gt; to specify this in its own section, e.g. 12.6.9 &amp;quot;Query Timeout&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (3) Definition of query timeout: datastore operation or JDO method?
&lt;br&gt;&amp;gt; Does the query timeout apply to the underlying datastore operation or
&lt;br&gt;&amp;gt; does it define the maximum execution time of the JDO method such as
&lt;br&gt;&amp;gt; Query.execute?
&lt;br&gt;&amp;gt; I propose the former, meaning use the query timeout value for the
&lt;br&gt;&amp;gt; datastore operation. Otherwise, the JDO implementation would need to
&lt;br&gt;&amp;gt; calculate the timeout for the datastore operation and need o guess the
&lt;br&gt;&amp;gt; time needed to post-process the query result. If the datastore has the
&lt;br&gt;&amp;gt; JDBC standard second resolution, and there is less than 1000 millis
&lt;br&gt;&amp;gt; left in the timeout, what should be the timeout set on the datastore
&lt;br&gt;&amp;gt; query statement?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What do you think?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards Michael
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;____________________________________________________________________
&lt;br&gt;artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376 
&lt;br&gt;UST-Id. DE 217652550
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/query-timeout-in-JDO-tp26385861p26430224.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26394361</id>
	<title>Re: Query objects and hashCode()  + equals()</title>
	<published>2009-11-17T09:44:56Z</published>
	<updated>2009-11-17T09:44:56Z</updated>
	<author>
		<name>Andy Jefferson-4</name>
	</author>
	<content type="html">&amp;gt; all I could find in the docs was
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.datanucleus.org/extensions/query_cache.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.datanucleus.org/extensions/query_cache.html&lt;/a&gt;&amp;nbsp;which is about
&lt;br&gt;&amp;gt; caching of &amp;quot;query compilations&amp;quot;. Or do you mean that it could be used to
&lt;br&gt;&amp;gt; store query results along with a cached QueryCompilation object?
&lt;br&gt;&lt;br&gt;PMF prop(s)
&lt;br&gt;&lt;a href=&quot;http://www.datanucleus.org/products/accessplatform_2_0/persistence_properties.html#query&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.datanucleus.org/products/accessplatform_2_0/persistence_properties.html#query&lt;/a&gt;&lt;br&gt;&lt;br&gt;Query Cache(s)
&lt;br&gt;&lt;a href=&quot;http://www.datanucleus.org/products/accessplatform_2_0/jdo/query_cache.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.datanucleus.org/products/accessplatform_2_0/jdo/query_cache.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;or look at the code ...
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Andy
&lt;br&gt;DataNucleus (&lt;a href=&quot;http://www.datanucleus.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.datanucleus.org&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Query-objects-and-hashCode%28%29--%2B-equals%28%29-tp25928614p26394361.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26394227</id>
	<title>Re: Query objects and hashCode()  + equals()</title>
	<published>2009-11-17T09:38:00Z</published>
	<updated>2009-11-17T09:38:00Z</updated>
	<author>
		<name>Joerg von Frantzius-2</name>
	</author>
	<content type="html">Hi Andy,
&lt;br&gt;&lt;br&gt;all I could find in the docs was
&lt;br&gt;&lt;a href=&quot;http://www.datanucleus.org/extensions/query_cache.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.datanucleus.org/extensions/query_cache.html&lt;/a&gt;&amp;nbsp;which is about
&lt;br&gt;caching of &amp;quot;query compilations&amp;quot;. Or do you mean that it could be used to
&lt;br&gt;store query results along with a cached QueryCompilation object?
&lt;br&gt;&lt;br&gt;On 11/17/2009 06:19 PM, Andy Jefferson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Our application framework caches the results of certain queries. It does
&lt;br&gt;&amp;gt;&amp;gt; not hand out the respective Query objects to application code, and it
&lt;br&gt;&amp;gt;&amp;gt; does not itself invoke any mutators on these Query objects.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; DataNucleus v2.x also allows caching of query results (for non-legacy JDOQL 
&lt;br&gt;&amp;gt; implementations). They are not cached by the &amp;quot;Query&amp;quot; object, but by a key that 
&lt;br&gt;&amp;gt; represents the query string and the input parameters. Consequently no such map 
&lt;br&gt;&amp;gt; lookup issues happen.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;____________________________________________________________________
&lt;br&gt;artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376 
&lt;br&gt;UST-Id. DE 217652550
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Query-objects-and-hashCode%28%29--%2B-equals%28%29-tp25928614p26394227.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26393901</id>
	<title>Re: Query objects and hashCode()  + equals()</title>
	<published>2009-11-17T09:19:44Z</published>
	<updated>2009-11-17T09:19:44Z</updated>
	<author>
		<name>Andy Jefferson-4</name>
	</author>
	<content type="html">&amp;gt; Our application framework caches the results of certain queries. It does
&lt;br&gt;&amp;gt; not hand out the respective Query objects to application code, and it
&lt;br&gt;&amp;gt; does not itself invoke any mutators on these Query objects.
&lt;br&gt;&lt;br&gt;DataNucleus v2.x also allows caching of query results (for non-legacy JDOQL 
&lt;br&gt;implementations). They are not cached by the &amp;quot;Query&amp;quot; object, but by a key that 
&lt;br&gt;represents the query string and the input parameters. Consequently no such map 
&lt;br&gt;lookup issues happen.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Andy
&lt;br&gt;DataNucleus (&lt;a href=&quot;http://www.datanucleus.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.datanucleus.org&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Query-objects-and-hashCode%28%29--%2B-equals%28%29-tp25928614p26393901.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26389115</id>
	<title>Re: Query objects and hashCode()  + equals()</title>
	<published>2009-11-17T04:28:40Z</published>
	<updated>2009-11-17T04:28:40Z</updated>
	<author>
		<name>CRomberg</name>
	</author>
	<content type="html">Hi Jörg,
&lt;br&gt;&lt;br&gt;that the value of hashCode must not change, once an object is stored in a 
&lt;br&gt;(hashCode aware) Map, might
&lt;br&gt;not be explicitly stated in the javadoc, but this is a natural 
&lt;br&gt;requirement.
&lt;br&gt;&lt;br&gt;The behavior of equals() then can actually change, provided the general 
&lt;br&gt;equals/hashCode contract is respected,
&lt;br&gt;although a change of the behavior of equals() is in most cases not 
&lt;br&gt;desirable.
&lt;br&gt;&lt;br&gt;Changing the hashCode once an object is in a Map, breaks the Map contract.
&lt;br&gt;&lt;br&gt;Changing equals behavior once an object is in a Map, does not break the 
&lt;br&gt;Map contract, but the key
&lt;br&gt;that the value is to mapped to is changed.
&lt;br&gt;&lt;br&gt;For tree structured, not hashCode aware maps, both can change within the 
&lt;br&gt;limits of the equals/hashCode contract,
&lt;br&gt;but the total ordering imposed by the Comparator or the Comparable 
&lt;br&gt;implementation must remain unchanged.
&lt;br&gt;&lt;br&gt;The easiest implementation is basing hashCode, equals and compareTo on a 
&lt;br&gt;(sub)set of the immutable fields.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Christian
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;From:
&lt;br&gt;Joerg von Frantzius &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26389115&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joerg.von.frantzius@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To:
&lt;br&gt;Craig L Russell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26389115&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Cc:
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26389115&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jdo-dev@...&lt;/a&gt;, JDO Expert Group &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26389115&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jdo-experts-ext@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date:
&lt;br&gt;17.11.2009 12:55
&lt;br&gt;Subject:
&lt;br&gt;Re: Query objects and hashCode() &amp;nbsp;+ equals()
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi Craig,
&lt;br&gt;&lt;br&gt;please see below...
&lt;br&gt;&lt;br&gt;On 11/17/2009 12:52 AM, Craig L Russell wrote:
&lt;br&gt;&lt;br&gt;[..]
&lt;br&gt;&amp;gt; Right. What I said is that for use as an element in a Set or as a key
&lt;br&gt;&amp;gt; in a Map, the instance should return the identical hashCode and behave
&lt;br&gt;&amp;gt; identically with respect to equals. So while the instance itself does
&lt;br&gt;&amp;gt; not have to be immutable, hashCode and equals should act on immutable
&lt;br&gt;&amp;gt; properties of the instance.
&lt;br&gt;I didn't find a hint in the javadocs that hashCode and equals should
&lt;br&gt;only act on immutable properties of the instance. But admittedly that's
&lt;br&gt;just nit-picking on my side, as I do agree that the Query objects must
&lt;br&gt;remain unchanged once they are put in a Set or used as a key in a HashMap.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As I understand how these collections work, if you do change how
&lt;br&gt;&amp;gt; hashCode and equals behave after construction, the instance should be
&lt;br&gt;&amp;gt; removed from the collection and added again after the change is done.
&lt;br&gt;&amp;gt; This is pretty tricky in terms of synchronization and order of 
&lt;br&gt;operation.
&lt;br&gt;That's true. So an application framework which uses Query objects as
&lt;br&gt;keys in a Map must not hand out Query objects to application code (and
&lt;br&gt;of course, once a Query object is put in a map, the framework must not
&lt;br&gt;invoke mutators on it).
&lt;br&gt;&lt;br&gt;[..]
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; I wouldn't ask if datanucleus wasn't already there halfway: 
&lt;br&gt;datanucleus'
&lt;br&gt;&amp;gt;&amp;gt; JDO query object delegates to org.datanucleus.store.query.Query, which
&lt;br&gt;&amp;gt;&amp;gt; already correctly implements equals(), hashCode() and toString().
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So does the query object change hashCode when the filter changes?
&lt;br&gt;Yes, it does.
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [..]
&lt;br&gt;&amp;gt;&amp;gt; Just a small thing, I hope I'll find the time to fix it in datanucleus
&lt;br&gt;&amp;gt;&amp;gt; myself. When that has happened, it could still be worth putting in
&lt;br&gt;&amp;gt;&amp;gt; the spec?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't yet understand the use case. Can you be specific as to what
&lt;br&gt;&amp;gt; behavior you expect from a &amp;quot;proper implementation&amp;quot; of hashCode,
&lt;br&gt;&amp;gt; equals, and toString, and how the implementation would be exploited by
&lt;br&gt;&amp;gt; an application?
&lt;/div&gt;Generally speaking, two Query objects should be equal if they represent
&lt;br&gt;the same query, i.e. they are equal if their execution at an ideally
&lt;br&gt;same point in time would yield the same result. The implementation of
&lt;br&gt;hashCode() should follow and fulfill the usual contract between equals()
&lt;br&gt;and hashCode().
&lt;br&gt;&lt;br&gt;If that was given, I wouldn't have any requirements on the
&lt;br&gt;implementation of toString(). Currently datanucleus returns the
&lt;br&gt;single-string representation of the query, which is just great.
&lt;br&gt;&lt;br&gt;Our application framework caches the results of certain queries. It does
&lt;br&gt;not hand out the respective Query objects to application code, and it
&lt;br&gt;does not itself invoke any mutators on these Query objects. A query
&lt;br&gt;result caching like that currently is hard to do when it is solely based
&lt;br&gt;on the spec, because neither equals(), hashCode() or toString() can
&lt;br&gt;reliably be used. It also is impossible for application (framework) code
&lt;br&gt;itself to build a cache key from a given Query object, because the Query
&lt;br&gt;interface does not provide any getters, e.g. for its filter etc. The
&lt;br&gt;only solution would be to separately remember the properties of the
&lt;br&gt;Query object when it is built.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Jörg
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Craig
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt; Jörg
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On 10/23/2009 06:57 PM, Craig L Russell wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi Jörg,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Oct 16, 2009, at 9:50 AM, Joerg von Frantzius wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it would be nice if the spec would mandate that implementations of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; javax.jdo.Query do correctly implement hashCode() and equals().
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; As users execute mutator methods on queries, the string representation
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; would change. And for proper use in sets or map keys, hashCode and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; equals should be &amp;nbsp;immutable after construction. So I don't see how we
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; can mandate that hashCode and equals rely in any internal state.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Alternatively, Query.toString() could be required to return the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; single-string representation of the query, or some dedicated method
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; was
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; added to provide it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Having the single-string version of a query is useful but adds
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; implementation complexity. While there is a requirement for an
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; implementation to parse a single string query into executable form,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; there's no current requirement to create the single string form from
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the internal form.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; This would make it easier to e.g. implement some custom cache for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; query
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; results, or, more generally, it would make it easier to put Query
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; objects as keys into Maps.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It seems to me that if you want this functionality at the application
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; framework layer, then the framework can mandate that the single string
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; form be used and at the time the query is created, the single string
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; form be used as the key into a framework map.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Craig
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ____________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; UST-Id. DE 217652550
&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; Craig L Russell
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26389115&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; P.S. A good JDO? O, Gasp!
&lt;br&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;br&gt;&amp;gt;&amp;gt; ____________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt; artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;&amp;gt;&amp;gt; Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;&amp;gt;&amp;gt; Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376
&lt;br&gt;&amp;gt;&amp;gt; UST-Id. DE 217652550
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Craig L Russell
&lt;br&gt;&amp;gt; Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;&amp;gt; 408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26389115&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;&amp;gt; P.S. A good JDO? O, Gasp!
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;____________________________________________________________________
&lt;br&gt;artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376 
&lt;br&gt;UST-Id. DE 217652550
&lt;br&gt;&lt;br&gt;[attachment &amp;quot;joerg_von_frantzius.vcf&amp;quot; deleted by Christian 
&lt;br&gt;Romberg/VERSANT] 
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Query-objects-and-hashCode%28%29--%2B-equals%28%29-tp25928614p26389115.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26388703</id>
	<title>Re: Query objects and hashCode()  + equals()</title>
	<published>2009-11-17T03:54:09Z</published>
	<updated>2009-11-17T03:54:09Z</updated>
	<author>
		<name>Joerg von Frantzius-2</name>
	</author>
	<content type="html">Hi Craig,
&lt;br&gt;&lt;br&gt;please see below...
&lt;br&gt;&lt;br&gt;On 11/17/2009 12:52 AM, Craig L Russell wrote:
&lt;br&gt;&lt;br&gt;[..]
&lt;br&gt;&amp;gt; Right. What I said is that for use as an element in a Set or as a key
&lt;br&gt;&amp;gt; in a Map, the instance should return the identical hashCode and behave
&lt;br&gt;&amp;gt; identically with respect to equals. So while the instance itself does
&lt;br&gt;&amp;gt; not have to be immutable, hashCode and equals should act on immutable
&lt;br&gt;&amp;gt; properties of the instance.
&lt;br&gt;I didn't find a hint in the javadocs that hashCode and equals should
&lt;br&gt;only act on immutable properties of the instance. But admittedly that's
&lt;br&gt;just nit-picking on my side, as I do agree that the Query objects must
&lt;br&gt;remain unchanged once they are put in a Set or used as a key in a HashMap.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As I understand how these collections work, if you do change how
&lt;br&gt;&amp;gt; hashCode and equals behave after construction, the instance should be
&lt;br&gt;&amp;gt; removed from the collection and added again after the change is done.
&lt;br&gt;&amp;gt; This is pretty tricky in terms of synchronization and order of operation.
&lt;br&gt;That's true. So an application framework which uses Query objects as
&lt;br&gt;keys in a Map must not hand out Query objects to application code (and
&lt;br&gt;of course, once a Query object is put in a map, the framework must not
&lt;br&gt;invoke mutators on it).
&lt;br&gt;&lt;br&gt;[..]
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; I wouldn't ask if datanucleus wasn't already there halfway: datanucleus'
&lt;br&gt;&amp;gt;&amp;gt; JDO query object delegates to org.datanucleus.store.query.Query, which
&lt;br&gt;&amp;gt;&amp;gt; already correctly implements equals(), hashCode() and toString().
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So does the query object change hashCode when the filter changes?
&lt;br&gt;Yes, it does.
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [..]
&lt;br&gt;&amp;gt;&amp;gt; Just a small thing, I hope I'll find the time to fix it in datanucleus
&lt;br&gt;&amp;gt;&amp;gt; myself. When that has happened, it could still be worth putting in
&lt;br&gt;&amp;gt;&amp;gt; the spec?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't yet understand the use case. Can you be specific as to what
&lt;br&gt;&amp;gt; behavior you expect from a &amp;quot;proper implementation&amp;quot; of hashCode,
&lt;br&gt;&amp;gt; equals, and toString, and how the implementation would be exploited by
&lt;br&gt;&amp;gt; an application?
&lt;/div&gt;Generally speaking, two Query objects should be equal if they represent
&lt;/div&gt;the same query, i.e. they are equal if their execution at an ideally
&lt;br&gt;same point in time would yield the same result. The implementation of
&lt;br&gt;hashCode() should follow and fulfill the usual contract between equals()
&lt;br&gt;and hashCode().
&lt;br&gt;&lt;br&gt;If that was given, I wouldn't have any requirements on the
&lt;br&gt;implementation of toString(). Currently datanucleus returns the
&lt;br&gt;single-string representation of the query, which is just great.
&lt;br&gt;&lt;br&gt;Our application framework caches the results of certain queries. It does
&lt;br&gt;not hand out the respective Query objects to application code, and it
&lt;br&gt;does not itself invoke any mutators on these Query objects. A query
&lt;br&gt;result caching like that currently is hard to do when it is solely based
&lt;br&gt;on the spec, because neither equals(), hashCode() or toString() can
&lt;br&gt;reliably be used. It also is impossible for application (framework) code
&lt;br&gt;itself to build a cache key from a given Query object, because the Query
&lt;br&gt;interface does not provide any getters, e.g. for its filter etc. The
&lt;br&gt;only solution would be to separately remember the properties of the
&lt;br&gt;Query object when it is built.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Jörg
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Craig
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt; Jörg
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On 10/23/2009 06:57 PM, Craig L Russell wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi Jörg,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Oct 16, 2009, at 9:50 AM, Joerg von Frantzius wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it would be nice if the spec would mandate that implementations of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; javax.jdo.Query do correctly implement hashCode() and equals().
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; As users execute mutator methods on queries, the string representation
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; would change. And for proper use in sets or map keys, hashCode and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; equals should be &amp;nbsp;immutable after construction. So I don't see how we
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; can mandate that hashCode and equals rely in any internal state.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Alternatively, Query.toString() could be required to return the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; single-string representation of the query, or some dedicated method
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; was
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; added to provide it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Having the single-string version of a query is useful but adds
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; implementation complexity. While there is a requirement for an
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; implementation to parse a single string query into executable form,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; there's no current requirement to create the single string form from
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the internal form.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; This would make it easier to e.g. implement some custom cache for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; query
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; results, or, more generally, it would make it easier to put Query
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; objects as keys into Maps.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It seems to me that if you want this functionality at the application
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; framework layer, then the framework can mandate that the single string
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; form be used and at the time the query is created, the single string
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; form be used as the key into a framework map.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Craig
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ____________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; UST-Id. DE 217652550
&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; Craig L Russell
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388703&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; P.S. A good JDO? O, Gasp!
&lt;br&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;br&gt;&amp;gt;&amp;gt; ____________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt; artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;&amp;gt;&amp;gt; Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;&amp;gt;&amp;gt; Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376
&lt;br&gt;&amp;gt;&amp;gt; UST-Id. DE 217652550
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Craig L Russell
&lt;br&gt;&amp;gt; Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;&amp;gt; 408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388703&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;&amp;gt; P.S. A good JDO? O, Gasp!
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;____________________________________________________________________
&lt;br&gt;artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376 
&lt;br&gt;UST-Id. DE 217652550
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Query-objects-and-hashCode%28%29--%2B-equals%28%29-tp25928614p26388703.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26386424</id>
	<title>[jira] Commented: (JDO-649) Upgrade &quot;persistence-api.jar&quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now</title>
	<published>2009-11-17T01:00:40Z</published>
	<updated>2009-11-17T01:00:40Z</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/JDO-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778780#action_12778780&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778780#action_12778780&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Andy Jefferson commented on JDO-649:
&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;But will JDO 2.3 really *depend on* JPA2 ? All I've changed here is that the RI for JDO2.3 just happens to also implement JPA2, so has references to JPA2 classes. JDO2.3 itself has no such references to JPA2 classes, and it is only the JDO 2.3 TCK that does due to the RI.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Upgrade &amp;quot;persistence-api.jar&amp;quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now
&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: JDO-649
&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/JDO-649&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-649&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: JDO
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Task
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: tck2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Andy Jefferson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Andy Jefferson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: JDO 2 maintenance release 3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; DataNucleus builds against JPA2 specification now so need to upgrade the &amp;quot;geronimo-specs&amp;quot; dependency. Was previously
&lt;br&gt;&amp;gt; &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_3.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt; and should be
&lt;br&gt;&amp;gt; &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_2.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0-PFD2&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt; No idea why geronimo specs thinks JPA1 is &amp;quot;JPA 3.0&amp;quot; but anyway ...
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-649%29-Upgrade-%22persistence.xml%22-for-use-with-TCK-to-be-JPA2-since-DataNucleus-2.x-uses-that-now-tp26374215p26386424.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26385861</id>
	<title>query timeout in JDO</title>
	<published>2009-11-17T00:05:24Z</published>
	<updated>2009-11-17T00:05:24Z</updated>
	<author>
		<name>Michael Bouschen-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;the current spec allows specifying a query timeout on a Query, a PM or a 
&lt;br&gt;PMF. The PM defines the default for all Query instances of the PM and 
&lt;br&gt;the PMF defines the default value for all PMs of that PMF. However, 
&lt;br&gt;there are still three open issue in the query timeout area:
&lt;br&gt;&lt;br&gt;(1) query timeout as an optional feature
&lt;br&gt;I propose to add query timeout as an optional feature. This means the 
&lt;br&gt;collection returned by the PMF method supportedOptions includes the 
&lt;br&gt;string &amp;quot;javax.jdo.option.QueryTimeout&amp;quot;, if the JDO implementation and 
&lt;br&gt;the datastore bound to the PMF supports query timeout. This would be a 
&lt;br&gt;change in chapter 11.6 &amp;quot;Optional Feature Support&amp;quot; of the spec.
&lt;br&gt;&lt;br&gt;(2) Scope of the query timeout value
&lt;br&gt;I propose that a query timeout value set for a PM applies to all 
&lt;br&gt;&amp;quot;datastore query&amp;quot; operations issued by the PM. This includes 
&lt;br&gt;relationship navigation, findByObjectId and lasy loading of collections.
&lt;br&gt;But how about modifying operations such as update, delete and insert? 
&lt;br&gt;Does it make sense to apply the PM's query timeout for these 
&lt;br&gt;operationsas well? I think this makes sense, but it might be less 
&lt;br&gt;obvious, because these operations are part of the transaction commit. 
&lt;br&gt;See also Jörg's recent email with subject &amp;quot;update timeout&amp;quot;. This would 
&lt;br&gt;be a change in chapter 12 PersistenceManager. Today chapter 12.6.3 
&lt;br&gt;&amp;quot;Query factory interface&amp;quot; specifies method setQueryTimeout. If we 
&lt;br&gt;broaden the scope of a query timeout set on a PM, it might make sense to 
&lt;br&gt;specify this in its own section, e.g. 12.6.9 &amp;quot;Query Timeout&amp;quot;.
&lt;br&gt;&lt;br&gt;(3) Definition of query timeout: datastore operation or JDO method?
&lt;br&gt;Does the query timeout apply to the underlying datastore operation or 
&lt;br&gt;does it define the maximum execution time of the JDO method such as 
&lt;br&gt;Query.execute?
&lt;br&gt;I propose the former, meaning use the query timeout value for the 
&lt;br&gt;datastore operation. Otherwise, the JDO implementation would need to 
&lt;br&gt;calculate the timeout for the datastore operation and need o guess the 
&lt;br&gt;time needed to post-process the query result. If the datastore has the 
&lt;br&gt;JDBC standard second resolution, and there is less than 1000 millis left 
&lt;br&gt;in the timeout, what should be the timeout set on the datastore query 
&lt;br&gt;statement?
&lt;br&gt;&lt;br&gt;What do you think?
&lt;br&gt;&lt;br&gt;Regards Michael
&lt;br&gt;-- 
&lt;br&gt;*Michael Bouschen*
&lt;br&gt;*Prokurist*
&lt;br&gt;&lt;br&gt;akquinet tech@spree GmbH
&lt;br&gt;Bülowstr. 66, D-10783 Berlin
&lt;br&gt;&lt;br&gt;Fon: &amp;nbsp; +49 30 235 520-33
&lt;br&gt;Fax: &amp;nbsp; +49 30 217 520-12
&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26385861&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.bouschen@...&lt;/a&gt;
&lt;br&gt;Url: &amp;nbsp; &amp;nbsp;www.akquinet.de &amp;lt;&lt;a href=&quot;http://www.akquinet.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.akquinet.de&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;akquinet tech@spree GmbH, Berlin
&lt;br&gt;Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth
&lt;br&gt;Amtsgericht Berlin-Charlottenburg HRB 86780 B
&lt;br&gt;USt.-Id. Nr.: DE 225 964 680
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;*Michael Bouschen*
&lt;br&gt;*Prokurist*
&lt;br&gt;&lt;br&gt;akquinet tech@spree GmbH
&lt;br&gt;Bülowstr. 66, D-10783 Berlin
&lt;br&gt;&lt;br&gt;Fon: &amp;nbsp; +49 30 235 520-33
&lt;br&gt;Fax: &amp;nbsp; +49 30 217 520-12
&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26385861&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.bouschen@...&lt;/a&gt;
&lt;br&gt;Url: &amp;nbsp; &amp;nbsp;www.akquinet.de &amp;lt;&lt;a href=&quot;http://www.akquinet.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.akquinet.de&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;akquinet tech@spree GmbH, Berlin
&lt;br&gt;Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth
&lt;br&gt;Amtsgericht Berlin-Charlottenburg HRB 86780 B
&lt;br&gt;USt.-Id. Nr.: DE 225 964 680
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;*Michael Bouschen*
&lt;br&gt;*Prokurist*
&lt;br&gt;&lt;br&gt;akquinet tech@spree GmbH
&lt;br&gt;Bülowstr. 66, D-10783 Berlin
&lt;br&gt;&lt;br&gt;Fon: &amp;nbsp; +49 30 235 520-33
&lt;br&gt;Fax: &amp;nbsp; +49 30 217 520-12
&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26385861&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.bouschen@...&lt;/a&gt;
&lt;br&gt;Url: &amp;nbsp; &amp;nbsp;www.akquinet.de &amp;lt;&lt;a href=&quot;http://www.akquinet.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.akquinet.de&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;akquinet tech@spree GmbH, Berlin
&lt;br&gt;Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth
&lt;br&gt;Amtsgericht Berlin-Charlottenburg HRB 86780 B
&lt;br&gt;USt.-Id. Nr.: DE 225 964 680
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/query-timeout-in-JDO-tp26385861p26385861.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26382232</id>
	<title>[jira] Commented: (JDO-649) Upgrade &quot;persistence-api.jar&quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now</title>
	<published>2009-11-16T16:09:39Z</published>
	<updated>2009-11-16T16:09:39Z</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/JDO-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778662#action_12778662&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12778662#action_12778662&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Craig Russell commented on JDO-649:
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;This could use just a bit more discussion, since this means that JDO 2.3 *will depend* on JPA 2.
&lt;br&gt;&lt;br&gt;The timing is probably right, but let's discuss this new dependency.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Upgrade &amp;quot;persistence-api.jar&amp;quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now
&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: JDO-649
&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/JDO-649&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-649&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: JDO
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Task
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: tck2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Andy Jefferson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Andy Jefferson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: JDO 2 maintenance release 3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; DataNucleus builds against JPA2 specification now so need to upgrade the &amp;quot;geronimo-specs&amp;quot; dependency. Was previously
&lt;br&gt;&amp;gt; &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_3.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt; and should be
&lt;br&gt;&amp;gt; &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_2.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0-PFD2&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt; No idea why geronimo specs thinks JPA1 is &amp;quot;JPA 3.0&amp;quot; but anyway ...
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-649%29-Upgrade-%22persistence.xml%22-for-use-with-TCK-to-be-JPA2-since-DataNucleus-2.x-uses-that-now-tp26374215p26382232.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26382070</id>
	<title>Re: Query objects and hashCode()  + equals()</title>
	<published>2009-11-16T15:52:45Z</published>
	<updated>2009-11-16T15:52:45Z</updated>
	<author>
		<name>Craig L Russell</name>
	</author>
	<content type="html">Hi Jörg,
&lt;br&gt;&lt;br&gt;On Nov 16, 2009, at 8:32 AM, Joerg von Frantzius wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hi Craig,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; you are absolutely right about the Query object being mutable, and &amp;nbsp;
&lt;br&gt;&amp;gt; this
&lt;br&gt;&amp;gt; conflicting with its use as a key in a HashMap. But telling from the
&lt;br&gt;&amp;gt; general contracts of Map, equals() and hashCode(), I don't think that
&lt;br&gt;&amp;gt; there exists a requirement for Map keys to be immutable.
&lt;br&gt;&lt;br&gt;Right. What I said is that for use as an element in a Set or as a key &amp;nbsp;
&lt;br&gt;in a Map, the instance should return the identical hashCode and behave &amp;nbsp;
&lt;br&gt;identically with respect to equals. So while the instance itself does &amp;nbsp;
&lt;br&gt;not have to be immutable, hashCode and equals should act on immutable &amp;nbsp;
&lt;br&gt;properties of the instance.
&lt;br&gt;&lt;br&gt;As I understand how these collections work, if you do change how &amp;nbsp;
&lt;br&gt;hashCode and equals behave after construction, the instance should be &amp;nbsp;
&lt;br&gt;removed from the collection and added again after the change is done. &amp;nbsp;
&lt;br&gt;This is pretty tricky in terms of synchronization and order of &amp;nbsp;
&lt;br&gt;operation.
&lt;br&gt;&lt;br&gt;&amp;gt; There may also
&lt;br&gt;&amp;gt; be other purposes for comparing Query objects using equals(), or Map
&lt;br&gt;&amp;gt; implementations that don't require immutability of keys.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I wouldn't ask if datanucleus wasn't already there halfway: &amp;nbsp;
&lt;br&gt;&amp;gt; datanucleus'
&lt;br&gt;&amp;gt; JDO query object delegates to org.datanucleus.store.query.Query, which
&lt;br&gt;&amp;gt; already correctly implements equals(), hashCode() and toString().
&lt;br&gt;&lt;br&gt;So does the query object change hashCode when the filter changes?
&lt;br&gt;&lt;br&gt;&amp;gt; The
&lt;br&gt;&amp;gt; only thing missing is the wrapper query object to also delegate these
&lt;br&gt;&amp;gt; methods (I guess that was simply forgotten when that additional layer
&lt;br&gt;&amp;gt; was introduced with JPOX implementing JPA).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Just a small thing, I hope I'll find the time to fix it in datanucleus
&lt;br&gt;&amp;gt; myself. When that has happened, it could still be worth putting in &amp;nbsp;
&lt;br&gt;&amp;gt; the spec?
&lt;br&gt;&lt;br&gt;I don't yet understand the use case. Can you be specific as to what &amp;nbsp;
&lt;br&gt;behavior you expect from a &amp;quot;proper implementation&amp;quot; of hashCode, &amp;nbsp;
&lt;br&gt;equals, and toString, and how the implementation would be exploited by &amp;nbsp;
&lt;br&gt;an application?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Craig
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Jörg
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 10/23/2009 06:57 PM, Craig L Russell wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi Jörg,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Oct 16, 2009, at 9:50 AM, Joerg von Frantzius wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; it would be nice if the spec would mandate that implementations of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; javax.jdo.Query do correctly implement hashCode() and equals().
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; As users execute mutator methods on queries, the string &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; representation
&lt;br&gt;&amp;gt;&amp;gt; would change. And for proper use in sets or map keys, hashCode and
&lt;br&gt;&amp;gt;&amp;gt; equals should be &amp;nbsp;immutable after construction. So I don't see how we
&lt;br&gt;&amp;gt;&amp;gt; can mandate that hashCode and equals rely in any internal state.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Alternatively, Query.toString() could be required to return the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; single-string representation of the query, or some dedicated &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; method was
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; added to provide it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Having the single-string version of a query is useful but adds
&lt;br&gt;&amp;gt;&amp;gt; implementation complexity. While there is a requirement for an
&lt;br&gt;&amp;gt;&amp;gt; implementation to parse a single string query into executable form,
&lt;br&gt;&amp;gt;&amp;gt; there's no current requirement to create the single string form from
&lt;br&gt;&amp;gt;&amp;gt; the internal form.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; This would make it easier to e.g. implement some custom cache for &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; query
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; results, or, more generally, it would make it easier to put Query
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; objects as keys into Maps.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It seems to me that if you want this functionality at the application
&lt;br&gt;&amp;gt;&amp;gt; framework layer, then the framework can mandate that the single &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; string
&lt;br&gt;&amp;gt;&amp;gt; form be used and at the time the query is created, the single string
&lt;br&gt;&amp;gt;&amp;gt; form be used as the key into a framework map.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Craig
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ____________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; UST-Id. DE 217652550
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Craig L Russell
&lt;br&gt;&amp;gt;&amp;gt; Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; 408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26382070&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; P.S. A good JDO? O, Gasp!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; ____________________________________________________________________
&lt;br&gt;&amp;gt; artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;&amp;gt; Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;&amp;gt; Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376
&lt;br&gt;&amp;gt; UST-Id. DE 217652550
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;/div&gt;Craig L Russell
&lt;br&gt;Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26382070&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;P.S. A good JDO? O, Gasp!
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (3K) &lt;a href=&quot;http://old.nabble.com/attachment/26382070/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Query-objects-and-hashCode%28%29--%2B-equals%28%29-tp25928614p26382070.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26377442</id>
	<title>Re: Update timeout?</title>
	<published>2009-11-16T10:55:56Z</published>
	<updated>2009-11-16T10:55:56Z</updated>
	<author>
		<name>Craig L Russell</name>
	</author>
	<content type="html">Hi Jörg,
&lt;br&gt;&lt;br&gt;This is a timely comment. We're just finalizing the query timeout &amp;nbsp;
&lt;br&gt;issue and we should take care of this item as well for the 2.3 release.
&lt;br&gt;&lt;br&gt;It's possible that we could use the same query timeout value that we &amp;nbsp;
&lt;br&gt;set on the PersistenceManagerFactory and PersistenceManager to apply &amp;nbsp;
&lt;br&gt;to both queries and updates/deletes. This would minimize the API &amp;nbsp;
&lt;br&gt;&amp;quot;footprint&amp;quot; with no loss of expressiveness.
&lt;br&gt;&lt;br&gt;So let's discuss the scope of the query timeout possibly to apply to &amp;nbsp;
&lt;br&gt;delete and update operations as well.
&lt;br&gt;&lt;br&gt;I agree that it's currently not possible to get access to the &amp;nbsp;
&lt;br&gt;Statement that is being executed so you can set the timeout in the &amp;nbsp;
&lt;br&gt;application. It has to be a JDO setting.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Craig
&lt;br&gt;&lt;br&gt;On Nov 16, 2009, at 9:27 AM, Joerg von Frantzius wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; the other day we had the problem that a row lock got held indefinitely
&lt;br&gt;&amp;gt; in a production database, probably because of the appserver not &amp;nbsp;
&lt;br&gt;&amp;gt; properly
&lt;br&gt;&amp;gt; committing a connection. As a consequence, the HTTP-threads of the
&lt;br&gt;&amp;gt; appserver got blocked one after the other, during execution of an &amp;nbsp;
&lt;br&gt;&amp;gt; UPDATE
&lt;br&gt;&amp;gt; statement. This eventually lead to the whole appserver cluster to &amp;nbsp;
&lt;br&gt;&amp;gt; hang,
&lt;br&gt;&amp;gt; when all HTTP thread pools were filled with blocked threads.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The consequences of a single hanging row-lock could be much less &amp;nbsp;
&lt;br&gt;&amp;gt; drastic
&lt;br&gt;&amp;gt; if something like an update timeout existed. I was hoping that
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Statement.html#setQueryTimeout(int&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Statement.html#setQueryTimeout(int&lt;/a&gt;)
&lt;br&gt;&amp;gt; applies to both SELECT and UPDATE statements, so that threads &amp;nbsp;
&lt;br&gt;&amp;gt; blocked in
&lt;br&gt;&amp;gt; a UPDATE statement wouldn't do so forever.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What do you think of having an additional &amp;nbsp;
&lt;br&gt;&amp;gt; javax.jdo.option.UpdateTimeout
&lt;br&gt;&amp;gt; PMF property for this?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Currently there is no way for an application to access any
&lt;br&gt;&amp;gt; java.sql.Statement object used by the JDO implementation to invoke
&lt;br&gt;&amp;gt; setQueryTimeout() by itself, so in order to have update timeouts with
&lt;br&gt;&amp;gt; JDO, some extension of the spec would be necessary?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Jörg
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; ____________________________________________________________________
&lt;br&gt;&amp;gt; artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;&amp;gt; Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;&amp;gt; Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376
&lt;br&gt;&amp;gt; UST-Id. DE 217652550
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;joerg_von_frantzius.vcf&amp;gt;
&lt;/div&gt;&lt;/div&gt;Craig L Russell
&lt;br&gt;Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26377442&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;P.S. A good JDO? O, Gasp!
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (3K) &lt;a href=&quot;http://old.nabble.com/attachment/26377442/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Update-timeout--tp26375988p26377442.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26375988</id>
	<title>Update timeout?</title>
	<published>2009-11-16T09:27:30Z</published>
	<updated>2009-11-16T09:27:30Z</updated>
	<author>
		<name>Joerg von Frantzius-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;the other day we had the problem that a row lock got held indefinitely
&lt;br&gt;in a production database, probably because of the appserver not properly
&lt;br&gt;committing a connection. As a consequence, the HTTP-threads of the
&lt;br&gt;appserver got blocked one after the other, during execution of an UPDATE
&lt;br&gt;statement. This eventually lead to the whole appserver cluster to hang,
&lt;br&gt;when all HTTP thread pools were filled with blocked threads.
&lt;br&gt;&lt;br&gt;The consequences of a single hanging row-lock could be much less drastic
&lt;br&gt;if something like an update timeout existed. I was hoping that
&lt;br&gt;&lt;a href=&quot;http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Statement.html#setQueryTimeout(int&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Statement.html#setQueryTimeout(int&lt;/a&gt;)
&lt;br&gt;applies to both SELECT and UPDATE statements, so that threads blocked in
&lt;br&gt;a UPDATE statement wouldn't do so forever.
&lt;br&gt;&lt;br&gt;What do you think of having an additional javax.jdo.option.UpdateTimeout
&lt;br&gt;PMF property for this?
&lt;br&gt;&lt;br&gt;Currently there is no way for an application to access any
&lt;br&gt;java.sql.Statement object used by the JDO implementation to invoke
&lt;br&gt;setQueryTimeout() by itself, so in order to have update timeouts with
&lt;br&gt;JDO, some extension of the spec would be necessary?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Jörg
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;____________________________________________________________________
&lt;br&gt;artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376 
&lt;br&gt;UST-Id. DE 217652550
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Update-timeout--tp26375988p26375988.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374939</id>
	<title>Re: Query objects and hashCode()  + equals()</title>
	<published>2009-11-16T08:32:49Z</published>
	<updated>2009-11-16T08:32:49Z</updated>
	<author>
		<name>Joerg von Frantzius-2</name>
	</author>
	<content type="html">Hi Craig,
&lt;br&gt;&lt;br&gt;you are absolutely right about the Query object being mutable, and this
&lt;br&gt;conflicting with its use as a key in a HashMap. But telling from the
&lt;br&gt;general contracts of Map, equals() and hashCode(), I don't think that
&lt;br&gt;there exists a requirement for Map keys to be immutable. There may also
&lt;br&gt;be other purposes for comparing Query objects using equals(), or Map
&lt;br&gt;implementations that don't require immutability of keys.
&lt;br&gt;&lt;br&gt;I wouldn't ask if datanucleus wasn't already there halfway: datanucleus'
&lt;br&gt;JDO query object delegates to org.datanucleus.store.query.Query, which
&lt;br&gt;already correctly implements equals(), hashCode() and toString(). The
&lt;br&gt;only thing missing is the wrapper query object to also delegate these
&lt;br&gt;methods (I guess that was simply forgotten when that additional layer
&lt;br&gt;was introduced with JPOX implementing JPA).
&lt;br&gt;&lt;br&gt;Just a small thing, I hope I'll find the time to fix it in datanucleus
&lt;br&gt;myself. When that has happened, it could still be worth putting in the spec?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Jörg
&lt;br&gt;&lt;br&gt;On 10/23/2009 06:57 PM, Craig L Russell wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Jörg,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Oct 16, 2009, at 9:50 AM, Joerg von Frantzius wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; it would be nice if the spec would mandate that implementations of
&lt;br&gt;&amp;gt;&amp;gt; javax.jdo.Query do correctly implement hashCode() and equals().
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As users execute mutator methods on queries, the string representation
&lt;br&gt;&amp;gt; would change. And for proper use in sets or map keys, hashCode and
&lt;br&gt;&amp;gt; equals should be &amp;nbsp;immutable after construction. So I don't see how we
&lt;br&gt;&amp;gt; can mandate that hashCode and equals rely in any internal state.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Alternatively, Query.toString() could be required to return the
&lt;br&gt;&amp;gt;&amp;gt; single-string representation of the query, or some dedicated method was
&lt;br&gt;&amp;gt;&amp;gt; added to provide it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; Having the single-string version of a query is useful but adds
&lt;br&gt;&amp;gt; implementation complexity. While there is a requirement for an
&lt;br&gt;&amp;gt; implementation to parse a single string query into executable form,
&lt;br&gt;&amp;gt; there's no current requirement to create the single string form from
&lt;br&gt;&amp;gt; the internal form.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This would make it easier to e.g. implement some custom cache for query
&lt;br&gt;&amp;gt;&amp;gt; results, or, more generally, it would make it easier to put Query
&lt;br&gt;&amp;gt;&amp;gt; objects as keys into Maps.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It seems to me that if you want this functionality at the application
&lt;br&gt;&amp;gt; framework layer, then the framework can mandate that the single string
&lt;br&gt;&amp;gt; form be used and at the time the query is created, the single string
&lt;br&gt;&amp;gt; form be used as the key into a framework map.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Craig
&lt;br&gt;&amp;gt;&amp;gt; ____________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt; artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;&amp;gt;&amp;gt; Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;&amp;gt;&amp;gt; Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376
&lt;br&gt;&amp;gt;&amp;gt; UST-Id. DE 217652550
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Craig L Russell
&lt;br&gt;&amp;gt; Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;&amp;gt; 408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374939&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;&amp;gt; P.S. A good JDO? O, Gasp!
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;____________________________________________________________________
&lt;br&gt;artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
&lt;br&gt;Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
&lt;br&gt;Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376 
&lt;br&gt;UST-Id. DE 217652550
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Query-objects-and-hashCode%28%29--%2B-equals%28%29-tp25928614p26374939.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374375</id>
	<title>[jira] Resolved: (JDO-649) Upgrade &quot;persistence-api.jar&quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now</title>
	<published>2009-11-16T07:59:39Z</published>
	<updated>2009-11-16T07:59:39Z</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/JDO-649?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/JDO-649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Andy Jefferson resolved JDO-649.
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;SVN trunk fixes this
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Upgrade &amp;quot;persistence-api.jar&amp;quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now
&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: JDO-649
&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/JDO-649&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-649&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: JDO
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Task
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: tck2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Andy Jefferson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Andy Jefferson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: JDO 2 maintenance release 3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; DataNucleus builds against JPA2 specification now so need to upgrade the &amp;quot;geronimo-specs&amp;quot; dependency. Was previously
&lt;br&gt;&amp;gt; &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_3.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt; and should be
&lt;br&gt;&amp;gt; &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_2.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0-PFD2&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt; No idea why geronimo specs thinks JPA1 is &amp;quot;JPA 3.0&amp;quot; but anyway ...
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-649%29-Upgrade-%22persistence.xml%22-for-use-with-TCK-to-be-JPA2-since-DataNucleus-2.x-uses-that-now-tp26374215p26374375.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374250</id>
	<title>[jira] Updated: (JDO-649) Upgrade &quot;persistence.xml&quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now</title>
	<published>2009-11-16T07:51:39Z</published>
	<updated>2009-11-16T07:51:39Z</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/JDO-649?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/JDO-649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Andy Jefferson updated JDO-649:
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Description: 
&lt;br&gt;DataNucleus builds against JPA2 specification now so need to upgrade the &amp;quot;geronimo-specs&amp;quot; dependency. Was previously
&lt;br&gt;&lt;br&gt;&amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_3.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;lt;/dependency&amp;gt;
&lt;br&gt;&lt;br&gt;and should be
&lt;br&gt;&lt;br&gt;&amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_2.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0-PFD2&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;lt;/dependency&amp;gt;
&lt;br&gt;&lt;br&gt;No idea why geronimo specs thinks JPA1 is &amp;quot;JPA 3.0&amp;quot; but anyway ...
&lt;br&gt;&lt;br&gt;&amp;nbsp; was:DataNucleus builds against JPA2 specification now so need to upgrade the &amp;quot;geronimo-specs&amp;quot; dependency
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Upgrade &amp;quot;persistence.xml&amp;quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now
&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: JDO-649
&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/JDO-649&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-649&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: JDO
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Task
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: tck2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Andy Jefferson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Andy Jefferson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: JDO 2 maintenance release 3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; DataNucleus builds against JPA2 specification now so need to upgrade the &amp;quot;geronimo-specs&amp;quot; dependency. Was previously
&lt;br&gt;&amp;gt; &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_3.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt; and should be
&lt;br&gt;&amp;gt; &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_2.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0-PFD2&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt; No idea why geronimo specs thinks JPA1 is &amp;quot;JPA 3.0&amp;quot; but anyway ...
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-649%29-Upgrade-%22persistence.xml%22-for-use-with-TCK-to-be-JPA2-since-DataNucleus-2.x-uses-that-now-tp26374215p26374250.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374252</id>
	<title>[jira] Updated: (JDO-649) Upgrade &quot;persistence-api.jar&quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now</title>
	<published>2009-11-16T07:51:39Z</published>
	<updated>2009-11-16T07:51:39Z</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/JDO-649?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/JDO-649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Andy Jefferson updated JDO-649:
&lt;br&gt;-------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Summary: Upgrade &amp;quot;persistence-api.jar&amp;quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now &amp;nbsp;(was: Upgrade &amp;quot;persistence.xml&amp;quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Upgrade &amp;quot;persistence-api.jar&amp;quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now
&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: JDO-649
&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/JDO-649&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-649&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: JDO
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Issue Type: Task
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Components: tck2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Andy Jefferson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Andy Jefferson
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fix For: JDO 2 maintenance release 3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; DataNucleus builds against JPA2 specification now so need to upgrade the &amp;quot;geronimo-specs&amp;quot; dependency. Was previously
&lt;br&gt;&amp;gt; &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_3.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt; and should be
&lt;br&gt;&amp;gt; &amp;lt;dependency&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.geronimo.specs&amp;lt;/groupId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;artifactId&amp;gt;geronimo-jpa_2.0_spec&amp;lt;/artifactId&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;version&amp;gt;1.0-PFD2&amp;lt;/version&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/dependency&amp;gt;
&lt;br&gt;&amp;gt; No idea why geronimo specs thinks JPA1 is &amp;quot;JPA 3.0&amp;quot; but anyway ...
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-649%29-Upgrade-%22persistence.xml%22-for-use-with-TCK-to-be-JPA2-since-DataNucleus-2.x-uses-that-now-tp26374215p26374252.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374215</id>
	<title>[jira] Created: (JDO-649) Upgrade &quot;persistence.xml&quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now</title>
	<published>2009-11-16T07:49:39Z</published>
	<updated>2009-11-16T07:49:39Z</updated>
	<author>
		<name>JIRA jira@apache.org</name>
	</author>
	<content type="html">Upgrade &amp;quot;persistence.xml&amp;quot; for use with TCK to be JPA2 since DataNucleus 2.x uses that now
&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: JDO-649
&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/JDO-649&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-649&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Project: JDO
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Issue Type: Task
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Components: tck2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Reporter: Andy Jefferson
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assignee: Andy Jefferson
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fix For: JDO 2 maintenance release 3
&lt;br&gt;&lt;br&gt;&lt;br&gt;DataNucleus builds against JPA2 specification now so need to upgrade the &amp;quot;geronimo-specs&amp;quot; dependency
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-649%29-Upgrade-%22persistence.xml%22-for-use-with-TCK-to-be-JPA2-since-DataNucleus-2.x-uses-that-now-tp26374215p26374215.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26340621</id>
	<title>Minutes: JDO TCK Conference Call Friday, Nov 13 9 am PDT</title>
	<published>2009-11-13T09:51:18Z</published>
	<updated>2009-11-13T09:51:18Z</updated>
	<author>
		<name>Craig L Russell</name>
	</author>
	<content type="html">Attendees: Michael Bouschen, Michelle Caisse, Craig Russell
&lt;br&gt;&lt;br&gt;Agenda:
&lt;br&gt;&lt;br&gt;1. Change JTA 1.1 dependency artifact id from &amp;quot;transaction-api&amp;quot; to &amp;nbsp;
&lt;br&gt;&amp;quot;jta&amp;quot; &lt;a href=&quot;https://issues.apache.org/jira/browse/JDO-644&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-644&lt;/a&gt;&lt;br&gt;&lt;br&gt;Patch looks good. Ship it.
&lt;br&gt;&lt;br&gt;2. Query timeout test &lt;a href=&quot;https://issues.apache.org/jira/browse/JDO-623&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-623&lt;/a&gt;&lt;br&gt;&lt;br&gt;Issues needing resolution: Should there be a documented option in case &amp;nbsp;
&lt;br&gt;the JDO implementation or the underlying datastore doesn't support a &amp;nbsp;
&lt;br&gt;query timeout? Does the query timeout apply to all &amp;quot;datastore query&amp;quot; &amp;nbsp;
&lt;br&gt;operations including find by key, navigation, and loading lazy &amp;nbsp;
&lt;br&gt;collections? If the datastore has the JDBC standard second resolution, &amp;nbsp;
&lt;br&gt;and there is less than 1000 millis left in the timeout, what should be &amp;nbsp;
&lt;br&gt;the timeout set on the datastore query statement? AI Michael write up &amp;nbsp;
&lt;br&gt;issues with proposed solution.
&lt;br&gt;&lt;br&gt;3. Question re Support for if-then-else in JDOQL
&lt;br&gt;&lt;br&gt;This might make sense for a future release (it's probably too big to &amp;nbsp;
&lt;br&gt;fit into 2.3). AI Michael take a look at what changes would be needed &amp;nbsp;
&lt;br&gt;in the BNF, reply to the original email, and then discuss. The Java &amp;nbsp;
&lt;br&gt;conditional expression maps to the SQL CASE ELSE END expression. More &amp;nbsp;
&lt;br&gt;difficult for non-SQL datastores so it might involve an optional &amp;nbsp;
&lt;br&gt;feature.
&lt;br&gt;&lt;br&gt;4. Other issues
&lt;br&gt;&lt;br&gt;none.
&lt;br&gt;&lt;br&gt;Craig L Russell
&lt;br&gt;Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26340621&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;P.S. A good JDO? O, Gasp!
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (3K) &lt;a href=&quot;http://old.nabble.com/attachment/26340621/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JDO-TCK-Conference-Call-Friday%2C-June-15%2C-9-am-PDT-tp11129570p26340621.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26330463</id>
	<title>[jira] Updated: (JDO-644) Change JTA 1.1 dependency artifact id from &quot;transaction-api&quot; to &quot;jta&quot;</title>
	<published>2009-11-12T18:52:39Z</published>
	<updated>2009-11-12T18:52:39Z</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/JDO-644?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/JDO-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Michelle Caisse updated JDO-644:
&lt;br&gt;--------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Attachment: jta-01-new.patch
&lt;br&gt;&lt;br&gt;Per discussion at the last teleconference, propose using this new patch that modifies only api2/pom.xml, which is the only build file used by Maven 2. This should solve the problem with Maven 2 and avoid any issues for Maven 1 users.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Change JTA 1.1 dependency artifact id from &amp;quot;transaction-api&amp;quot; to &amp;quot;jta&amp;quot;
&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: JDO-644
&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/JDO-644&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-644&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: JDO
&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: api2, api2-legacy, core2, enhancer2, fostore2, model2, query2, runtime2, tck2, tck2-legacy, util2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: JDO 2 maintenance release 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Matthew T. Adams
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: jta-01-new.patch, jta-01.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It appears that the Maven 2 artifact id for JTA 1.1 is &amp;quot;jta&amp;quot;, not &amp;quot;transaction-api&amp;quot;. &amp;nbsp;The Maven 2 POM is here:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/transaction/jta/1.1/jta-1.1.pom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/transaction/jta/1.1/jta-1.1.pom&lt;/a&gt;&lt;br&gt;&amp;gt; For Maven1, the Maven 1 artifact id is &amp;quot;transaction-api&amp;quot;:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://download.java.net/maven/1/javax.transaction/poms/transaction-api-1.1.pom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://download.java.net/maven/1/javax.transaction/poms/transaction-api-1.1.pom&lt;/a&gt;&lt;br&gt;&amp;gt; Since most users use Maven2, this should be updated to &amp;quot;jta&amp;quot; and we, the team producing JDO, should just manually install JTA 1.1 into our own local Maven 1 repository with the artifact id &amp;quot;jta&amp;quot;, using the Maven 2. &amp;nbsp;Without this, it is extremely annoying for users to have to work around this.
&lt;br&gt;&amp;gt; An alternative solution would be to upload to the Maven 1 central repo a copy of JTA 1.1 with artifact id &amp;quot;jta&amp;quot;, but I don't how to do that.
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-644%29-Change-JTA-1.1-dependency-artifact-id-from-%22transaction-api%22-to-%22jta%22-tp25960460p26330463.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26330392</id>
	<title>JDO TCK Conference Call Friday, Nov 13 9 am PDT</title>
	<published>2009-11-12T18:42:34Z</published>
	<updated>2009-11-12T18:42:34Z</updated>
	<author>
		<name>Michelle Caisse-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;We will have our regular meeting Friday, November 13 at 9 am PDT to 
&lt;br&gt;discuss JDO TCK issues and status.
&lt;br&gt;&lt;br&gt;Dial-in numbers are:
&lt;br&gt;Domestic (toll-free): &amp;nbsp;866 230-6968
&lt;br&gt;International (caller-paid): &amp;nbsp;+1 213 787-0528
&lt;br&gt;Access code : &amp;nbsp;294-0479#
&lt;br&gt;&lt;br&gt;Agenda:
&lt;br&gt;&lt;br&gt;1. Change JTA 1.1 dependency artifact id from &amp;quot;transaction-api&amp;quot; to &amp;quot;jta&amp;quot; 
&lt;br&gt;&lt;a href=&quot;https://issues.apache.org/jira/browse/JDO-644&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-644&lt;/a&gt;&lt;br&gt;2. Query timeout test &lt;a href=&quot;https://issues.apache.org/jira/browse/JDO-623&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-623&lt;/a&gt;&lt;br&gt;3. Question re Support for if-then-else in JDOQL
&lt;br&gt;4. Other issues
&lt;br&gt;&lt;br&gt;Action Items from weeks past:
&lt;br&gt;&lt;br&gt;-- Michelle
&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;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;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JDO-TCK-Conference-Call-Friday%2C-June-15%2C-9-am-PDT-tp11129570p26330392.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26299562</id>
	<title>Support for if-then-else in JDOQL</title>
	<published>2009-11-11T03:07:26Z</published>
	<updated>2009-11-11T03:07:26Z</updated>
	<author>
		<name>Timo Westkämper-2</name>
	</author>
	<content type="html">Hello.
&lt;br&gt;&lt;br&gt;I am implementing the shortcut form for if-then-else (x ? y : c) in 
&lt;br&gt;Querydsl.
&lt;br&gt;&lt;br&gt;Is there support for it in JDOQL? If not, could it be added?
&lt;br&gt;&lt;br&gt;Br,
&lt;br&gt;Timo Westkämper.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Timo Westkämper &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26299562&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;timo.westkamper@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Mysema Ltd, Vilhonkatu 5 A, 00100 Helsinki, Finland
&lt;br&gt;Mob. +358 (0)40 591 2172 
&lt;br&gt;Internet: &lt;a href=&quot;http://www.mysema.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mysema.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JDO-TCK-Conference-Call-Friday%2C-June-15%2C-9-am-PDT-tp11129570p26299562.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26226452</id>
	<title>JDO TCK Conference Call Friday: CANCELLED</title>
	<published>2009-11-05T19:35:48Z</published>
	<updated>2009-11-05T19:35:48Z</updated>
	<author>
		<name>Michelle Caisse-2</name>
	</author>
	<content type="html">Tomorrow's conference call is cancelled. We will meet again on Friday, 
&lt;br&gt;November 13 at 9 am PST.
&lt;br&gt;&lt;br&gt;-- Michelle
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JDO-TCK-Conference-Call-Friday%2C-June-15%2C-9-am-PDT-tp11129570p26226452.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26174770</id>
	<title>query timeout</title>
	<published>2009-11-02T20:29:10Z</published>
	<updated>2009-11-02T20:29:10Z</updated>
	<author>
		<name>Michelle Caisse-2</name>
	</author>
	<content type="html">If the issue is support for JDBC setQueryTimeout, it appears that at 
&lt;br&gt;least PostgreSQL lacks support. Here are links to discussions of the 
&lt;br&gt;issue for a few databases.
&lt;br&gt;&lt;br&gt;Oracle: supported, but timing issues can affect results 
&lt;br&gt;&lt;a href=&quot;http://forums.oracle.com/forums/thread.jspa?threadID=550257&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://forums.oracle.com/forums/thread.jspa?threadID=550257&lt;/a&gt;&lt;br&gt;&lt;br&gt;PostgreSQL: apparently not supported 
&lt;br&gt;&lt;a href=&quot;http://archives.postgresql.org/pgsql-jdbc/2008-01/msg00089.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://archives.postgresql.org/pgsql-jdbc/2008-01/msg00089.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;Derby: supported 
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/cancel-a-running-query--td19903183.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/cancel-a-running-query--td19903183.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- Michelle
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/query-timeout-tp26174770p26174770.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26133479</id>
	<title>Re: Minutes: JDO TCK Conference Call Friday, Oct 30 9 am PDT</title>
	<published>2009-10-30T09:52:50Z</published>
	<updated>2009-10-30T09:52:50Z</updated>
	<author>
		<name>Michael Bouschen-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm sorry, I missed the call today. I forgot that the conference call is 
&lt;br&gt;one hour earlier for me, because Germany already switched back from 
&lt;br&gt;daylight saving time. I checked my email to prepare for the conference 
&lt;br&gt;call and found the minutes :-).
&lt;br&gt;&lt;br&gt;Regards Michael
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Attendees: Michelle Caisse, Craig Russell
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Agenda:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1. Change JTA 1.1 dependency artifact id from &amp;quot;transaction-api&amp;quot; to 
&lt;br&gt;&amp;gt; &amp;quot;jta&amp;quot; &lt;a href=&quot;https://issues.apache.org/jira/browse/JDO-644&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-644&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It seems that there is a problem with the patch. Since the only 
&lt;br&gt;&amp;gt; artifact affected for maven 2 users is the api2/pom.xml, and maven 1 
&lt;br&gt;&amp;gt; is used for everything else, perhaps simply updating the api2 pom 
&lt;br&gt;&amp;gt; would be best. AI Michelle test just updating api2 pom and update the 
&lt;br&gt;&amp;gt; JIRA.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2. Query timeout test &lt;a href=&quot;https://issues.apache.org/jira/browse/JDO-623&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-623&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Still open AI's to finish the discussion of what exactly query timeout 
&lt;br&gt;&amp;gt; means, and whether it's optional.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 3. Other issues
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Action Items from weeks past:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 16 Oct 08 AI Michelle: Investigate query timeouts as they apply to SQL 
&lt;br&gt;&amp;gt; standard datastores.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Craig L Russell
&lt;br&gt;&amp;gt; Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;&amp;gt; 408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26133479&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;&amp;gt; P.S. A good JDO? O, Gasp!
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;*Michael Bouschen*
&lt;br&gt;*Prokurist*
&lt;br&gt;&lt;br&gt;akquinet tech@spree GmbH
&lt;br&gt;Bülowstr. 66, D-10783 Berlin
&lt;br&gt;&lt;br&gt;Fon: &amp;nbsp; +49 30 235 520-33
&lt;br&gt;Fax: &amp;nbsp; +49 30 217 520-12
&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26133479&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.bouschen@...&lt;/a&gt;
&lt;br&gt;Url: &amp;nbsp; &amp;nbsp;www.akquinet.de &amp;lt;&lt;a href=&quot;http://www.akquinet.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.akquinet.de&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;akquinet tech@spree GmbH, Berlin
&lt;br&gt;Geschäftsführung: Martin Weber, Prof. Dr. Christian Roth
&lt;br&gt;Amtsgericht Berlin-Charlottenburg HRB 86780 B
&lt;br&gt;USt.-Id. Nr.: DE 225 964 680
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JDO-TCK-Conference-Call-Friday%2C-June-15%2C-9-am-PDT-tp11129570p26133479.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26133264</id>
	<title>Minutes: JDO TCK Conference Call Friday, Oct 30 9 am PDT</title>
	<published>2009-10-30T09:37:59Z</published>
	<updated>2009-10-30T09:37:59Z</updated>
	<author>
		<name>Craig L Russell</name>
	</author>
	<content type="html">Attendees: Michelle Caisse, Craig Russell
&lt;br&gt;&lt;br&gt;Agenda:
&lt;br&gt;&lt;br&gt;1. Change JTA 1.1 dependency artifact id from &amp;quot;transaction-api&amp;quot; to &amp;nbsp;
&lt;br&gt;&amp;quot;jta&amp;quot; &lt;a href=&quot;https://issues.apache.org/jira/browse/JDO-644&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-644&lt;/a&gt;&lt;br&gt;&lt;br&gt;It seems that there is a problem with the patch. Since the only &amp;nbsp;
&lt;br&gt;artifact affected for maven 2 users is the api2/pom.xml, and maven 1 &amp;nbsp;
&lt;br&gt;is used for everything else, perhaps simply updating the api2 pom &amp;nbsp;
&lt;br&gt;would be best. AI Michelle test just updating api2 pom and update the &amp;nbsp;
&lt;br&gt;JIRA.
&lt;br&gt;&lt;br&gt;2. Query timeout test &lt;a href=&quot;https://issues.apache.org/jira/browse/JDO-623&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-623&lt;/a&gt;&lt;br&gt;&lt;br&gt;Still open AI's to finish the discussion of what exactly query timeout &amp;nbsp;
&lt;br&gt;means, and whether it's optional.
&lt;br&gt;&lt;br&gt;3. Other issues
&lt;br&gt;&lt;br&gt;Action Items from weeks past:
&lt;br&gt;&lt;br&gt;16 Oct 08 AI Michelle: Investigate query timeouts as they apply to SQL &amp;nbsp;
&lt;br&gt;standard datastores.
&lt;br&gt;&lt;br&gt;Craig L Russell
&lt;br&gt;Architect, Sun Java Enterprise System &lt;a href=&quot;http://db.apache.org/jdo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/jdo&lt;/a&gt;&lt;br&gt;408 276-5638 mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26133264&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Craig.Russell@...&lt;/a&gt;
&lt;br&gt;P.S. A good JDO? O, Gasp!
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;smime.p7s&lt;/strong&gt; (3K) &lt;a href=&quot;http://old.nabble.com/attachment/26133264/0/smime.p7s&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JDO-TCK-Conference-Call-Friday%2C-June-15%2C-9-am-PDT-tp11129570p26133264.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26130180</id>
	<title>JDO TCK Conference Call Friday, Oct 30 9 am PDT NOTE TIME CHANGE</title>
	<published>2009-10-30T06:32:21Z</published>
	<updated>2009-10-30T06:32:21Z</updated>
	<author>
		<name>Michelle Caisse-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;We will have our regular meeting Friday, October 30 at 9 am PDT to 
&lt;br&gt;discuss JDO TCK issues and status.
&lt;br&gt;&lt;br&gt;NOTE THAT THE U.S. IS STILL ON DAYLIGHT SAVINGS TIME TODAY!
&lt;br&gt;&lt;br&gt;Dial-in numbers are:
&lt;br&gt;Domestic (toll-free): &amp;nbsp;866 230-6968
&lt;br&gt;International (caller-paid): &amp;nbsp;+1 213 787-0528
&lt;br&gt;Access code : &amp;nbsp;294-0479#
&lt;br&gt;&lt;br&gt;Agenda:
&lt;br&gt;&lt;br&gt;1. Change JTA 1.1 dependency artifact id from &amp;quot;transaction-api&amp;quot; to &amp;quot;jta&amp;quot; 
&lt;br&gt;&lt;a href=&quot;https://issues.apache.org/jira/browse/JDO-644&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-644&lt;/a&gt;&lt;br&gt;2. Query timeout test &lt;a href=&quot;https://issues.apache.org/jira/browse/JDO-623&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-623&lt;/a&gt;&lt;br&gt;3. Other issues
&lt;br&gt;&lt;br&gt;Action Items from weeks past:
&lt;br&gt;&lt;br&gt;16 Oct 08 AI Michelle: Investigate query timeouts as they apply to SQL 
&lt;br&gt;standard datastores.
&lt;br&gt;&lt;br&gt;-- Michelle
&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;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JDO-TCK-Conference-Call-Friday%2C-June-15%2C-9-am-PDT-tp11129570p26130180.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26044197</id>
	<title>[jira] Commented: (JDO-644) Change JTA 1.1 dependency artifact id from &quot;transaction-api&quot; to &quot;jta&quot;</title>
	<published>2009-10-24T17:02:59Z</published>
	<updated>2009-10-24T17:02: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/JDO-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12769738#action_12769738&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12769738#action_12769738&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Michelle Caisse commented on JDO-644:
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;Since the TCK can only be run with Maven 1, can we leave tck2/project.xml as is?
&lt;br&gt;&lt;br&gt;With the patch installed I get enhancer errors on running the TCK, whereas the api2 project builds without error.
&lt;br&gt;&lt;br&gt;16:36:40,468 (main) ERROR [DataNucleus.MetaData] - Class &amp;quot;org.apache.jdo.tck.pc.companyListWithoutJoin.CompanyModelReader&amp;quot; was not found in the CLASSPATH. Please check your specification and your CLASSPATH.
&lt;br&gt;org.datanucleus.exceptions.ClassNotResolvedException: Class &amp;quot;org.apache.jdo.tck.pc.companyListWithoutJoin.CompanyModelReader&amp;quot; was not found in the CLASSPATH. Please check your specification and your CLASSPATH.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.datanucleus.JDOClassLoaderResolver.classForName(JDOClassLoaderResolver.java:250)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.datanucleus.JDOClassLoaderResolver.classForName(JDOClassLoaderResolver.java:415)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.datanucleus.metadata.MetaDataManager.loadClasses(MetaDataManager.java:436)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:703)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:551)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.datanucleus.jdo.JDODataNucleusEnhancer.enhance(JDODataNucleusEnhancer.java:126)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.jdo.Enhancer.run(Enhancer.java:196)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.jdo.Enhancer.main(Enhancer.java:130)
&lt;br&gt;&lt;br&gt;for:
&lt;br&gt;org.apache.jdo.tck.pc.mylib.MylibReader
&lt;br&gt;org.apache.jdo.tck.pc.companyListWithoutJoin.CompanyModelReader
&lt;br&gt;org.apache.jdo.tck.pc.companyMapWithoutJoin.CompanyModelReader
&lt;br&gt;org.apache.jdo.tck.pc.company.CompanyModelReader
&lt;br&gt;org.apache.jdo.tck.pc.order.OrderModelReader
&lt;br&gt;&lt;br&gt;There are also test errors, including the runonce test.
&lt;br&gt;&lt;br&gt;I haven't tried to upload jta 1.1, but why would it be found for api2 and not tck2? The only possibly relevant difference I can see is that api2 has a pom.xml and tck2 does not.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Change JTA 1.1 dependency artifact id from &amp;quot;transaction-api&amp;quot; to &amp;quot;jta&amp;quot;
&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: JDO-644
&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/JDO-644&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-644&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: JDO
&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: api2, api2-legacy, core2, enhancer2, fostore2, model2, query2, runtime2, tck2, tck2-legacy, util2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: JDO 2 maintenance release 3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Matthew T. Adams
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: jta-01.patch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It appears that the Maven 2 artifact id for JTA 1.1 is &amp;quot;jta&amp;quot;, not &amp;quot;transaction-api&amp;quot;. &amp;nbsp;The Maven 2 POM is here:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/transaction/jta/1.1/jta-1.1.pom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/transaction/jta/1.1/jta-1.1.pom&lt;/a&gt;&lt;br&gt;&amp;gt; For Maven1, the Maven 1 artifact id is &amp;quot;transaction-api&amp;quot;:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://download.java.net/maven/1/javax.transaction/poms/transaction-api-1.1.pom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://download.java.net/maven/1/javax.transaction/poms/transaction-api-1.1.pom&lt;/a&gt;&lt;br&gt;&amp;gt; Since most users use Maven2, this should be updated to &amp;quot;jta&amp;quot; and we, the team producing JDO, should just manually install JTA 1.1 into our own local Maven 1 repository with the artifact id &amp;quot;jta&amp;quot;, using the Maven 2. &amp;nbsp;Without this, it is extremely annoying for users to have to work around this.
&lt;br&gt;&amp;gt; An alternative solution would be to upload to the Maven 1 central repo a copy of JTA 1.1 with artifact id &amp;quot;jta&amp;quot;, but I don't how to do that.
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-644%29-Change-JTA-1.1-dependency-artifact-id-from-%22transaction-api%22-to-%22jta%22-tp25960460p26044197.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26042393</id>
	<title>[jira] Resolved: (JDO-639) tck enhancement should make use of feature to enhance an entire directory</title>
	<published>2009-10-24T12:48:59Z</published>
	<updated>2009-10-24T12:48: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/JDO-639?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/JDO-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel&lt;/a&gt;&amp;nbsp;]
&lt;br&gt;&lt;br&gt;Michelle Caisse resolved JDO-639.
&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Resolution: Fixed
&lt;br&gt;&lt;br&gt;Complete with revision 829438
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; tck enhancement should make use of feature to enhance an entire directory
&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: JDO-639
&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/JDO-639&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-639&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: JDO
&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: tck2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: JDO 2 maintenance release 2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Michael Bouschen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Michelle Caisse
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: enhance.txt, jdo-639.txt
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The current enhancer call as part of the runtck goal takes a list of .jdo files as an argument (see property jdo.tck.jdometadata.files in project.properties and maven.xml). The new enhancer invocation API allows to enhance all files of a given directory. We should investigate to make use of this feature in order to get rid of listing all the .jdo in the property jdo.tck.jdometadata.files.
&lt;br&gt;&amp;gt; There is a similar issue with the properties jdo.tck.pcclasses.sources and jdo.tck.pcclasses.files:
&lt;br&gt;&amp;gt; - Property jdo.tck.pcclasses.sources is used when checking whether (re)enhancing is required. Maybe a pattern 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;org/apache/jdo/tck/api/**/*.java, org/apache/jdo/tck/pc/**/*.java
&lt;br&gt;&amp;gt; can be used instead of listing all the persistent capable classes explicitly.
&lt;br&gt;&amp;gt; - Property jdo.tck.pcclasses.files is used when copying the class file into the identitytype specific subdirectories before running the enhancer. Maybe a similar pattern could replace the list of class files.
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-639%29-tck-enhancement-should-make-use-of-feature-to-enhance-an-entire-directory-tp25407152p26042393.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26041719</id>
	<title>[jira] Commented: (JDO-639) tck enhancement should make use of feature to enhance an entire directory</title>
	<published>2009-10-24T11:25:59Z</published>
	<updated>2009-10-24T11:25: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/JDO-639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12769695#action_12769695&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=12769695#action_12769695&lt;/a&gt;&amp;nbsp;] 
&lt;br&gt;&lt;br&gt;Craig Russell commented on JDO-639:
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt; The variables jdo.tck.paclasses.sources and jdo.tck.pcclasses.sources are always used together (as a union of the two sets). Same for *.files. Would it be a good idea now to further simplify things by using only one variable (pcclasses) and note in a comment that it also contains paclasses?
&lt;br&gt;&lt;br&gt;Since they are always used together, I see no down side in combining them.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; tck enhancement should make use of feature to enhance an entire directory
&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: JDO-639
&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/JDO-639&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/JDO-639&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Project: JDO
&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: tck2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Affects Versions: JDO 2 maintenance release 2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Reporter: Michael Bouschen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Assignee: Michelle Caisse
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Attachments: enhance.txt, jdo-639.txt
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The current enhancer call as part of the runtck goal takes a list of .jdo files as an argument (see property jdo.tck.jdometadata.files in project.properties and maven.xml). The new enhancer invocation API allows to enhance all files of a given directory. We should investigate to make use of this feature in order to get rid of listing all the .jdo in the property jdo.tck.jdometadata.files.
&lt;br&gt;&amp;gt; There is a similar issue with the properties jdo.tck.pcclasses.sources and jdo.tck.pcclasses.files:
&lt;br&gt;&amp;gt; - Property jdo.tck.pcclasses.sources is used when checking whether (re)enhancing is required. Maybe a pattern 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;org/apache/jdo/tck/api/**/*.java, org/apache/jdo/tck/pc/**/*.java
&lt;br&gt;&amp;gt; can be used instead of listing all the persistent capable classes explicitly.
&lt;br&gt;&amp;gt; - Property jdo.tck.pcclasses.files is used when copying the class file into the identitytype specific subdirectories before running the enhancer. Maybe a similar pattern could replace the list of class files.
&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;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/JDO---Development-f23351.html&quot; embed=&quot;fixTarget[23351]&quot; target=&quot;_top&quot; &gt;JDO - Development&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-jira--Created%3A-%28JDO-639%29-tck-enhancement-should-make-use-of-feature-to-enhance-an-entire-directory-tp25407152p26041719.html" />
</entry>

</feed>
