You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Andrus Adamchik (JIRA)" <de...@geronimo.apache.org> on 2006/07/24 00:28:13 UTC
[jira] Created: (GERONIMO-2220) Bringing JPA (EJB 3.0) spec up to
date with the final release of JSR-220.
Bringing JPA (EJB 3.0) spec up to date with the final release of JSR-220.
-------------------------------------------------------------------------
Key: GERONIMO-2220
URL: http://issues.apache.org/jira/browse/GERONIMO-2220
Project: Geronimo
Issue Type: Task
Security Level: public (Regular issues)
Components: specs
Reporter: Andrus Adamchik
I am working on bringing JPA spec in sync with the final release of the JSR-220. I will submit a patch shortly
https://svn.apache.org/repos/asf/geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (GERONIMO-2220) Bringing JPA (EJB 3.0) spec up to
date with the final release of JSR-220.
Posted by "Jeff Genender (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2220?page=all ]
Jeff Genender closed GERONIMO-2220.
-----------------------------------
Resolution: Fixed
Excellent..thanks for the patch. I was going to do it but was procrastinating due to the huge diff against the spec ;-)
Sending geronimo-spec-jpa/src/main/java/javax/persistence/DiscriminatorColumn.java
Sending geronimo-spec-jpa/src/main/java/javax/persistence/EntityManager.java
Sending geronimo-spec-jpa/src/main/java/javax/persistence/EntityManagerFactory.java
Sending geronimo-spec-jpa/src/main/java/javax/persistence/EntityTransaction.java
Sending geronimo-spec-jpa/src/main/java/javax/persistence/FlushMode.java
Sending geronimo-spec-jpa/src/main/java/javax/persistence/JoinColumn.java
Sending geronimo-spec-jpa/src/main/java/javax/persistence/LockMode.java
Sending geronimo-spec-jpa/src/main/java/javax/persistence/PersistenceContext.java
Sending geronimo-spec-jpa/src/main/java/javax/persistence/PersistenceException.java
Sending geronimo-spec-jpa/src/main/java/javax/persistence/PrimaryKeyJoinColumns.java
Sending geronimo-spec-jpa/src/main/java/javax/persistence/SequenceGenerator.java
Sending geronimo-spec-jpa/src/main/java/javax/persistence/spi/PersistenceProvider.java
Transmitting file data ............
Committed revision 424886.
> Bringing JPA (EJB 3.0) spec up to date with the final release of JSR-220.
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2220
> URL: http://issues.apache.org/jira/browse/GERONIMO-2220
> Project: Geronimo
> Issue Type: Task
> Security Level: public(Regular issues)
> Components: specs
> Reporter: Andrus Adamchik
> Attachments: jpa-final-patch.txt, jpa-final-patch.txt
>
>
> I am working on bringing JPA spec in sync with the final release of the JSR-220. I will submit a patch shortly
> https://svn.apache.org/repos/asf/geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-2220) Bringing JPA (EJB 3.0) spec up to
date with the final release of JSR-220.
Posted by "Jeff Genender (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2220?page=comments#action_12422958 ]
Jeff Genender commented on GERONIMO-2220:
-----------------------------------------
Did you use svn diff? I manually added and deleted the files:
Adding geronimo-spec-jpa/src/main/java/javax/persistence/AssociationOverride.java
Adding geronimo-spec-jpa/src/main/java/javax/persistence/AssociationOverrides.java
Adding geronimo-spec-jpa/src/main/java/javax/persistence/EntityExistsException.java
Deleting geronimo-spec-jpa/src/main/java/javax/persistence/FlushMode.java
Deleting geronimo-spec-jpa/src/main/java/javax/persistence/LockMode.java
Adding geronimo-spec-jpa/src/main/java/javax/persistence/PersistenceProperty.java
Adding geronimo-spec-jpa/src/main/java/javax/persistence/SqlResultSetMappings.java
Transmitting file data .....
Committed revision 424888.
> Bringing JPA (EJB 3.0) spec up to date with the final release of JSR-220.
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2220
> URL: http://issues.apache.org/jira/browse/GERONIMO-2220
> Project: Geronimo
> Issue Type: Task
> Security Level: public(Regular issues)
> Components: specs
> Reporter: Andrus Adamchik
> Attachments: jpa-final-patch.txt, jpa-final-patch.txt
>
>
> I am working on bringing JPA spec in sync with the final release of the JSR-220. I will submit a patch shortly
> https://svn.apache.org/repos/asf/geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-2220) Bringing JPA (EJB 3.0) spec up to
date with the final release of JSR-220.
Posted by "Andrus Adamchik (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2220?page=all ]
Andrus Adamchik updated GERONIMO-2220:
--------------------------------------
Attachment: jpa-final-patch.txt
My bad, here is a patch that has all the *new* files in it.
> Bringing JPA (EJB 3.0) spec up to date with the final release of JSR-220.
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2220
> URL: http://issues.apache.org/jira/browse/GERONIMO-2220
> Project: Geronimo
> Issue Type: Task
> Security Level: public(Regular issues)
> Components: specs
> Reporter: Andrus Adamchik
> Attachments: jpa-final-patch.txt, jpa-final-patch.txt
>
>
> I am working on bringing JPA spec in sync with the final release of the JSR-220. I will submit a patch shortly
> https://svn.apache.org/repos/asf/geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (GERONIMO-2220) Bringing JPA (EJB 3.0) spec up to
date with the final release of JSR-220.
Posted by "Andrus Adamchik (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2220?page=all ]
Andrus Adamchik updated GERONIMO-2220:
--------------------------------------
Attachment: jpa-final-patch.txt
This patch is a diff between JPA spec "Proposed Final Draft" and the final spec that went out in May. Specifically it addresses the following spec changes:
+ Corrected inconsistency in name of LockModeType enum.
+ Added missing SqlResultSetMappings annotation; removed METHOD target from SqlResultSetMapping
annotation.
+ Removed TYPE target from JoinColumn annotation.
+ Fixed bug in DiscriminatorColumn annotation name element default.
+ Removed EntityManagerFactory.getEntityManager method.
+ Removed EntityManagerFactory.createEntityManager(PersistenceContextType type) method.
+ Added EntityManagerFactory.createEntityManager(Map map) method.
+ Added Map parameter to PersistenceProvider.createContainerEntityManagerFactory method.
+ Added EntityManager.joinTransaction method.
+ Added EntityManager.getDelegate method.
+ Removed unused FlushMode annotation.
+ Added PersistenceProperties elements to PersistenceContext annotation, and added PersistenceProperty
annotation to support this. Entries in this element are passed by the container into the createEntityManager
method.
+ Added AssociationOverride and AssociationOverrides annotations to handle the overriding of relationship
mappings.
+ Added METHOD, FIELD to Target of PrimaryKeyJoinColumns annotation.
+ Added EntityTransaction setRollbackOnly and getRollbackOnly methods
+ Initial value for sequence generator changed to 1.
+ Added EntityExistsException.
> Bringing JPA (EJB 3.0) spec up to date with the final release of JSR-220.
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2220
> URL: http://issues.apache.org/jira/browse/GERONIMO-2220
> Project: Geronimo
> Issue Type: Task
> Security Level: public(Regular issues)
> Components: specs
> Reporter: Andrus Adamchik
> Attachments: jpa-final-patch.txt
>
>
> I am working on bringing JPA spec in sync with the final release of the JSR-220. I will submit a patch shortly
> https://svn.apache.org/repos/asf/geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-2220) Bringing JPA (EJB 3.0) spec up to
date with the final release of JSR-220.
Posted by "Andrus Adamchik (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2220?page=comments#action_12422959 ]
Andrus Adamchik commented on GERONIMO-2220:
-------------------------------------------
Yeah I did, but when I created the first patch, the files weren't added to SVN vis "svn add". They were included in the second one though. It doesn't matter now - version 424888 fixes everything.
> Bringing JPA (EJB 3.0) spec up to date with the final release of JSR-220.
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2220
> URL: http://issues.apache.org/jira/browse/GERONIMO-2220
> Project: Geronimo
> Issue Type: Task
> Security Level: public(Regular issues)
> Components: specs
> Reporter: Andrus Adamchik
> Attachments: jpa-final-patch.txt, jpa-final-patch.txt
>
>
> I am working on bringing JPA spec in sync with the final release of the JSR-220. I will submit a patch shortly
> https://svn.apache.org/repos/asf/geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-2220) Bringing JPA (EJB 3.0) spec up to
date with the final release of JSR-220.
Posted by "Jeff Genender (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2220?page=comments#action_12422953 ]
Jeff Genender commented on GERONIMO-2220:
-----------------------------------------
Problem with the patch...compile gives the following:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/Users/mbp/Projects/jee5_exp/geronimo-spec-jpa/src/main/java/javax/persistence/PersistenceContext.java:[42,8] cannot find symbol
symbol : class PersistenceProperty
location: @interface javax.persistence.PersistenceContext
> Bringing JPA (EJB 3.0) spec up to date with the final release of JSR-220.
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2220
> URL: http://issues.apache.org/jira/browse/GERONIMO-2220
> Project: Geronimo
> Issue Type: Task
> Security Level: public(Regular issues)
> Components: specs
> Reporter: Andrus Adamchik
> Attachments: jpa-final-patch.txt
>
>
> I am working on bringing JPA spec in sync with the final release of the JSR-220. I will submit a patch shortly
> https://svn.apache.org/repos/asf/geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (GERONIMO-2220) Bringing JPA (EJB 3.0) spec up to
date with the final release of JSR-220.
Posted by "Andrus Adamchik (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/GERONIMO-2220?page=comments#action_12422957 ]
Andrus Adamchik commented on GERONIMO-2220:
-------------------------------------------
Jeff, look like the new files didn't make it, and deleted weren't deleted. The second patch has the new files. Here is my local diff against r424886:
~/work/cayenne-jpa/jee5_exp/geronimo-spec-jpa: svn up
At revision 424886.
~/work/cayenne-jpa/jee5_exp/geronimo-spec-jpa: svn status
A src/main/java/javax/persistence/PersistenceProperty.java
D src/main/java/javax/persistence/LockMode.java
D src/main/java/javax/persistence/FlushMode.java
A src/main/java/javax/persistence/EntityExistsException.java
A src/main/java/javax/persistence/SqlResultSetMappings.java
A src/main/java/javax/persistence/AssociationOverrides.java
A src/main/java/javax/persistence/AssociationOverride.java
> Bringing JPA (EJB 3.0) spec up to date with the final release of JSR-220.
> -------------------------------------------------------------------------
>
> Key: GERONIMO-2220
> URL: http://issues.apache.org/jira/browse/GERONIMO-2220
> Project: Geronimo
> Issue Type: Task
> Security Level: public(Regular issues)
> Components: specs
> Reporter: Andrus Adamchik
> Attachments: jpa-final-patch.txt, jpa-final-patch.txt
>
>
> I am working on bringing JPA spec in sync with the final release of the JSR-220. I will submit a patch shortly
> https://svn.apache.org/repos/asf/geronimo/specs/branches/jee5_exp/geronimo-spec-jpa/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira