首先,在偏好设置中添加第三方驱动程序后,添加新连接时没有针对PostgreSQL的选项卡(对于MySQL则正常工作)。我使用的是JDBC4版本9.1驱动程序,但我尝试了相同版本的JDBC3仍然无法解决问题。
其次,在添加新连接时没有类似手动配置的选项卡。最接近的是Oracle选项卡上的高级选项,我可以提供自定义URL,但它会因为所选驱动程序而失败(当然)。
最后,我通过从XML文件导入连接来连接,但它仅显示我的模式,并不显示其中的表格。
所以,我的问题是:Oracle SQL Developer支持PostgreSQL连接吗?是否有其他方式可以在ObjectViewer中显示我的表格?
<?xml version = '1.0' encoding = 'UTF-8'?>
<References xmlns="http://xmlns.oracle.com/adf/jndi">
<Reference name="Lumea" className="oracle.jdeveloper.db.adapter.DatabaseProvider" credentialStoreKey="Lumea" xmlns="">
<Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/>
<RefAddresses>
<StringRefAddr addrType="user">
<Contents>lumea</Contents>
</StringRefAddr>
<StringRefAddr addrType="subtype">
<Contents>thirdParty</Contents>
</StringRefAddr>
<StringRefAddr addrType="customUrl">
<Contents>jdbc:postgresql://localhost:5432/versates</Contents>
</StringRefAddr>
<StringRefAddr addrType="SavePassword">
<Contents>true</Contents>
</StringRefAddr>
<StringRefAddr addrType="password">
<Contents>myencryptedpass</Contents>
</StringRefAddr>
<StringRefAddr addrType="driver">
<Contents>org.postgresql.Driver</Contents>
</StringRefAddr>
<StringRefAddr addrType="DeployPassword">
<Contents>true</Contents>
</StringRefAddr>
</RefAddresses>
</Reference>
</References>
localhost/database?
。 - kinkajou