Hi Geoff,

Sorry, I'll try that when back at my PC tomorrow.

I could be mistaken, but does the 'column' annotation below not set the
USER_NAME column in the database as unique?  I assumed this is the reason
for the ConstraintViolationException, i.e. the unique field.

Irrespective, I'll do as you suggested in onActivate() and see what
results.  :-)

    //@NaturalId
    @Column(name="USER_NAME", nullable=false, unique=true, length=50)
    @Validate("required")
    @NotNull
    @Size(min = 4, max = 50)
    @Alphanumeric
    private String userName;


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to