Postgresql JBoss日志Postgres驱动程序是;“不符合JDBC标准”;

Postgresql JBoss日志Postgres驱动程序是;“不符合JDBC标准”;,postgresql,jdbc,jboss,Postgresql,Jdbc,Jboss,我将我的JBoss服务器连接到一个新的Postgres数据库中 在standalone.xml中: <driver name="postgresql" module="com.postgresql.pgjdbc"> <driver-class>org.postgresql.Driver</driver-class> </driver> 司机似乎确实连接和工作。这种不合规行为会产生什么影响?根据JBoss论坛条目无: 因为org.postg

我将我的
JBoss
服务器连接到一个新的
Postgres
数据库中

在standalone.xml中:

<driver name="postgresql" module="com.postgresql.pgjdbc">
    <driver-class>org.postgresql.Driver</driver-class>
</driver>

司机似乎确实连接和工作。这种不合规行为会产生什么影响?

根据JBoss论坛条目无:

因为
org.postgresql.Driver#jdbcompliant()
返回false。那么你呢 现在可以忽略这一点,我相信PostgreSQL JDBC的人 想要代码贡献吗

和源代码:

 /**
* Report whether the driver is a genuine JDBC compliant driver. A
* driver may only report "true" here if it passes the JDBC compliance
* tests, otherwise it is required to return false. JDBC compliance
* requires full support for the JDBC API and full support for SQL 92
* Entry Level.
*
* <p>For PostgreSQL, this is not yet possible, as we are not SQL92
* compliant (yet).
*/
public boolean jdbcCompliant()
{
    return false;
}
/**
*报告该驱动程序是否为符合JDBC标准的正版驱动程序。A.
*如果驱动程序通过JDBC合规性测试,则只能在此处报告“true”
*测试,否则需要返回false。JDBC遵从性
*需要对JDBC API的完全支持和对SQL 92的完全支持
*入门级。
*
*对于PostgreSQL,这还不可能,因为我们不是SQL92
*顺从(尚未)。
*/
公共布尔jdbcCompliant()
{
返回false;
}

这是待办事项列表的一部分

10:49:57,206 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 25) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.3)
 /**
* Report whether the driver is a genuine JDBC compliant driver. A
* driver may only report "true" here if it passes the JDBC compliance
* tests, otherwise it is required to return false. JDBC compliance
* requires full support for the JDBC API and full support for SQL 92
* Entry Level.
*
* <p>For PostgreSQL, this is not yet possible, as we are not SQL92
* compliant (yet).
*/
public boolean jdbcCompliant()
{
    return false;
}