Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
public java.sql.Connection getConnection( ) throws java.sql.SQLException
将现有 MobiLink 统一数据库连接作为 JDBC 连接返回。该连接与 MobiLink 执行此同步的 SQL 脚本时使用的连接相同。
切勿以任何将会影响 MobiLink 服务使用该连接的方式来提交、关闭或变更该连接。返回的连接仅在基础 MobiLink 连接生存期内有效。在为连接调用了 end_connection 事件之后,不要再使用该连接。
如果将现有连接作为 JDBC 连接捆绑时出错,则会抛出 java.sql.SQLException。
如果需要具有完全访问权限的服务器连接,请使用 ServerContext.makeConnection()。
作为 JDBC 连接的现有 MobiLink 统一数据库连接。
请参见DBConnectionContext 接口。