Search This Blog

Monday, February 28, 2011

Almost time for MySQL

Almost time to practice the small amount of training I have had with MySQL database. It also ties in a Java front end to call and manipulate the database from Java. Check it out . . . .
http://technicalfacilitation.com/learnwiki/index.php/Mysql

1 comments:

LarryGutt said...

I have a general question that ties in with the SQL. I keep seeing ".next" in the code. As is "rs.next" and "in.next" in the DatabaseRunner class. I have seen this before elsewhere.

I know ".next" is used in conjunction with looping (in the DatabaseRunner class it is used along with the WHILE statement). Logically, this code is stating "while ResultSet continues to have a value (which is not null???), continue to loop". The "answer1 = in.next" used in conjunction with the scanner is a bit more difficult for me to grasp.

Also, "getInt() and getString()". My question is this:

Are ".next and get" pieces of code syntax and could you clarify a bit for me?

Post a Comment