Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get database, table's name, field's name and field's type?

843789May 12 2009 — edited May 14 2009
Greetings,
I'm a student in a computer high school, and I'm completely new to java. What I know are OOP theory, java applet and thread.
I was a delphi programmer, and I want to migrate to java.

There's several things I want to do in java.
I want to make a program that accept an "url connection string" , "driver" etc.
And it would show list of all databases (I mean schema), tables of each schema, fields of each tables and their data type.

In delphi, I use corelab's component named UNIDAC, so that my program can show oracle, sqlserver, and mysql schemas. Also, it can show every tables and fields in those schemas.

How could I do that in java?

1. What Class that I should used?
2. Is there any attribute or method related to my task (get schemas, tables, and fields)?

That's all, You don't need to give me the source code, just show me how could I do that

Regards,
Griefond
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2009
Added on May 12 2009
5 comments
851 views