edu.stanford.smi.protege.storage.database_with_include
Class RobustConnection
java.lang.Object
edu.stanford.smi.protege.storage.database_with_include.RobustConnection
- public class RobustConnection
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RobustConnection
public RobustConnection(String driver,
String url,
String username,
String password)
throws SQLException
setAutoCommit
public void setAutoCommit(boolean b)
throws SQLException
- Throws:
SQLException
commit
public void commit()
throws SQLException
- Throws:
SQLException
close
public void close()
throws SQLException
- Throws:
SQLException
closeStatements
public void closeStatements()
throws SQLException
- Throws:
SQLException
supportsBatch
public boolean supportsBatch()
getPreparedStatement
public PreparedStatement getPreparedStatement(String text)
throws SQLException
- Throws:
SQLException
getStatement
public Statement getStatement()
throws SQLException
- Throws:
SQLException
checkConnection
public void checkConnection()
throws SQLException
- Throws:
SQLException
isOracle
public boolean isOracle()
throws SQLException
- Throws:
SQLException
isSqlServer
public boolean isSqlServer()
throws SQLException
- Throws:
SQLException
isMsAccess
public boolean isMsAccess()
throws SQLException
- Throws:
SQLException
isMySql
public boolean isMySql()
throws SQLException
- Throws:
SQLException
getMaxVarcharSize
public int getMaxVarcharSize()
getLongvarcharTypeName
public String getLongvarcharTypeName()
getSmallIntTypeName
public String getSmallIntTypeName()
getIntegerTypeName
public String getIntegerTypeName()
getTinyIntTypeName
public String getTinyIntTypeName()
getBitTypeName
public String getBitTypeName()
getVarcharTypeName
public String getVarcharTypeName()
getCharTypeName
public String getCharTypeName()
supportsEscapeClause
public boolean supportsEscapeClause()
supportsCaseInsensitiveMatches
public boolean supportsCaseInsensitiveMatches()
throws SQLException
- Throws:
SQLException
supportsIndexOnFunction
public boolean supportsIndexOnFunction()
throws SQLException
- Throws:
SQLException
beginTransaction
public boolean beginTransaction()
commitTransaction
public boolean commitTransaction()
rollbackTransaction
public boolean rollbackTransaction()
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2005 Stanford University.