这里会创建两个数据库连接,一个名为“YourName”, 另一个没有指定名称,称之为默认连接(Default Connection)[注意:默认数据库连接的名称不一定是空的,可以通过database().connectionName()来得到默认数据库连接的名称]。
基于16个网页-相关网页
Can (optionally) set the default connection behavior for the Access Server.
(可选)可以为Access Server设置默认的连接行为。
Things to note about this method are the use of the default connection and setting the autocommit mode to false.
对于这个方法,需要注意默认连接的使用,还要将自动提交模式设为false。
The default connection type for this client is SOAP on port 8879. Changing this port is also a two-step process.
此客户机缺省连接类型是端口8879上的SOAP。
应用推荐