Looks like you beat me to it! There is work happening in enRoute to update this 
example (and others) but the main points (i.e. the use of transaction control 
and the JPA service) are OSGi R7 standards and the usage pattern will not 
change.

Regards,

Tim

> On 2 Jan 2018, at 14:52, Henrik Niehaus via osgi-dev <osgi-dev@mail.osgi.org> 
> wrote:
> 
> BTW, make sure to check out the right branch jpa-example
> 
> Am 02.01.2018 um 15:18 schrieb Henrik Niehaus via osgi-dev:
>> Hi Kevin,
>> 
>> check out this example. I used it to get started with JPA.
>> 
>> https://github.com/timothyjward/osgi.enroute.examples.jdbc/tree/jpa-example 
>> <https://github.com/timothyjward/osgi.enroute.examples.jdbc/tree/jpa-example>
>> 
>> Greetings,
>> Henrik
>> 
>> Am 02.01.2018 um 14:29 schrieb Matthews, Kevin via osgi-dev:
>>> Hi, happy new year 2018 everyone. Does anyone has working sample code for 
>>> OSGI connecting to DB using JPA and hibernate. Or plain vanilla DB 
>>> connectivity. It seems the examples I have they are using Apache Karif. I 
>>> am using bnd enroute tools for my osgi modular development.
>>>  
>>> Thanks
>>> Kevin
>>> The information in this message may be proprietary and/or confidential, and 
>>> protected from disclosure. If the reader of this message is not the 
>>> intended recipient, or an employee or agent responsible for delivering this 
>>> message to the intended recipient, you are hereby notified that any 
>>> dissemination, distribution or copying of this communication is strictly 
>>> prohibited. If you have received this communication in error, please notify 
>>> First Data immediately by replying to this message and deleting it from 
>>> your computer.
>>> 
>>> 
>>> _______________________________________________
>>> OSGi Developer Mail List
>>> osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>
>>> https://mail.osgi.org/mailman/listinfo/osgi-dev 
>>> <https://mail.osgi.org/mailman/listinfo/osgi-dev>
>> 
>> 
>> _______________________________________________
>> OSGi Developer Mail List
>> osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>
>> https://mail.osgi.org/mailman/listinfo/osgi-dev 
>> <https://mail.osgi.org/mailman/listinfo/osgi-dev>
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>
> https://mail.osgi.org/mailman/listinfo/osgi-dev 
> <https://mail.osgi.org/mailman/listinfo/osgi-dev>
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to