Once the context object goes out of scope, which like a database connection should be very quickly, the data objects essentially become read-only.
就像数据库连接那样应该非常快,一旦该上下文对象超出范围,数据对象实质上就进入只读状态。
A trusted context is an object that gives users a specific set of privileges and is available when the user connects to the database through a trusted connection.
受信任上下文是一个对象,它为用户提供一组特定的特权,当用户通过一个受信任的连接连接到数据库时,便可以使用它。
In this case, we would mock the query method of the database connection object so that we could just return back the results instead of calling out to the database for them.
在这里,我们可以模拟数据库连接对象的查询方法,这样我们就只需要返回结果,而不需要真正地去查询数据库。
When a database connection is established, DB2 compares the attributes of that connection against the definitions of each trusted context object in the database.
当建立一个数据库连接时,DB 2将那个连接的属性与数据库中每个可信上下文对象的定义相比较。
Now you can pass in an object directly that is compatible with the expected database connection object, and it will use that object instead of creating a new one.
现在您可以直接传入一个对象,它与预期数据库连接对象相兼容,然后直接使用这个对象,而非创建一个新对象。
Upon successfully connecting to the database, this function returns a connection object, which is required in the subsequent database read and write operations.
如果成功地连接到数据库,这个函数会返回一个连接对象,后续的数据库读写操作需要使用这个对象。
A trusted context is a database object defining the set of properties for a connection.
可信任上下文是一个数据库对象,定义了连接的属性。
Finally, verify that the trust attributes in the trusted context object on the federated database server actually match the trust attributes that are being presented in your connection request.
最后,验证联合数据库服务器可信上下文对象中的信任属性与连接请求中出现的信任属性相匹配。
Similarly the application design can be tuned for performance: Fewer object creations, ongoing database refinements, and using database connection pooling.
同样地,应用程序设计也能调优性能:更少的对象创建、实时的数据库优化以及使用数据库连接池。
At connect time, the DB2 server checks to see if the connection matches the definition of a trusted context object in the database.
在连接时,DB 2检查连接是否与数据库中可信上下文对象相匹配。
Here, in order to test the FDFDFD method in the object, we end up needing to setup a database connection, have records in the table, and then clean up all these resources after the fact.
在这里,为了测试对象的fdfdfd方法,我们最终需要建立一个数据库连接,给表添加一些记录,然后在测试之后清除所有这些资源。
This error can occur if the Hibernate session and associated database connection is closed after the object was retrieved, but before the association was accessed.
如果在获取对象之后关闭Hibernate会话和相关联的数据库连接,在访问关联之前没有恢复,那么就会发生这种错误。
The constructor creates a DBManager object to establish a database connection, as discussed earlier, and then acquires an instance of the ProductDAO class.
构造函数将按照前面的描述创建一个DBManager对象以建立数据库连接,然后获得productdao类的实例。
Next, you need to get a JDBC connection -- this is done via the connect() method of the Database object.
接下来,需要获得一个JDBC连接 --这是通过Database 对象的connect()方法来实现的。
Next, obtain database metadata from the Connection object.
接下来,从Connection对象获得数据库元数据。
In this sample application a PDO object instantiated within the PHP file instantiates the connection with the MySQL database through the MySQL connector.
在这个样例应用程序中,在php文件中实例化的一个pdo对象通过MySQL连接器实例化与MySQL数据库的连接。
The onpload database can be found in Object Explorer, under the listing of databases available in the connection created to IDS.
onpload数据库可以在ObjectExplorer中找到,位于为ids创建的连接中可用的数据库清单下。
Creating this mediator is simple; it merely requires that you pass in a previously defined metadata object and an active database connection (embodied by a ConnectionWrapper object).
创建此中介很简单;只需要传入前面定义的元数据对象和活动的数据库连接(由ConnectionWrapper对象包含)。
The following method, in a class called DatabaseExample, takes a database Connection object, reads the records from the database, and prints the values.
下面的方法,在一个被称为DatabaseExample 的类中,使用数据库Connection对象,从数据库中读取记录并打印出数值。
It takes the MySQL database connection object as a parameter and returns true if the database close operation was successful and false if it failed.
它以MySQL数据库连接对象作为参数;如果数据库关闭操作成功,它就返回true,否则返回false。
Instead, we connected to our DB2 II database using a DataSource object (a pooled database connection defined in WebSphere) and we were ready to go.
相反,我们可以使用DataSource对象(WebSphere中定义的一种使用连接池机制的数据库连接)连接到我们的DB 2II数据库,这正是我们准备做的。
For example, you make a database connection via a JDBC connection; and to send an SQL query to a database, you create a JDBC Statement object from the appropriate connection object.
例如,通过JDBCConnection建立数据库连接;并且为了向数据库发送SQL查询,从相应的Connection对象创建一个JDBCStatement对象。
Its main research object is the transaction database, its essential target is to discover whether there is certain connection relation between items in transaction database.
关联规则的主要研究对象是交易数据库,其主要目标就是发现交易数据库中交易项目之间是否存在某些关联关系。
The second method introduces how to establish dynamic database connection using ADO Object Model at program design time.
第二种方法介绍了利用ADO对象模型在程序设计阶段实现与数据库的动态连接。
At this point, the db object will be a connection to a MongoDB server for the specified database. With it, you can do further operations.
db对象就是连接服务器中指定数据库的连接。使用他你可以做很多操作。 翳。
The database object represents your connection to the database.
数据库对象表示数据库连接。
Through the ADO object model and the ODBC connection, carry on the real-time data with operating system's on database server the interaction.
通过ADO对象模型及odbc接口,与操作系统上的数据库服务器进行实时数据的交互。
Through the ADO object model and the ODBC connection, carry on the real-time data with operating system's on database server the interaction.
通过ADO对象模型及odbc接口,与操作系统上的数据库服务器进行实时数据的交互。
应用推荐