Package x.data.sql.mysql
Class SkyDataMySQLUtils
java.lang.Object
x.data.sql.mysql.SkyDataMySQLUtils
- Direct Known Subclasses:
SkyDataMySQLCommon
The Skydata SQL utility for use in SkyLogicSystem.
- Author:
- Sakdsitt Likhitmetagool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidOpen SQL SkyDatabase connection.static voidOpen SQL SkyDatabase connection.static voidClose SQL SkyDatabase connection.static voidOpen SQL SkyDatabase connection.static voidOpen SQL SkyDatabase connection.static voidconnectNative(String schemaName) Open SQL SkyDatabase connection.static ResultSetexecuteQuery(String sql) Execute query SkyDatabase by SQL.static ResultSetexecuteQueryObject(String sql, Object[] args) Execute query SkyDatabase by SQL.static ResultSetexecuteQueryObjects(String sql, Object[] args) Execute query SkyDatabase by SQL.static booleanexecuteSQL(String sql) Execute SkyDatabase by SQL.static intexecuteUpdate(String sql) Execute update SkyDatabase by SQL.static intexecuteUpdateObject(String sql, Object[] args) Execute update SkyDatabase by SQL.static intexecuteUpdateObjects(String sql, Object[] args) Execute update SkyDatabase by SQL.
-
Constructor Details
-
SkyDataMySQLUtils
public SkyDataMySQLUtils()
-
-
Method Details
-
connect
Open SQL SkyDatabase connection. -
connect
Open SQL SkyDatabase connection. -
chkconnect
public static void chkconnect()Open SQL SkyDatabase connection. -
connectNative
Open SQL SkyDatabase connection. -
chkconnectNative
public static void chkconnectNative()Open SQL SkyDatabase connection. -
executeSQL
Execute SkyDatabase by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeUpdate
Execute update SkyDatabase by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeUpdateObject
public static int executeUpdateObject(String sql, Object[] args) throws SQLException, ClassNotFoundException Execute update SkyDatabase by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeUpdateObjects
public static int executeUpdateObjects(String sql, Object[] args) throws SQLException, ClassNotFoundException Execute update SkyDatabase by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeQuery
Execute query SkyDatabase by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeQueryObject
public static ResultSet executeQueryObject(String sql, Object[] args) throws SQLException, ClassNotFoundException Execute query SkyDatabase by SQL.- Throws:
SQLExceptionClassNotFoundException
-
executeQueryObjects
public static ResultSet executeQueryObjects(String sql, Object[] args) throws SQLException, ClassNotFoundException Execute query SkyDatabase by SQL.- Throws:
SQLExceptionClassNotFoundException
-
closeNative
Close SQL SkyDatabase connection.- Throws:
ClassNotFoundExceptionSQLException
-