On Wed, Dec 3, 2008 at 8:38 AM, mwaynewalter <[EMAIL PROTECTED]> wrote: > > Folks, > > I get this error, "saveUser didn't throw EntityExistsException" in the > UserDaoTest method getUpdateUser. > > Here's my configuration: > > Appfuse 2.0.2 with JPA, full-source, and Oracle 10g instead of MySQL. > > NOTE: This unit test failure goes away when using the MySQL. It also goes > away using Hibernate and Oracle. So it's the JPA <-> Oracle issue. > > In stepping through the code, the entityManager.merge() appears to succeed > and never throws an exception even though I verified the object does already > exists in the schema. And I verified that the schema for this table has a > unique constraint on the userid and the email. > > Why does this test fail only with Oracle and not with MySQL?
I don't know - have you found an answer for this question? Matt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
