java.lang.Object | |
↳ | com.atlassian.jira.database.DatabaseUtil |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts a boolean value into a String value to be stored in a CHAR(1) DB column.
| |||||||||||
Closes the given connection if any.
| |||||||||||
Closes the given ResultSet if any.
| |||||||||||
Closes the given Statement if any.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Converts a boolean value into a String value to be stored in a CHAR(1) DB column.
This is useful when using the OfBiz "indicator" feild-type to store a boolean flag.
indicator | the Boolean value |
---|
Closes the given connection if any. If null is passed, it does nothing and if SQLExceptions happen on close, they are swallowed.
con | a Connection to be closed, potentially null |
---|
Closes the given ResultSet if any. If null is passed, it does nothing and if SQLExceptions happen on close, they are swallowed.
rs | a ResultSet to be closed, potentially null |
---|
Closes the given Statement if any. If null is passed, it does nothing and if SQLExceptions happen on close, they are swallowed.
stmt | a Statement to be closed, potentially null |
---|