Sunday 29 January 2012

JPA: How to add unique constraint on an attribute

References

http://stackoverflow.com/questions/1839186/unique-constraint-check-in-jpa

Oopen Issue

Open issue:An issue yet unsolved is how to catch properly the exception reason and present it to the user. For example when a user signs up I do not want to allow the use of an existing username.

No comments:

Post a Comment