public class SQLSpecificTransformFactory
extends java.lang.Object
SQLSpecificTransform
Constructor and Description |
---|
SQLSpecificTransformFactory() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
fixSysDate(java.lang.String sql,
java.lang.String sysdateReplacement)
Replace any local sysdate values with the correct value for this platform.
|
static SQLSpecificTransform |
getSQLSpecificTransform(java.sql.Connection con)
Return a transform based on the connection's driver.
|
public static SQLSpecificTransform getSQLSpecificTransform(java.sql.Connection con) throws java.sql.SQLException
con
- The connectionjava.lang.Exception
java.sql.SQLException
Returned for Oracle or unknown server types.
public static java.lang.String fixSysDate(java.lang.String sql, java.lang.String sysdateReplacement)
sql
- A SQL Statement