public class PrimaryKeyRecognisor extends Object
While databases have a mechanism to identify Primary Keys, some don't use it.
However there is often a naming convention that makes it obvious that a column is a PK.
Extend the methods of this class to help DBvolution automatically recognize the PKs within your schema.
Support DBvolution at Patreon
| Constructor and Description |
|---|
PrimaryKeyRecognisor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPrimaryKeyColumn(String tableName,
String columnName)
Default implementation, returns FALSE
|
Copyright © 2018. All Rights Reserved.