This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Regards, Jan [ April 24, 2007: Message edited by: Jan Cumps ]
OCUP UML fundamental
ITIL foundation
Gaurav Chikara
Ranch Hand
Joined: Jun 09, 2000
Posts: 410
posted
0
To check null values: ResultSet.wasNull().
ResultSet's wasNull only checks if last column read was Null Better and scalable approach is always to write a utility class for checking null value and check the value returned against it e.g. You wrote Util.java and one of the methods is boolean isNull(Object obj)
then simply use it and you will know if the value returned is Null or not [ April 24, 2007: Message edited by: Gaurav Chikara ]
SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.