Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / November 2005

Tip: Looking for answers? Try searching our database.

Read Database schema  with java

Thread view: 
RADES - 13 Nov 2005 17:54 GMT
I m searching for a methode to read a database schema with java: Tables,
Relations, Tablefield, Primary Keys, NULL/ NOT Null. did u know any consept.
did u know a method with hibernate
Thomas Kellerer - 13 Nov 2005 17:58 GMT
RADES via JavaKB.com wrote on 13.11.2005 18:54:
> I m searching for a methode to read a database schema with java: Tables,
> Relations, Tablefield, Primary Keys, NULL/ NOT Null. did u know any consept.
> did u know a method with hibernate

Start with reading the manual:

http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html
gimme_this_gimme_that@yahoo.com - 16 Nov 2005 00:25 GMT
Middlegen (a hibernate utility) already does this. It even creates an
ER diagram.

It reads your database and creates hbm.xml files from your tables.

It does one-to-many relationships too.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.