java.lang.Object
org.tentackle.sql.DefaultScriptRunner
org.tentackle.sql.backends.PostgresScriptRunner
- All Implemented Interfaces:
ScriptRunner
Script runner for postgres.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.tentackle.sql.DefaultScriptRunner
DefaultScriptRunner.SQLCode -
Constructor Summary
ConstructorsConstructorDescriptionPostgresScriptRunner(Backend backend, Connection connection) Creates a script runner. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDetermines whether Posix escape syntax is supported by the backend and/or connection.Methods inherited from class org.tentackle.sql.DefaultScriptRunner
determineNextSqlCode, getBackend, getConnection, isEscapeProcessingEnabled, run, setEscapeProcessingEnabled
-
Constructor Details
-
PostgresScriptRunner
Creates a script runner.- Parameters:
backend- the backendconnection- the SQL connection- See Also:
-
-
Method Details
-
determinePosixEscapeSyntaxSupported
protected boolean determinePosixEscapeSyntaxSupported()Description copied from class:DefaultScriptRunnerDetermines whether Posix escape syntax is supported by the backend and/or connection.- Overrides:
determinePosixEscapeSyntaxSupportedin classDefaultScriptRunner- Returns:
- true if supported
-