Enable DDL Hibernate Validator

2017-05-03 Thread Christoforos Vasilatos
We have a project using hibernate/karaf and we are trying to enable javax validation. We added the property to our persistence.xml file. But on the startup of the modules we get the following exception: 2017-05-03 16:10:25,770 | ERROR | aries.jpa.star]) | configadmin | 10 -

hibernate caching

2017-05-03 Thread Jason Reilly
Hi all, I tried to add caching to my persistence layer. I added the following to my persistence.xml: I added the necessary dependencies (test cases all run great), but this configuration doesn't seem to deploy nicely to Karaf (4.1.1). The exception thrown

Karaf 4.1.1 console issue with list and grep

2017-05-03 Thread asookazian2
bundle:list | grep -i "foo " On Mac the space and end quote is auto-completing when I the the first quote. I can't delete the space. So I can't search on "foo bar". Known issue/bug? Does not reproduce on Ubuntu. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-1-1

Re: Karaf 4.1.1 console issue with list and grep

2017-05-03 Thread Guillaume Nodet
It's not really an auto-completion, as if you hit enter, the final space + quote won't appear in the command. They should appear in grey, and they are a hint that your command is incomplete. Just enter "foo bar" with the quotes and it should be fine. 2017-05-03 20:34 GMT+02:00 asookazian2 : > b

Re: hibernate caching

2017-05-03 Thread Jason Reilly
Quick update Adding the following to my dao-api/pom.xml file: org.hibernate.proxy,org.ehcache.jsr107,org.hibernate.cache.jcache,javassist.util.proxy,* I get the following at startup: 2017-05-03 15:21:08,067 | ERROR | pache.cxf.osgi]) | configadmin | 5 - org.apache.f

Re: Karaf 4.1.1 console issue with list and grep

2017-05-03 Thread asookazian2
Understood, thx for the clarification. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-1-1-console-issue-with-list-and-grep-tp4050295p4050298.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: hibernate caching

2017-05-03 Thread Jason Reilly
Another quick update... I removed the jsr107 ehcache option & tried out the hibernate ehcache factory. So, the persistence.xml file has the following: And the dao-api/pom.xml had the following Import-Package: org.hibernate.proxy,org.hibernate.cache.ehcache,javassist.util.proxy,* This w