tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adriano Crestani" <adrianocrest...@gmail.com>
Subject DAS Java Convention Over Configuration question
Date Wed, 04 Apr 2007 05:55:59 GMT
I was wondering why the "id" field being mapped as a table PK is defined as
"Convention Over Configuration". Because in java it is possible to retrieve
the table PK only using java.sql.DatabaseMetaData.getPrimaryKeys(String
catalog,     String schema,   String table) method.

Does the "id" Convention Over Configuration exist only because some DBMS
does not support the java.sql.DatabaseMetaData.getPrimaryKeys(String
catalog,     String schema,   String table) method?

Adriano Crestani

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message