File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "" Watch "" New topic

Andrew Parker
Ranch Hand

Joined: Nov 12, 2001
Posts: 178
I want to know:
What is what is org.gjt?
and some program uses import twz1.jdbc.mysql.*;
What are their difference and when should I use the import one?
Thanks for explain.
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
  12 is the package containing the mySQL driver. I don't know why the author created this package name, perhaps because it was (originally?) at in the mm/mysql subdirectory??

import twz1.jdbc.mysql.*;
Is this from a book? Perhaps they distributed some files with the book where the driver is in the twz1.jdbc.mysql package.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Andrew Parker
Ranch Hand

Joined: Nov 12, 2001
Posts: 178
Thanks for your explanation.
I agree. Here's the link:
It's not a secret anymore!