Cracked it!
I had left some not-null fields as null, and Acegi/Hibernate had confusingly
reported this error as a duplicate instead. Underlying cause of this was
that I had changed the fields to nullable in my POJO, but hbmto22l.auto
didn't update this change into the schema.

Mike.


DNewfield wrote:
> 
> mikebgx wrote:
>> There are only 2 rows in the app_user table, neither of which have a
>> username
>> or email of  test6
> 
> I know in the past for some appfuse based projects the 2 rows pre-loaded 
> into the DB from sample-data.xml caused the first two inserts to fail 
> (because those wanted the same PKs that were already present).  How to 
> correctly specify the generator for the id column is DB specific, and 
> persistence layer specific.  Any chance this works the third time?  If 
> so, what persistence engine and DB are you using?
> 
> -Dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Signup-tf4279429s2369.html#a12196567
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to