By PeterStofferis
via www-128.ibm.com
Published: Jan 31 2007 / 13:12
Get a thorough overview on how to issue a simple database query against an Apache Derby database and how to process the selected results. Doing so requires the introduction of three new JDBC classes: Statement, ResultSet, and ResultSetMetaData. Learn how to use these classes with a JDBC database connection to quickly and easily extract data from an Apache Derby database into your own Java™ application.
Comments
daniel replied ago:
I'm pretty sure this was posted once, way in the distant past. Oh well. :-)
Peter Stofferis replied ago:
Daniel,
According to developerWorks the article is posted on 30 January 2007. I'm pretty sure it's a new one (unless developerWorks reposts old articles ?). I also (always) checked to see if it's a new one and couldn't find one so I'm pretty sure it's a new one (I hope).
Peter
daniel replied ago:
Just proves I should look at dev works article dates...
Actually, it also proves that no-one should trust my memory when it comes to old dzone.com posts. :-)
Peter Stofferis replied ago:
Ok, from now on we will not trust your memory for old dzone posts ;-)
Peter
Hercynium replied ago:
Derby is a wonderful tool - both for smaller apps that do not need an independent dedicated RDBMS (but need a persistient SQL DB) and for testing larger apps that will be run on a larger independent RDBMS thru JDBC.
I recently discovered it for myself and am using it for the latter purpose. I can test components of my application right on my laptop, whether I'm connected to the corporate LAN or not, PLUS I can put whatever data I want into the Derby DB for controlled tests and demonstrations!
Highly recommended by this code monkey!
Voters For This Link (10)
Voters Against This Link (0)