mraible wrote:
> 
> What does the EntityManager give you that Hibernate's Session doesn't?
> 

As I have understood it (correct me if I'm wrong), I get the same benefits
wrt to concurrency that I get from springs HibernateTemplate.

-T

On Fri, Aug 21, 2009 at 10:14 AM, Tarjei Huse <tar...@scanmine.com> wrote:

>
> Hi,
>
> mraible wrote:
> >
> > Why do you want to convert from Hibernate to JPA? The JPA implementation
> > uses Hibernate and the POJOs are the same in both implementations.
> >
> I want to use the entitymanager.  If I can get it without switching to
> full
> blown JPA (i.e. keep all hibernate.cfg files as they are) the I'd be very
> happy.
>
>
> mraible wrote:
> >
> > Are you using full-source? Have you created a lot of DAOs?
> >
> full source?
>
> I got a few DAOs, not many (< 20), and around 50 POJOs.
>
> Regards,
> Tarjei
>
> On Fri, Aug 21, 2009 at 4:52 AM, Tarjei Huse <tar...@scanmine.com> wrote:
>
> >
> > Hi,
> >
> > I've used Appfuse to learn the different nuts and bolts of typical Java
> > webapps. Thanks for a great project!
> >
> > Until now I've been using Hibernate combined with the
> GenericDaoHibernate
> > class to build daos, but I want to convert to using JPA combined with
> the
> > Entitymanager instead.
> >
> > What I am wondering about is if anyone knows of a good checklist for
> this
> > conversion. I've tried doing it earlier but haven't managed to pull it
> off
> > completely.
> >
> > Also, is it possible to use a bit of both on a project, for example if I
> > want hold of converting some of my existing DAOs?
> >
> > Kind regards,
> > Tarjei
> > --
> > View this message in context:
> >
> http://www.nabble.com/Hibernate-to-JPA-conversion-tp25075920s2369p25075920.html
> > Sent from the AppFuse - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> > For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >
> >
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Hibernate-to-JPA-conversion-tp25075920s2369p25080624.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>



-- 
View this message in context: 
http://www.nabble.com/Hibernate-to-JPA-conversion-tp25075920s2369p25081080.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to