private synchronized void EnableHints() {
if (IsConnected) {
Statement st = null;
try {
OracleDatabaseMetaData meta = (OracleDatabaseMetaData) conn.getMetaData();
OracleMajorVersion = meta.getDatabaseMajorVersion();
OracleMinorVersion = meta.getDatabaseMinorVersion();
OracleProductVersion = meta.getDatabaseProductVersion();
//conn.setPlsqlWarnings("'ENABLE:ALL'");
if (OracleMajorVersion >= 10) {
st = conn.createStatement();
st.execute("ALTER SESSION SET PLSQL_WARNINGS='ENABLE:ALL'");