Re: Hibernate ORM with PostgresSql with Karaf 4.1.0

2017-06-08 Thread Jack
Hi added my project in below location https://github.com/JackMic/hibernate---postgres--karaf.4.1.0 If some can download the project and solve my problem. I'm almost trying from two weeks to resolve this issue. Note : i'm using karaf 4.1.0 -- View this message in context:

Re: Hibernate ORM with PostgresSql with Karaf 4.1.0

2017-06-08 Thread Jack
Hi, I have placed my datasource in deploy folder. You can see the details -- View this message in context:

Re: Hibernate ORM with PostgresSql with Karaf 4.1.0

2017-06-08 Thread Timothy Ward
Hi Jack, As I posted in response to Stephen in another thread, Aries Transaction Control makes sorting out JPA quite a lot simpler. You end up with just one configuration to manage. I’m including that post below. The significant difference for you is that obviously you’ll want a Postgres

Re: Hibernate ORM with PostgresSql with Karaf 4.1.0

2017-06-08 Thread smunro
Hello Jack, I don't see anything in your example about creating a data source on karaf. Have you defined a org.ops4j.datasource-.cfg for karaf? Take a look at https://github.com/desolate-planet/osgi-jpa-demo this is just a simple demo I created to get past my issue. A few things to try, once

Hibernate ORM with PostgresSql with Karaf 4.1.0

2017-06-06 Thread Jack
I used Hibernate ORM with PostgresSql. And below is the persistence.xml for Hibernate ORM with PostgresSql. http://java.sun.com/xml/ns/persistence; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence

Re: Hibernate ORM with PostgresSql with Karaf 4.1.0

2017-06-06 Thread Jack
*Regards,Suman K+91-9886748169* On Tue, Jun 6, 2017 at 6:15 PM, Jack [via Karaf] < ml+s922171n4050580...@n3.nabble.com> wrote: > I used Hibernate ORM with PostgresSql. > > And below is the persistence.xml for Hibernate ORM with PostgresSql. > > > http://java.sun.com/xml/ns/persistence; >

Hibernate ORM with PostgresSql with Karaf 4.1.0

2017-06-06 Thread Jack
I used Hibernate ORM with PostgresSql. And below is the persistence.xml for Hibernate ORM with PostgresSql. http://java.sun.com/xml/ns/persistence; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence