[Pljava-dev] ERROR: java.sql.SQLException: The url cannot be null

From: guyr at masergy(dot)com (Guy Rouillier)
To:
Subject: [Pljava-dev] ERROR: java.sql.SQLException: The url cannot be null
Date: 2006-02-28 05:50:40
Message-ID: CC1CF380F4D70844B01D45982E671B230137A73C@mtxexch01.add0.masergy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Joao Vieira wrote:
> I've installed postgre 8.1 with pl/java (default installation), and
> when i try to execute some function that call the database again, i
> got the message above.

PL/Java is used to write procedural code within the database, i.e.,
stored functions. JDBC is used by external applications to connect to
the database. One is independent of the other. Are you saying that
from within a Java stored function, you are trying to execute a JDBC
connect to connect to a different database? Show us the code you are
using to connect, and clarify where this code is running: in an external
application or from within a Java stored function.

--
Guy Rouillier

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Joao Vieira 2006-02-28 11:21:50 [Pljava-dev] ERROR: java.sql.SQLException: The url cannot benull
postgresql : [스포츠 Joao Vieira 2006-02-28 03:17:23 postgresql : [스포츠 토토 베트맨] 오류 : java.sql.sqlexception : URL은 null이