You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/07/25 15:41:08 UTC

[Bug 59899] New: Tomcat-embed-core brings outdated JPA API

https://bz.apache.org/bugzilla/show_bug.cgi?id=59899

            Bug ID: 59899
           Summary: Tomcat-embed-core brings outdated JPA API
           Product: Tomcat 8
           Version: 8.5.4
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Packaging
          Assignee: dev@tomcat.apache.org
          Reporter: stephane.nicoll@gmail.com

I just noticed that `tomcat-embed-core` brings an outdated JPA API. Spring
Framework 5 requires JPA 2.1 now and unless I order the classpath in a  certain
way, my app breaks when deployed in embedded tomcat because of this.

Would it be possible to upgrade the JPA API that Tomcat brings?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59899] Tomcat-embed-core brings outdated JPA API

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59899

Andy Wilkinson <aw...@pivotal.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |awilkinson@pivotal.io

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59899] Tomcat-embed-core brings outdated JPA API

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59899

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
I took a look at removing the dependency entirely but that was going to need a
fair amount of reflection. Therefore, I updated the API for 8.0.x onwards
(since this is a Java EE 7 change). The fix will be in:
8.0.37
8.5.5
9.0.0.M10

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59899] Tomcat-embed-core brings outdated JPA API

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59899

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Hmm. We have a sub-set of the JPA annotations so we can do resource injection.
It would be better if we could remove that dependency entirely. I wonder if
that is possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 59899] Tomcat-embed-core brings outdated JPA API

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59899

bclozel <bc...@pivotal.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bclozel@pivotal.io

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org