| java.lang.Object | |
| ↳ | com.atlassian.confluence.upgrade.UpgradeUtils |
This class is deprecated.
since 3.5.9 Use HibernateDdlExecutor and associated
DdlCommands, or com.atlassian.config.db.HibernateConfig
if your code still needs to know which DB type its using.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
since 3.5.8 because it is too close to isMySQL. Use
isSqlServer() instead
| |||||||||||
Returns the converted SQL string with booleans converted from True or false
to 1 or 0 respectively based on the isSubstituteBoolean() method that looks for databases which
require the boolean values as 1 or 0.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
| HibernateException | |
|---|---|
| SQLException |
| HibernateException |
|---|
This method is deprecated.
since 3.5.8 because it is too close to isMySQL. Use isSqlServer() instead
Returns the converted SQL string with booleans converted from True or false to 1 or 0 respectively based on the isSubstituteBoolean() method that looks for databases which require the boolean values as 1 or 0.
If the database requires does not require boolean substitution, then the original sql string will be returned unmodified.
| sqlString | the raw sql query string |
|---|