3.0.3-SNAPHSOT should work for jpa 2.0 but I think it does not work for
jpa 2.1.
The jpa feature loads the jpa 2.0 api. Hibernate 4.3 feature loads the
jpa 2.1 api.
So in the end both apis are installed. I already wanted to contact you
about it.
We should find a solution for this before the release.
Christian
Am 30.11.2014 10:02, schrieb Jean-Baptiste Onofré:
Maybe you can take Karaf 3.0.3-SNAPSHOT waiting for the release ?
Regards
JB
On 11/30/2014 09:13 AM, matthjes wrote:
Hi Christian,
Thanks for the help! I took your feature.xml, removed the tutorial
stuff and
installed it. It seems to work now, but there are some errors show in
the
log output:
2014-11-30 09:09:45,359 | ERROR | FelixStartLevel | aries | 77 -
org.apache.aries.jpa.blueprint.aries - 1.0.4 | No
org.apache.aries.jpa.container.sync.Synchronization service registered.
2014-11-30 09:09:46,730 | WARN | FelixStartLevel |
PojoEntityTuplizer | 87
- org.jboss.logging.jboss-logging - 3.1.4.GA | HHH000305: Could not
create
proxy factory for:com.boxheadrobot.karaftest.KarafTestEntity
...
Caused by: java.lang.NoClassDefFoundError:
org/hibernate/proxy/HibernateProxy
Hibernate creates the table, but those messages are still annoying
(and hint
that there must be something wrong).
cschneider wrote
You can try with a custom feature for now . See
https://github.com/cschneider/Karaf-Tutorial/blob/master/tasklist-cdi/features/src/main/resources/features.xml
There I configure karaf to use hibernate 4.3 and the newest aries
releases. With these it works quite well.
For the next karaf version we will make sure the standard features
already include that.
Christian
Am 30.11.2014 07:33, schrieb matthjes:
So does this mean that 3.0.2 uses the wrong Aries versions? As I
mentioned,
my example works with 2.4.0. When will 3.0.3 be released?
What do you mean with "the jpa is 3.0.1"? How can I update to 3.0.3?
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-3-0-2-and-Hibernate-tp4036790p4036797.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-3-0-2-and-Hibernate-tp4036790p4036802.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com