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

Reply via email to