opensubscriber
   Find in this group all groups
 
Unknown more information…

u : users@tapestry.apache.org 13 September 2009 • 6:39AM -0400

Re: Exception handling after violation of unique constraint
by Thiago H. de Paula Figueiredo

REPLY TO AUTHOR
 
REPLY TO GROUP




Em Sat, 12 Sep 2009 17:38:43 -0300, Bruno Santos <bitbetbot@gmai...>  
escreveu:

> Well, even if i do:
>
> league = new League();
> league.setName("repeated name");

Unique constraints like this should be checked by you *before* sending an  
insert or update to the database.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tape...
For additional commands, e-mail: users-help@tape...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.