can I access a particular row from the database directly using jdbc?
Apu Nahasapeemapetilon
Ranch Hand
Joined: Sep 06, 2000
Posts: 51
posted
0
Sure, JDBC will allow one to access a DB with all of the privileges of the User/Password that you use to connect to the DB. Depending upon how you want to do it, create a PreparedStatement, set the SQL string property and the run the appropriate execute method. This will return a ResultSet that will contain the row you desire. I can give you a short example iffin you need more info.
Eung maeng
Ranch Hand
Joined: Feb 10, 2002
Posts: 68
posted
0
Please give me a good example as soon as possible. cheers, Paul pmaeng@kaita.org.au