Re: Read Database schema with java




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
.



Relevant Pages

  • Read Database schema with java
    ... I m searching for a methode to read a database schema with java: ... Relations, Tablefield, Primary Keys, NULL/ NOT Null. ... did u know any consept. ...
    (comp.lang.java.databases)
  • [Hibernate] Weak entities
    ... I've been working for a while with Hibernate now. ... "Many legacy SQL data models use natural primary keys. ... Word is a weak entity of Line, which is a weak entity of Page, which is ...
    (comp.lang.java.databases)
  • Re: hibernate to legacy DB with no ID columns
    ... Hibernate supports custom types which are intended to be used in ... middlegen will look at the unique columns and primary keys from the ... table's underlying DDL. ...
    (comp.lang.java.programmer)