打开数据库连接并创建了Data项目之后,就可以开始构建查询了。
With a database connection open and a data project created, you're ready to build queries.
我有破发点集,它开始后一个调用的方法打开数据库连接,调试器打开拆卸窗口,并停留在那里。
I have break points set and it starts off well then after a call in a method to open database connection, the debugger opens disassembly window and stays there.
延迟抓取的另一个问题就是在获取到请求的数据前要一直打开数据库连接,否则应用就会抛出一个延迟加载异常。
Another issue with lazy fetching is that the database connection has to be retained until all the required data is fetched else the application will throw a lazy loading exception.
这将打开一个新窗口,可以在此将一个现有的或者新数据库连接附加到该项目。
This will open a new window where an existing or a new database connection can be attached to this project.
创建数据源或数据库池的原因是它能够提高应用程序性能,因为即使打开一个连接也会十分占用CPU。
The reason for creating a data source or database pool is that it increases application performance, because opening even a single connection is a CPU-intensive operation.
概括起来,就是打开XML模式文件,建立一个数据库连接,然后用鼠标画出从xml元素和属性到关系列之间的连接。
In a nutshell, you open the XML schema file, establish a database connection, and then use the mouse to draw connections from XML elements and attributes to relational columns.
打开和关闭连接的过程开销较大,会影响到应用程序或数据库的性能,而使用连接池就可以消除大部分这样的开销。
Opening and closing connections is an expensive process affecting application or database performance and the use of connection pooling helps eliminate most of that overhead.
下面第一个简单的脚本将打开一个数据库连接,并向浏览器发送消息确认该连接。
The first simple script here will open a database connection and confirm that with a message to the browser.
打开WAS控制台并设置连接到前面创建的数据库模式的xa数据源。
Open up the WAS Console and set up an XA data source that connects to the database schema created earlier.
如果已经这样做了,就打开Data透视图,建立一个数据库连接,并创建一个Data项目。
If you haven't already done so, open the data perspective, establish a database connection, and create a data project.
在新打开的Catalog窗口中,第一步是添加一个数据库连接。
The first step in the newly opened Catalog window is to add a database connection.
不幸的是,并不是每种数据库都支持事务,所以当第一次打开连接时,PDO需要在所谓的“自动提交(auto - commit)”模式下运行。
Unfortunately, not every database supports transactions, so PDO needs to run in what is known as "auto-commit" mode when you first open the connection.
该任务不能嵌套在DatabaseConnectionTask中并打开它自己的到数据库的连接。
This task must not be nested within a DatabaseConnectionTask and opens its own connection to the database.
程序首先初始化Hibernate环境并打开一个Session,后者包装了到联邦数据库的JDBC连接。
To do so, it initializes the Hibernate environment and opens a Session, which wraps a JDBC connection to the federated database.
他打开一个命令行窗口,连接到SAMPLE数据库,并尝试更新employee表中的雇员工资(当然这样的尝试会遭到失败)。
He opens a command line window, connects to the SAMPLE database and unsuccessfully tries to update the employee salaries in the employee table. He issues the following SQL statements.
在Servlet的init函数中,打开到数据库的连接。
Open the connection to the database during the init function in your servlet.
一旦连接到IBMDB 2UDBSAMPLE数据库,就可以使用DataExplorer打开表、视图或过程节点。
Once you can connect to the IBM DB2 UDB SAMPLE database, you can use the data Explorer to open up the tables, views, or procedures node.
最后,磁盘访问速度影响数据库连接的数量和打开数据库和视图的速度。
Finally, disk access speed impacts the number of database connections and the speed of database and view openings.
实现数据库连接池,重用连接对象,而不是重复地打开和关闭连接。
Implement connection pools to the database and reuse connection objects, rather than repeatedly opening and closing connections.
因为在于数据库交互时,打开以及关闭数据库的开销是非常昂贵的,您应该将您的数据库连接放在池中并且能重新使用。
Since opening and closing the connection is the most expensive part of interacting with a database, you will want to pool and reuse your database connection.
例如,您可能会想要验证本地数据库应用程序是否打开了连接、执行了查询,并随后关闭了此连接。
For example, you might want to verify that a native database application opened a connection, executed a query, and then closed the connection.
另外,ConnectionPoolDataSource避免了在应用程序同时打开与数据库的若干个连接的情况下发生冲突。
Also, ConnectionPoolDataSource avoids conflicts in a situation where an application opens several connections to a database at the same time.
Open()方法打开了到数据库的连接,如果连接失败,则抛出一个IfxException。
The Open() method opens the connection to the database and throws an IfxException if the connection fails.
在db4o系统中,打开第二个数据库逻辑连接非常简单,即使当数据库驻留在本地磁盘上时也是如此。
Within the db4o system, it is trivial to open a second logical connection to the database, even when the database resides on the local disk.
然后使用该数组打开到MySQL数据库服务器的连接,并选择要使用的数据库。
This array is then used to open a connection to the MySQL database server and select a database for use.
LINQ toSQL同样支持显式设置上下文的事务,所以您可以获取上下文的数据库连接,然后打开它,开启一个事务,并在上下文中设置。
LINQ to SQL also supports explicitly setting the transaction on the context, so you could get the connection from the context, open it, start a transaction, and set it on the context.
经常发生的情况是:我们打开了一个连接,执行了所需要的数据库操作,但是我们没有显示的关闭连接。
At times what happens is, we open the connection, performs the desired database operation, but we do not close the connection explicitly.
最后一个事件将会发生于每一个控件之上,然后,一直到结束.这时,所有的控件将会输出流并且不能够再被改变.在这个事件中,任何试图访问应答流的方法将都会出现错误.这个事件主要被用来清除善后工作,比如说数据库连接,打开的文件流,事件日志,或者其他的任务等等.
At this point, all controls have been rendered to the output stream and cannot be changed. During this event any attempt to access the response stream will result in an exception being thrown.
打开此连接时,登录对话框将要求您输入此用户名才可访问数据库。
When you open this connection, the logon dialog box will require that you enter this user name to access the database.
打开此连接时,登录对话框将要求您输入此用户名才可访问数据库。
When you open this connection, the logon dialog box will require that you enter this user name to access the database.
应用推荐