Package adalid.util.sql
Class SqlUtil
- java.lang.Object
-
- adalid.util.sql.SqlUtil
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classSqlUtil.PreparedStatementWrapper
-
Field Summary
Fields Modifier and Type Field Description protected int_argIndexprotected String[]_argsprotected Connection_connectionprotected String_databaseprotected String_dbmsprotected String_driverprotected String_hostprotected boolean_initialisedprotected String_passwordprotected String_portprotected String_programmerprotected String_schemaprotected String_urlprotected String_urlPatternprotected String_user
-
Method Summary
-
-
-
Field Detail
-
_dbms
protected String _dbms
-
_host
protected String _host
-
_port
protected String _port
-
_user
protected String _user
-
_password
protected String _password
-
_database
protected String _database
-
_schema
protected String _schema
-
_urlPattern
protected String _urlPattern
-
_driver
protected String _driver
-
_programmer
protected String _programmer
-
_url
protected String _url
-
_connection
protected Connection _connection
-
_initialised
protected boolean _initialised
-
_argIndex
protected int _argIndex
-
_args
protected String[] _args
-
-
Constructor Detail
-
SqlUtil
public SqlUtil()
-
SqlUtil
public SqlUtil(String[] args)
-
-
Method Detail
-
logSyntaxError
protected void logSyntaxError()
-
getSyntax
protected String getSyntax()
-
getSqlUtilSyntax
protected final String getSqlUtilSyntax()
-
connect
protected boolean connect()
-
close
protected boolean close()
-
isRemoteConnection
protected boolean isRemoteConnection()
-
executeStatement
protected boolean executeStatement(String statement) throws SQLException
- Throws:
SQLException
-
prepareStatement
protected PreparedStatement prepareStatement(String statement)
-
close
protected void close(SqlUtil.PreparedStatementWrapper wrapper)
-
close
protected void close(PreparedStatement statement)
-
getDbms
public String getDbms()
-
getHost
public String getHost()
-
getPort
public String getPort()
-
getUser
public String getUser()
-
getPassword
public String getPassword()
-
getDatabase
public String getDatabase()
-
getSchema
public String getSchema()
-
getDriver
public String getDriver()
-
getUrl
public String getUrl()
-
isInitialised
public boolean isInitialised()
-
getMetajavaPath
public String getMetajavaPath()
-
getCommonsPackage
public String getCommonsPackage()
-
getDefaultPackage
public String getDefaultPackage()
-
getSourceMetajavaPackage
public String getSourceMetajavaPackage()
-
getTargetMetajavaPackage
public String getTargetMetajavaPackage()
-
-