Feature enquiry in pgsql driver.

From: Anil Jangam <anilj(at)indts(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Feature enquiry in pgsql driver.
Date: 2002-01-08 04:38:58
Message-ID: F73B646FCC01D5118F530002B32C337263B29C@INDTS_FS
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

I am facing the follwoing problem while using the postgreSQL database with
the VBSF maptool. This tool needs the information about the FK and PK
relationships defined in the databse so that it can be mapped to the
corresponding object (class attributes).

While converting the java code from the relation data schema, the relational
information is not being converted to the corresponding object relations. I
have checked it with the maptool developer mailing list, and have received
the follwoing response.

**********************************

REFERENCE and REFERENCE COLLECTION attributes are generated if the 'Generate
REFERENCE attributes' and 'Generate REFERENCE COLLECTION attributes' options
are checked in the configuration 'DB Generation Options panel'. For details
please see:

http://www.objectmatter.com/vbsf/docs/maptool/toolconfigs.html#DBGenerationO
ptionsPanel

If these options are checked and no REFERENCE and REFERENCE COLLECTION
attributes are generated, then your JDBC driver is not able to provide the
required information to the mapping tool. More specifically, your JDBC
driver should return the appropriate information from the following JDBC
calls:

DatabaseMetaData.getExportedKeys(catalogName, schemaName, tableName)
DatabaseMetaData.getImportedKeys(catalogName, schemaName, tableName)

Please check with the driver manufacturer.

**********************************

Kindly update me wether the current driver version (jdbc7.1-1.2) supports
this features??

regds,
-anil.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-01-08 12:28:22 Re: Feature enquiry in pgsql driver.
Previous Message Dave Cramer 2002-01-08 03:20:58 Re: bytea column support (Postgresql 7.1.3)