Package com.querydsl.sql.codegen
Class KeyDataFactory
java.lang.Object
com.querydsl.sql.codegen.KeyDataFactory
KeyDataFactory
is a factory for table key data- Author:
- tiwe
-
Constructor Summary
ConstructorsConstructorDescriptionKeyDataFactory
(NamingStrategy namingStrategy, String packageName, String prefix, String suffix, boolean schemaToPackage) -
Method Summary
Modifier and TypeMethodDescriptiongetExportedKeys
(DatabaseMetaData md, String catalog, String schema, String tableName) getImportedKeys
(DatabaseMetaData md, String catalog, String schema, String tableName) getPrimaryKeys
(DatabaseMetaData md, String catalog, String schema, String tableName)
-
Constructor Details
-
KeyDataFactory
public KeyDataFactory(NamingStrategy namingStrategy, String packageName, String prefix, String suffix, boolean schemaToPackage)
-
-
Method Details
-
getExportedKeys
public Map<String,InverseForeignKeyData> getExportedKeys(DatabaseMetaData md, String catalog, String schema, String tableName) throws SQLException - Throws:
SQLException
-
getImportedKeys
public Map<String,ForeignKeyData> getImportedKeys(DatabaseMetaData md, String catalog, String schema, String tableName) throws SQLException - Throws:
SQLException
-
getPrimaryKeys
public Map<String,PrimaryKeyData> getPrimaryKeys(DatabaseMetaData md, String catalog, String schema, String tableName) throws SQLException - Throws:
SQLException
-