You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Joel Wilson <jo...@devotionmedia.com> on 2006/04/18 22:08:00 UTC

Re: sql in validator

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
D E V O T I O N
---------------------
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 . . .