| Author |
Validation/DB query question
|
Ricky Jay
Ranch Hand
Joined: Feb 12, 2010
Posts: 62
|
|
I'm trying to validate for duplicate entries. I'm wanting to make sure that the value is not already in the table.
Is there a way to just return a value from a table without putting it in a bean? Should I just do a count and then return the count value?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56201
|
|
|
Moved to the JDBC forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Ricky Jay
Ranch Hand
Joined: Feb 12, 2010
Posts: 62
|
|
Am I going the right direction with this??
|
 |
Ricky Jay
Ranch Hand
Joined: Feb 12, 2010
Posts: 62
|
|
Replaced with these two lines of code.
|
 |
 |
|
|
subject: Validation/DB query question
|
|
|