public class KeyDataFactory extends Object
Constructor and Description |
---|
KeyDataFactory(NamingStrategy namingStrategy,
String packageName,
String prefix,
String suffix,
boolean schemaToPackage) |
Modifier and Type | Method and Description |
---|---|
Map<String,InverseForeignKeyData> |
getExportedKeys(DatabaseMetaData md,
String catalog,
String schema,
String tableName) |
Map<String,ForeignKeyData> |
getImportedKeys(DatabaseMetaData md,
String catalog,
String schema,
String tableName) |
Map<String,PrimaryKeyData> |
getPrimaryKeys(DatabaseMetaData md,
String catalog,
String schema,
String tableName) |
public KeyDataFactory(NamingStrategy namingStrategy, String packageName, String prefix, String suffix, boolean schemaToPackage)
public Map<String,InverseForeignKeyData> getExportedKeys(DatabaseMetaData md, String catalog, String schema, String tableName) throws SQLException
SQLException
public Map<String,ForeignKeyData> getImportedKeys(DatabaseMetaData md, String catalog, String schema, String tableName) throws SQLException
SQLException
public Map<String,PrimaryKeyData> getPrimaryKeys(DatabaseMetaData md, String catalog, String schema, String tableName) throws SQLException
SQLException
Copyright © 2007–2015 Mysema Ltd. All rights reserved.