Class OracleDatabase
java.lang.Object
com.codename1.db.Database
com.codename1.db.ServerDatabase
com.codename1.db.OracleDatabase
A Oracle Database server, over its wire protocol with no driver. See
ServerDatabase.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe port Oracle Database listens on unless configured otherwise.Fields inherited from class Database
COLUMN_BLOB, COLUMN_FLOAT, COLUMN_INTEGER, COLUMN_NULL, COLUMN_TEXT, COLUMN_UNKNOWN, inTransaction -
Constructor Summary
ConstructorsConstructorDescriptionOracleDatabase(String host, int port, String service, String user, String password) Connects WITHOUT TLS (sslMode=disable): the password and the data cross the network unencrypted.OracleDatabase(String host, int port, String service, String user, String password, String sslMode, int timeoutMillis) Connects and signs in; seeServerDatabaseforsslMode. -
Method Summary
Methods inherited from class ServerDatabase
beginTransaction, close, commitTransaction, execute, execute, execute, executeQuery, executeQuery, executeQuery, executeUpdate, getDialect, isClosed, rollbackTransactionMethods inherited from class Database
abandonFailedCommit, beforeFirst, beginTransactionMode, changeKey, changes, checkBeginTransaction, checkEndTransaction, checkNoTransactionForKeyChange, coerceToText, count, createFunction, decrypt, delete, encrypt, executeStatus, exists, failStatus, forgetManagedKey, getDatabasePath, getStatusMessage, getValue, getValues, hasAttachments, isBlobQueryParameterSupported, isCustomPathSupported, isDatabaseBeingDeleted, isEncrypted, isEncryptionSupported, isInMemorySupported, isInTransaction, isLegacyBehavior, isPlainStatement, lastInsertRowId, markTransactionEnded, normalizeDatabaseKey, normalizeDatabasePathKey, noteConnectionClosed, noteEngineTransactionState, noteFirstStatementTransactionControl, noteScriptTransactionControl, openDatabaseCount, openInMemory, openOrCreate, openOrCreate, registerOpenDatabase, releaseKeyChangeClaim, releaseOpenDatabase, requireAttachmentsHeld, requireQueryStatement, requireSoleConnectionForKeyChange, reserveAttachments, reserveAttachments, setLegacyBehavior, supportsFunctions, supportsNestedTransactions, supportsWasNull, toPragmaLiteral, transactionControlKeyword, wasNull
-
Field Details
-
DEFAULT_PORT
public static final int DEFAULT_PORTThe port Oracle Database listens on unless configured otherwise.- See Also:
-
-
Constructor Details
-
OracleDatabase
public OracleDatabase(String host, int port, String service, String user, String password) throws IOException Connects WITHOUT TLS (sslMode=disable): the password and the data cross the network unencrypted. Connecting, and each wait for the server, may take 30 seconds.- Throws:
IOException
-
OracleDatabase
public OracleDatabase(String host, int port, String service, String user, String password, String sslMode, int timeoutMillis) throws IOException Connects and signs in; seeServerDatabaseforsslMode.- Throws:
IOException
-