We have some examples using JPA in Tuscany today [1]. I have also started some work on providing a JPA implementation [2] but haven't been able to move that along, so that is probably a piece that would use some help on getting it completed and it would help users to connect to data sources using JPA in a more declarative fashion.
[1] https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/samples/customer-dojo/ [2] https://svn.apache.org/repos/asf/tuscany/sandbox/lresende/sca/modules/implementation-data-pojo/ On Wed, Dec 3, 2008 at 4:51 AM, Simon Laws <[EMAIL PROTECTED]> wrote: > > > On Wed, Dec 3, 2008 at 12:40 PM, Sykes, Phil <[EMAIL PROTECTED]> > wrote: >> >> Nout sure what was meant by " Hibernate is licensed under LGPL so is >> therefore not compatible with Apache projects". We've been using Apache >> projects with hibernate for years. I think the question still remains.. "is >> tuscany compatible with hibernate?". I haven't tried it yet but I intend >> to. >> >> Phil >> -----Original Message----- >> From: Marco Piccinni [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, December 03, 2008 3:57 AM >> To: user >> Subject: Re: Tuscany and JPA >> >> ok Simon, >> >> thank you very much! >> >> Best regards >> >> Marco Piccinni >> >> >> >> >> > On Wed, Dec 3, 2008 at 8:26 AM, Marco Piccinni <[EMAIL PROTECTED]> >> > wrote: >> > >> > > Hi, >> > > I'm sorry but I deleted the wrong hibernate application. I read about >> > > a >> > > Resende'post in which discussed about license problems between JPA and >> > > hibernate. >> > > >> > > What I would like to do is a persistance layer amoung differente >> > > datasource. I haven't started yet a new application with JPA, that's >> > > was tha >> > > why I'm asking if the are some compatibility problem with Tuscany. >> > > That's all. >> > > >> > > Regards >> > > >> > > Marco Piccinni >> > > >> > > >> > > >> > > >> > > >> > > >> > > > On Wed, Dec 3, 2008 at 8:03 AM, Marco Piccinni <[EMAIL PROTECTED]> >> > > wrote: >> > > > >> > > > > Hello all, >> > > > > >> > > > > I tried to integrate hibernate and Tuscany until I discovered that >> > > > > it >> > > > > wasn't possible...so before starting with a new study, some of you >> > > > > know >> > > if >> > > > > it's possible to integrate it with JPA? >> > > > > >> > > > > thanks >> > > > > >> > > > > Marco Piccinni >> > > > > >> > > > > >> > > > >> > > > Hi Marco >> > > > >> > > > Can you say a little more about what sort of integration you are >> > > > trying >> > > to >> > > > do and why it's not working for you. If you have a sample >> > > > application >> > > that >> > > > doesn't work that you could post that would be even better. We can >> > > > then >> > > look >> > > > at what the problems are. >> > > > >> > > > Regards >> > > > >> > > > Simon >> > > > >> > > >> > > >> > Hi Marco >> > >> > Sorry I got the wrong end of the stick. You're right, Hibernate is >> > licensed >> > under LGPL so is therefore not compatible with Apache projects, see [1]. >> > JPA >> > is a different matter. There is an Apache implementation of JPA, called >> > openJPA [2], and someone a while back started looking at doing some >> > experiments to integrate JPA and tuscany [3]. Not sure what the status >> > of >> > the latter is, it hasn't been included in a release yet. I'm hoping >> > someone >> > else will comment. >> > >> > Regards >> > >> > Simon >> > >> > [1] http://www.apache.org/legal/3party.html >> > [2] http://openjpa.apache.org/ >> > [3] >> > >> > http://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/modules/implementation-openjpa/ >> > >> > > Hi Phil > > I meant incompatible from a licensing point of view, i.e. Tuscany doesn't > have a hard dependency on Hibernate (no Hibernate APIs appear in the Tuscany > code base). That doesn't stop you from using Hibernate with your own SCA > components or even you own Tuscany extensions. > > Simon > -- Luciano Resende Apache Tuscany, Apache PhotArk http://people.apache.org/~lresende http://lresende.blogspot.com/
