以下代码连接编目数据库。
然后,代码连接到数据库并检索数据。
The code then connects to the database and retrieves the data.
此代码连接5'000个长度为35的字符串。
它所做的全部工作就是以尽可能少的忙乱将Web服务器与您的Python代码连接。
All it does is connect the Web server to your Python code with as little fuss as possible.
您也许注意到到了,这段代码连接到一个名为census 的ODBC数据源。
You may notice that this code connects to an ODBC data source named census.
在安装Derby数据库软件之后,可以使用本文附带的示例代码连接Derby数据库,见清单1。
After you have the Derby database software installed, you can use the sample code available with this article to connect to a Derby database, as shown in Listing 1.
它用了三条语句、不足20行的代码连接到了数据库,从表中选定了每一行,并将数据作为xml导出。
In three statements and fewer than 20 lines of code, it connects to the database, selects every row from the table, and exports the data as XML.
研究了在一个已建成的文献数据库的基础上用出版物组合代码连接扩展贴补引文索引的方法。
Based on the CCDOC bibliographic database, a method linking citation data to this database through the combined codes between publication, year, page, volume and number is studied.
为了说明StAXAPI的用法,我将展示如何使用XMLBeans生成的代码连接到AXIOM。
To illustrate the use of the StAX API, I'll show you how to connect AXIOM with XMLBeans generated code.
此代码连接到Active MQ服务器的61613端口,并发送一个很短的文本消息(“Hello,world”)。
The code attaches to the ActiveMQ server on port 61613 and sends a small text message (" Hello, world ").
清单15中的输出显示了一个简单的ODBC客户端代码,该代码连接到一个给定的DSN,并选择systables目录表中的前3行。
The output in Listing 15 shows a simple ODBC client code which connects to a given DSN, and selects the first three rows from the systables catalog table.
和前面一样,该代码首先连接到队列管理器,并打开队列句柄,但这次是为了使用缺省队列定义接收消息。
As before, the code begins by connecting to the queue manager and opening the queue handle, but this time for retrieving messages using the default queue definition.
甚至在编写任何门户代码或者将其连接到后台基础设施之前即开始压力测试。
Begin stress testing even before you have any portal code written or have connected it to backend infrastructure.
二进制安装总的来说比源码安装要简单。因为它们不需要源模块,也不需要花费计算机资源编译及连接代码。
Binary installations, in general, are easier than source installations, because they don't require source modules and spending computer resources compiling and linking the code.
注意,这个示例中没有征用当前事务中jdbc连接的代码—容器会为我们完成这个任务。
Notice that there is no code in this example to enlist the JDBC connections in the current transaction — the container does this for us.
SQLJ可以通过在编译时使用数据库连接,对代码执行语法和语义上的检查。
SQLJ can perform syntactic and semantic checking on the code, using database connections at compile time.
实际上可以将处理数据源配置和连接的代码打包成一个工具类(留给读者作为练习)。
In fact, you might want to bundle up the code you write to handle data source configuration and connection into a utility class (that's left for you as an exercise).
与动态库不同,在编译应用程序时对静态库的目标代码进行连接,并且因此成为该应用程序的一部分。
The object code of static libraries, as opposed to dynamic link libraries, is linked when the application compiles and, as such, becomes a part of the application.
在可行的地方,它可以连接到核心代码和其他平台中。
It is ported back into core code and other platforms, where feasible.
所有通用的连接代码都已经转移到父类中了。
All the generic, boilerplate connectivity code has moved into the parent class.
连接代码隐藏在应用程序中,因此无法被重用。
The connectivity code is buried in the applications, so it can't be reused.
依我看,它提供了一个连接池把传入代码包装在纤程当中,等到连接可用的时候再恢复纤程。
As I see, it allows to pass code wrapped in Fibers to a pool of connections, which then resumes the Fibers as connections become available.
有了建模工具的支持,您就可以自动生成构件与所有需要的构建文件之间的连接代码,以集合构件。
With support from the modeling tool you can automatically generate the glue code between the components and all the necessary build files to assemble the component.
事件气泡技巧可用于断开小组件的视图结构与控制器代码之间的连接。
The event bubbling technique provides the ability to disconnect the view structure of the widget from the controller code.
它同时(利用可视化工具)还产生了对于模型生成代码的直接连接。
It also provides a direct link to modeling of the generated code (using visualization tools).
这样可简化连接两端的代码,但会导致同时打开多个连接。
This makes the code at either end of the connection simpler — although it does cause more connections to be open at once.
在执行时,当建立数据库连接时,确定用户应用程序代码页,而且它只在连接期间有效。
At execution time, the user application code page is established when a database connection is made, and it is in effect for the duration of the connection.
在这种情况下,需要用定制代码建立连接,而且一旦服务交互的方式改变,还必须对连接重新编码。
In that case, you then need to custom-code the connections — and if the ways in which services interact change, you must then re-code the connections.
最后的结果就是现在我们用报告服务可以连接代码,特性计划和缺陷跟踪。
The upshot of this is that we now can strong linkage between code, feature planning, and bug tracking, all with reporting services that are just far and away the best that I've ever seen.
可以自由地添加连接器代码需要的任意数量的类,这些类应该打包进连接器eJB中。
You are certainly free to include any number of other classes that your connector code requires, which you should package into the connector EJB accordingly.
应用推荐