No, I don't. I suppose it's lighter because to integrate toplink+JPA you only have to download 2 jars, something like 5mb. When I tried to switch to hibernate+JPA, I have to download a LOT more dependencies than toplink, plus the dificulty of the process itself and the lack of documentation. After seraching a little, I read somewere that toplink was a project made to provide an easy JPA implementation, so that is the reason.
To add some more advantage to toplink, I found a pretty useful "annotation reference" guide that's better than anything I ever found into hibernate documentation on the internet. Since hibernate annotations are pretty much the same as toplink/JPA, I prefer to use it even if i'm using hibernate. See http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-annotations.html On Thu, Feb 19, 2009 at 4:55 PM, Thiago H. de Paula Figueiredo < [email protected]> wrote: > Em Thu, 19 Feb 2009 16:51:36 -0300, Marcelo Lotif <[email protected]> > escreveu: > > You're 100% right, but I thought there were deeper reasons for doing it, >> like some gain in performance or some missing functionality. >> Like you pointed out, that's definitely a matter of taste! I'm just using >> tapestry-hibernate because it made the ORM thing a bit easier. :) >> > > Do you know any benchmarks or performance comparisons between Hibernate and > TopLink? Or any reason to think TopLink is lighter than Hibernate? I've > never used TopLink or JPA alone, so I'm curious. :) > > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Marcelo Lotif
