on 02-05-2014 2:18 PM
Hi all,
we're going to implement an ejb-application on SAP NW 7.31 AS JAVA which has to take care of the temporal patterns. (http://martinfowler.com/eaaDev/timeNarrative.html)
Our first choice is to use the current hibernate framework which includes the envers environment.
Is this configuration possible? Which hibernate version is compatible with NWDS and 7.31?
Thank a lot!
Christian
Hi Christian,
why should this not be possible? When you bundle hibernate libraries into the lib folder of your enterprise application, every not very old version (>= 3.x) should work. Bundling into lib folder avoids classloading issues with (i.e.) apache classes also contained in NW 7.31.
What does compatibility with NWDS mean? "hibernate tools" in eclipse are not required.
Besides hibernate you might consider EclipseLink's History feature.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/History
The advantages of EclipseLink over hibernate:
- only one singe jar (avoiding classloading issues)
- works with HANA datasource out of the box (EclipseLink is the core of persistence service in SAP Cloud) - we managed to run our Java application on HANA database without modification.
There is less documentation in EclipseLink compared to hibernate, but the community helps. And with SAP NetWeaver issues, SAP itself might help since they contributed HANA support.
Our experiences with EclipseLink in SAP NW Java from 7.20 till 7.31 are uniformly good, even with EclipseLink specific functions like session customizer, but we did not yet try the History featue.
I hope this helps to get started.
Rolf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.