[Android.Runtime.Register("getConnection", "(Ljava/lang/String;)Ljava/sql/Connection;", "")] public static Java.Sql.IConnection? GetConnection(string? url); Parameters url String a database url of the form jdbc:subprotocol:subname Returns IConnection a connect...
public java.sql.Connection getConnection(java.lang.String username, java.lang.String password) 參數 username 包含使用者名稱的字串。 password 包含密碼的字串。 傳回值 SQLServerConnection物件。 例外狀況 java.sql.SQLException 備註 這個getConnection 方法是由 javax.sql.DataSource 介面中的 getConnection ...
public java.sql.Connection getConnection() Return ValueA SQLServerConnection object.ExceptionsSQLServerExceptionRemarksThis getConnection method is specified by the getConnection method in the java.sql.DatabaseMetaData interface.See AlsoSQLServerDatabaseMetaData Methods SQLServerDatabaseMetaData Members SQLServerData...
Methods inherited from class java.lang.Object getClass, notify, notifyAll, wait, wait, waitConstructor Detail GetConnectionRequest public GetConnectionRequest() Method Detail setCatalogId public void setCatalogId(String catalogId) The ID of the Data Catalog in which the connection resides. If none ...
/** * This method is used to return number rows from the timestamped table created by createTable() * in CacheUtils class. */ public int getRows(String tableName) throws NamingException, SQLException { Context ctx = cache.getJNDIContext(); DataSource ds = (DataSource) ctx.lookup("java:...
Methods inherited from class java.lang.Object clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethod Detail getEtag public String getEtag() For optimistic concurrency control. See ETags for Optimistic Concurrency Control. Returns: the value getOpcRequestId public Strin...
To create a connection to theIBM® Informix®database or database server, you can use theDriverManager.getConnection()method. This method creates aConnectionobject, which is used to create SQL statements, send them to theInformixdatabase, and process the results. ...
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder body$Constructor Detail Builder public Builder() Method Detail dbSystemId public GetConn...
Methods inherited from class java.lang.Object getClass, notify, notifyAll, wait, wait, wait Constructor Detail GetConnectionResult public GetConnectionResult() Method Detail setConnectionId public void setConnectionId(String connectionId) The ID of the connection. Parameters: connectionId - The ID of...
[Android.Runtime.Register("getConnection","(JLjava/util/concurrent/TimeUnit;)Lorg/apache/http/conn/ManagedClientConnection;","GetGetConnection_JLjava_util_concurrent_TimeUnit_Handler:Org.Apache.Http.Conn.IClientConnectionRequestInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null...