Re: [hibernate-dev] change default testing property of hibernate.format_sql to true?

2013-01-08 Thread Gail Badner
+1 for changing it for the test suite. - Original Message - > From: "Emmanuel Bernard" > To: "Strong Liu" > Cc: "hibernate-dev@lists.jboss.org hibernate-dev" > > Sent: Wednesday, January 2, 2013 5:38:13 AM > Subject: Re: [hibernate-dev] change default testing property of > hibernate.f

Re: [hibernate-dev] Error: registry contains more than one (2) entity manager factories: PERSISTENCE_UNIT_NAME

2013-01-08 Thread Scott Marlow
Teresa, I made a code change in Hibernate 4.x that impacts serialization/deserialization of EntityManagerFactories. My code change helps Hibernate to work correctly in clustered environments (HHH-6897) but it looks like my change also broke your application. In a clustered environment, each

Re: [hibernate-dev] Error: registry contains more than one (2) entity manager factories: PERSISTENCE_UNIT_NAME

2013-01-08 Thread Teresa Batista Neto
Hello, I just copy/past the exception call stack from when the "registry contains more than one" error is thrown. The link is: http://pastie.org/private/cmmoyaouedgrbgpat88fxw Thanks in advance, Teresa On Thu, Dec 20, 2012 at 3:38 PM, Scott Marlow wrote: > I would