Re: [appfuse-user] Special Characters in Email Velocity Templates

2009-08-21 Thread Fabio Cepeda
Hi, Usually this has to do with encoding problems. I fix my web app changing the file taglibs.jsp in the common directory to use pageEncoding="ISO-8859-1" contentType="text/html; charset=ISO-8859-1", I also make sure my OS used the right locale. Hope it hepls, Fabio foward wrote: > > Hell

Re: [appfuse-user] Hibernate to JPA conversion

2009-08-21 Thread Ice-Man
Oh, and less speaking JPA is a JCP's JSR: so its support and development/improvement will "never" end (at least, in my though). Sun Microsystems may break down (now it owns to Oracle), but somebody will allways been developing the JSRs! ;D Ice-Man 2009/8/21 Alex Coles > The biggest advantag

Re: [appfuse-user] Hibernate to JPA conversion

2009-08-21 Thread Alex Coles
The biggest advantage has to be using a non-vendor specific API. In this should mean you can drop in EclipseLink or OpenJPA without too many issues. I guess for licensing, support reasons you might want to do this (Apache Roller is an example of an open-source project that moved from Hibernate to O

Re: [appfuse-user] Java.net down for Weekend

2009-08-21 Thread tibi
thanks what to do with all that time ;) Matt Raible wrote: > FYI... > > It looks like java.net will be down this weekend. > > http://weblogs.java.net/blog/editors/archives/2009/08/big_but_seeming.html > > For AppFuse, this means that it's likely the mailing list will be >

[appfuse-user] Java.net down for Weekend

2009-08-21 Thread Matt Raible
FYI... It looks like java.net will be down this weekend. http://weblogs.java.net/blog/editors/archives/2009/08/big_but_seeming.html For AppFuse, this means that it's likely the mailing list will be down, as well as access to SVN. If you were planning on working this weekend, now you have a good

Re: [appfuse-user] Hibernate to JPA conversion

2009-08-21 Thread Matt Raible
I can't answer that question, but I would try to prove it before believing it. On Fri, Aug 21, 2009 at 10:39 AM, Tarjei Huse wrote: > > > > 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 g

Re: [appfuse-user] Hibernate to JPA conversion

2009-08-21 Thread Tarjei Huse
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 wrote: > >

Re: [appfuse-user] Hibernate to JPA conversion

2009-08-21 Thread Matt Raible
What does the EntityManager give you that Hibernate's Session doesn't? On Fri, Aug 21, 2009 at 10:14 AM, Tarjei Huse 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 implementa

Re: [appfuse-user] Hibernate to JPA conversion

2009-08-21 Thread Tarjei Huse
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 the

Re: [appfuse-user] Hibernate to JPA conversion

2009-08-21 Thread Matt Raible
Why do you want to convert from Hibernate to JPA? The JPA implementation uses Hibernate and the POJOs are the same in both implementations. Are you using full-source? Have you created a lot of DAOs? Matt On Fri, Aug 21, 2009 at 4:52 AM, Tarjei Huse wrote: > > Hi, > > I've used Appfuse to learn

[appfuse-user] Hibernate to JPA conversion

2009-08-21 Thread Tarjei Huse
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