I frequently use hql in my validators. And if you aren't a Hibernate User, HQL is the hibernate extension of SQL.

On Mar 10, 2006, at 5:30 PM, Lance Frohman wrote:

Is there a reason not to use sql in a validator? I have never seen
this, but it would obviously be useful. I have an application where
users choose an id, and I could create a validator with sql to see if
that user id is already taken. Or are there better ways to do things
like this?
 
Thanks,
Lance

Joel Wilson
Web Application Developer/Architect
---------------------
Skype: Jesfrk7
Skype: 321.285.7470

Cell: 321-332.4654
Office: 407.677.8514
Fax: 407.677.8610
---------------------
1964 Howell Branch Road
Suite 102
Winter Park, Florida 32792
---------------------
Changing the world, one byte at a time . . .


















Reply via email to