Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005678 [Resin] major always 03-07-14 01:53 08-27-14 14:17
Reporter mate View Status public  
Assigned To ferg
Priority normal Resolution no change required  
Status closed   Product Version 4.0.37
Summary 0005678: (Allow) Upgrade JPA API to 2.1
Description If you want to use JPA 2.1 API with Resin, you currently need to modify the javaee-16.jar and replace the javax/persistence directory. In some (cloud) environments, patching jars may not be an option.

Please consider to either update the included JPA version, or at least extract the JPA part to a separate JAR file that can be replaced with a newer version (just like JSF).
Additional Information
Attached Files

- Relationships

- Notes
(0006465)
fsamuels
08-04-14 12:12

This is particularly a problem for me because I would like to use Hibernate 4.3 which implements JPA 2.1.
 
(0006478)
ferg
08-27-14 14:17

<jvm-classpath> in <server-default> allows for classpath overriding. The classpath specified in <jvm-classpath> has priority over the default classpath.

<server-default>
  <jvm-classpath>/path/to/jpa21.jar</jvm-classpath>
</server-default>

server/6e62 tests this behavior for JPA by overriding javax.persistence.Cache (no change required)
 

- Issue History
Date Modified Username Field Change
03-07-14 01:53 mate New Issue
03-07-14 01:53 mate Issue Monitored: mate
05-14-14 02:04 th Issue Monitored: th
08-04-14 12:11 fsamuels Issue Monitored: fsamuels
08-04-14 12:12 fsamuels Note Added: 0006465
08-27-14 14:17 ferg Note Added: 0006478
08-27-14 14:17 ferg Assigned To  => ferg
08-27-14 14:17 ferg Status new => closed
08-27-14 14:17 ferg Resolution open => no change required
03-23-15 22:17 planetpratt Issue Monitored: planetpratt
04-07-15 03:09 smallufo Issue Monitored: smallufo


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
40 total queries executed.
31 unique queries executed.
Powered by Mantis Bugtracker