public interface JdbcStatementBackwardsCompat
Modifier and Type | Method and Description |
---|---|
java.lang.String |
enquoteIdentifier(java.lang.String identifier,
boolean alwaysQuote)
Enquotes the specified identifier.
|
boolean |
isSimpleIdentifier(java.lang.String identifier)
Checks if specified identifier may be used without quotes.
|
java.lang.String enquoteIdentifier(java.lang.String identifier, boolean alwaysQuote) throws java.sql.SQLException
identifier
- identifier to quote if requiredalwaysQuote
- if true
identifier will be quoted unconditionallyjava.sql.SQLException
- on failureboolean isSimpleIdentifier(java.lang.String identifier) throws java.sql.SQLException
identifier
- identifier to checkjava.sql.SQLException
- on failure