There are several point releases available (see https://mvnrepository.com/artifact/org.apache.aries.tx-control) and snapshots are available from the apache snapshot repo.
Tim Sent from my iPhone > On 2 Jan 2018, at 22:10, Matthews, Kevin <kevin.matth...@firstdata.com> wrote: > > Hi Tim, > It seems, these libraries are not available in the central repository in the > enroute workspace but they are defined in the jpa-example project bnd file? > > Bnd.bnd: > -buildpath: \ > org.osgi.service.jdbc,\ > tx-control-provider-jpa-local,\ > tx-control-service-local > > I added to Central.xml but still can’t find or is unavailable: > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.jdbc</artifactId> > <version>1.0.0</version> > <scope>provided</scope> > </dependency> > <dependency> > <groupId>org.apache.aries.tx-control</groupId> > <artifactId>tx-control-api</artifactId> > <version>0.0.3</version> > <scope>provided</scope> > </dependency> > <!-- > https://mvnrepository.com/artifact/org.osgi/org.osgi.service.jpa --> > <dependency> > <groupId>org.osgi</groupId> > <artifactId>org.osgi.service.jpa</artifactId> > <version>1.0.0</version> > </dependency> > > > > Also, I had to add to central.xml to resolve javax.persistence.* classes > errors . But I did not see this library in the jpa-example project. What > library is being used for javax.persistence.* classes? > > <dependency> > <groupId>javax.persistence</groupId> > <artifactId>persistence-api</artifactId> > <version>1.0</version> > </dependency> > > Thanks > Kevin > > > From: osgi-dev-boun...@mail.osgi.org [mailto:osgi-dev-boun...@mail.osgi.org] > On Behalf Of Tim Ward via osgi-dev > Sent: Tuesday, January 02, 2018 11:59 AM > To: Henrik Niehaus; OSGi Developer Mail List > Subject: Re: [osgi-dev] JPA or DB connectivity OSGI > > 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 > > 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 > 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 > > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > 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