Re: get Exported/Imported Keys() doesn't work with JDBC-ODBC

From: Daniel Hagen (dhagen_at_h1-software.de)
Date: 07/15/04


Date: Thu, 15 Jul 2004 16:16:34 +0200

Leny wrote:
> Hi,
>
> I'm using the JDBC-ODBC bridge to access an Access database. Now I face the
> problem of building a graph of the database relationships.
>
> The problem: getExportedKeys() and getImportedKeys() don't work. I don't
> know if is there any workaround for this, but so far I was unable to solve
> it.
>
> Do you know any other (free) driver for the Access database or any way to
> get a graph of the relationships ? Right now only two things came to my
> mind: migrate to MySQL and create the relationships there (something
> impossible in this stage of the development) or write something in VBA in
> Access (that I would like to avoid).
>
> So, if anyone could bring some light here, it'd be *really* welcome.
>
> Thanks in advance,
>
> - Leny

You could create a view on the MSYSRELATIONSHIPS-Table, something like:

SELECT MSYSRELATIONSHIPS.szObject, MSYSRELATIONSHIPS.szColumn,
MSYSRELATIONSHIPS.szReferencedObject, MSYSRELATIONSHIPS.szReferencedColumn
FROM MSYSRELATIONSHIPS

But you really should consider moving away from MS Access with your
application even if it might be expensive for you right now.
The combination Java/JDBC-ODBC/MS-Access is very problematic in many
ways, I learned that the hard way.

Flee while you still can.

Regards

Daniel



Relevant Pages

  • get Exported/Imported Keys() doesnt work with JDBC-ODBC
    ... problem of building a graph of the database relationships. ... know if is there any workaround for this, but so far I was unable to solve ... Access (that I would like to avoid). ...
    (comp.lang.java.databases)
  • Re: Capture Graph with VMR9 in Windowless mode
    ... graph and re-start capturing. ... Thanks for posting your workaround. ... graph was unloaded and reloaded. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: I cant edit the graph .
    ... Can you please try the workaround at ... Intel-based Mac? ... I am having a problem with my microsoft graph. ... So I can't edit the graph. ...
    (microsoft.public.mac.office.powerpoint)
  • Re: Building Math Graphs in Excel
    ... As a workaround, perhaps you could just Delete the cell that has the =1/0 ... possible to plot it as two separate curves on the same graph? ... RussianBoy's Profile: ...
    (microsoft.public.excel)
  • IFileSinkFilter bug - wont close file???
    ... I then stop the graph and call IFileSinkFilter's ... SetFileName() function to record a different file, ... to open file #1 ... ... importantly anyone have a workaround? ...
    (microsoft.public.win32.programmer.directx.video)