Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2002
    Posts
    1

    Unanswered: Using PostgreSQL extensions to the JDBC API

    I am trying to convert Oracle stored procedures to PostgreSQL. According to the PostgreSQL documentation, I should use PostgreSQL extensions to the JDBC API, so I can add my own functions to the backend. In chapter 8.7 of the Programmers Manual, it shows how to access these extensions, like so:
    Code:
    import org.postgresql.fastpath.*;
    ...
    Fastpath fp = ((org.postgresql.Connection)myconn).getFastpathAPI();
    When I try to compile this, it complains about not knowing about the Connection class. The import must work because if I comment it out, it complains about the Fastpath type being undefined.

    My questions are:
    - Are using the PostgreSQL extensions to the JDBC API the best (easiest) way to convert Oracle stored procedures to PostgreSQL?
    - If so, how can I fix this compile error.

    Thanks in advance,
    Bob

  2. #2
    Join Date
    Sep 2001
    Location
    Vienna
    Posts
    400

    jdbc

    Does not say anything to me

    Maybe you post in in usenet in the jdbc-postgresql-group

    But there is a pg/j in development
    http://www.postgresql.org
    --Postgresql is the only kind of thing--

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •