Checking for the uniqueness of that record ...

Hello,

I created a User table and created Entity Class for it and prepared a controller class for user bean. there is a "create" method in the controller class which persists the user bean to the database and returns an action string for the nagivation. but I think I should check for the uniqueness of the user before persisting it. what's the proper way for doing this kind of things(I mean db-side validation) in JSF?

Thanks

[448 byte] By [xyzta] at [2007-11-27 10:37:35]
# 1

This has nothing to do with JSF. You should post this question in the EJB forums.

RaymondDeCampoa at 2007-7-28 18:49:07 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...