public interface EclipseLinkSemanticValidatorExtension
Modifier and Type | Field and Description |
---|---|
static EclipseLinkSemanticValidatorExtension |
NULL_EXTENSION
A
null -instance of this extension. |
Modifier and Type | Method and Description |
---|---|
boolean |
columnExists(java.lang.String tableName,
java.lang.String columnName)
Determines whether the column with the given name exists or not in the table with the given name.
|
java.lang.String |
getEntityTable(java.lang.String entityName)
Returns the name of the primary table defined for the entity with the given name.
|
boolean |
tableExists(java.lang.String tableName)
Determines whether the table with the given exists or not.
|
static final EclipseLinkSemanticValidatorExtension NULL_EXTENSION
null
-instance of this extension.boolean columnExists(java.lang.String tableName, java.lang.String columnName)
tableName
- The name of the table to look for the columncolumnName
- The name of the column to determine its existencetrue
if the column exists; false
otherwisejava.lang.String getEntityTable(java.lang.String entityName)
entityName
- The name of the entityboolean tableExists(java.lang.String tableName)
tableName
- The name of the table to determine its existencetrue
if the table exists; false
otherwise