Furthermore, if the service isn't available (there isn't a database, or the database has been temporarily stopped), then this method returns null to indicate that no such service is available.
此外,如果服务不可用(数据库不存在,或数据库临时停掉了),那么这个方法会返回null以说明该服务不可用。
If this function returns NULL, no exception has been raised and the caller should assume no current thread state is available.
如果这个函数返回NULL,没有抛出异常,调用者会假定当前线程状态无效。
应用推荐