I'm attaching here a simple Java program that will open, create a tableand query the table printing the results!
yourdb database must be previously created!
Best regards,-- Constantin TeodorescuFLEX Consulting Braila, ROMANIA