| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| query-applet/ | 2000-05-18 23:24 | - | ||
| rowset/ | 2000-12-13 13:20 | - | ||
| servlet/ | 2000-12-13 12:57 | - | ||
| simple-applet/ | 2000-12-13 13:02 | - | ||
| simple-query-applet/ | 2000-12-13 13:00 | - | ||
| simple/ | 2000-12-13 13:15 | - | ||
| README.html | 2001-01-17 20:03 | 5.1K | ||
simple/ConnectCoffeesTwz1.java:
Simple connection test with Twz1 Driver - old, not maintained example
simple/ConnectCoffeesMM.java:
Simple connection test with MM Driver - revised 2/2000
simple/CreateCoffeesTwz1.java:
Simple drop/create test with Twz1 Driver - old, not maintained example
simple/CreateCoffeesMM.java:
Simple drop/create test with MM Driver (warning username & password removed - revised 2/2000
simple/InsertCoffees.java:
Simple insert test with MM Driver - revised 2/2000
simple/InsertCoffeesOLD.java:
Simple insert test with MM Driver - wrongly imports MySQL Driver classes, works but needs type casting.
simple/QueryCoffees.java:
Simple query test with MM Driver - revised 2/2000
*.ORI: Originals from the Tutorial files
The examples in the simple-query-applet directory implement a simple query /update text windows where you can type in SQL expressions and watch the result.
Tecfa Users: Classes are in /local/java/classes/xxx..
See ALSO: SUN's java.sql API doc (local password protected). You get this page from your own JDK API doc.
java CreateCoffeesMMBad
==> SQLException: No suitable driver
Message: No suitable driver
SQLState: 08001
ErrorCode: 0
This is the result from a BAD URL and has IMHO nothing to do with the driver.
String url = "jdbc:mysql:tecfa2.unige.ch:3306/COFFEEBREAK";
instead of:
String url = "jdbc:mysql://tecfa2.unige.ch:3306/COFFEEBREAK";