Package x.data.aurora
Class SkyDataAuroraUtil
java.lang.Object
x.data.aurora.SkyDataAuroraUtil
- Direct Known Subclasses:
SkyDataAuroraCommon
The skydata utility for use in SkyLogicSystem.
- Author:
- Sakdsitt Likhitmetagool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidCheck connection.static voidClose SQL connection.static Connectionconnect()Open connection.static ConnectionOpen connection.static ResultSetexecuteQuery(String sql) Execute query by SQL.static ResultSetexecuteQueryObject(String sql, Object[] args) Execute query by SQL.static ResultSetexecuteQueryObjects(String sql, Object[] args) Execute query by SQL.static booleanexecuteSQL(String sql) Execute by SQL.static intexecuteUpdate(String sql) Execute update by SQL.static intexecuteUpdateObject(String sql, Object[] args) Execute update by SQL.static intexecuteUpdateObjects(String sql, Object[] args) Execute update by SQL.static void
-
Constructor Details
-
SkyDataAuroraUtil
public SkyDataAuroraUtil()
-
-
Method Details
-
chkconnect
Check connection.- Throws:
SQLException
-
connect
Open connection.- Throws:
SQLException
-
connect
Open connection.- Throws:
SQLException
-
executeSQL
Execute by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeUpdate
Execute update by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeUpdateObject
public static int executeUpdateObject(String sql, Object[] args) throws SQLException, ClassNotFoundException Execute update by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeUpdateObjects
public static int executeUpdateObjects(String sql, Object[] args) throws SQLException, ClassNotFoundException Execute update by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeQuery
Execute query by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeQueryObject
public static ResultSet executeQueryObject(String sql, Object[] args) throws SQLException, ClassNotFoundException Execute query by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeQueryObjects
public static ResultSet executeQueryObjects(String sql, Object[] args) throws SQLException, ClassNotFoundException Execute query by SQL.- Throws:
SQLExceptionClassNotFoundException
-
closeNative
Close SQL connection.- Throws:
ClassNotFoundExceptionSQLException
-
main
-