|
Oracle Database JDBC Java API Reference 11g Release 2 E13995-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Object
java.lang.Enum<OracleConnection.DatabaseStartupMode>
oracle.jdbc.OracleConnection.DatabaseStartupMode
public static enum OracleConnection.DatabaseStartupMode
| Enum Constant Summary | |
|---|---|
FORCEAttempt to shutdown the database in the abort mode before starting a new instance. |
|
NO_RESTRICTIONStartup the database with no restriction. |
|
RESTRICTStartup the database in the restrict mode: allow database access only to users with both the CREATE SESSION and RESTRICTED SESSION privileges (normally, the DBA). |
|
| Method Summary | |
|---|---|
int |
getMode()Implementation detail (for internal use only). |
static OracleConnection.DatabaseStartupMode |
valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. |
static OracleConnection.DatabaseStartupMode[] |
values()Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OracleConnection.DatabaseStartupMode NO_RESTRICTION
public static final OracleConnection.DatabaseStartupMode FORCE
public static final OracleConnection.DatabaseStartupMode RESTRICT
| Method Detail |
|---|
public static final OracleConnection.DatabaseStartupMode[] values()
for(OracleConnection.DatabaseStartupMode c : OracleConnection.DatabaseStartupMode.values())
System.out.println(c);
public static OracleConnection.DatabaseStartupMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namepublic final int getMode()
|
Oracle Database JDBC Java API Reference 11g Release 2 E13995-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||