google-code-export / gwtx

Automatically exported from code.google.com/p/gwtx
1 stars 4 forks source link

Update javax.persistence annotations to JPA 2 #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Usage of JPA 2 specific features like @OneToMany(orphanRemoval=true)

What is the expected output? What do you see instead?
GWT compiler should read the updated annotations without error, but instead 
annotated entity classes could not be compiled.

What version of the product are you using? On what operating system?
gwtx v1.5.2, Mac OS v10.6.7

Original issue reported on code.google.com by sven.lin...@gmail.com on 14 Apr 2011 at 12:46

GoogleCodeExporter commented 9 years ago
Would you like to join the project and help fixing this ?

Original comment by nicolas....@gmail.com on 13 Jul 2011 at 2:22

GoogleCodeExporter commented 9 years ago
I got the jpa2 source from 
http://repository.springsource.com/maven/bundles/external/javax/persistence/com.
springsource.javax.persistence/2.0.0/com.springsource.javax.persistence-2.0.0-so
urces.jar, extracted it and applied the appropriate files to the trunk.

Have a look attached patch. The project build ran fine, maybe because there are 
no tests against this.

Original comment by sven.lin...@gmail.com on 28 Jul 2011 at 8:45

Attachments:

GoogleCodeExporter commented 9 years ago
I've added you as a committer, please apply all necessary changes and feel free 
to release if you need

Original comment by nicolas....@gmail.com on 28 Jul 2011 at 1:53

GoogleCodeExporter commented 9 years ago
I will try tomorrow when I am back from a client.

Original comment by sven.lin...@gmail.com on 28 Jul 2011 at 2:41