Обсуждение: Problem building JDBC with PG7.2.2

Поиск
Список
Период
Сортировка

Problem building JDBC with PG7.2.2

От
"Gordon Ross"
Дата:
Hi,

I'm trying to build postgresql 7.2.2 on Solaris 9 (Sparc). I'm having
problems with the JDBC driver. When it gets to building the driver, I
get (amongst other things)

compile:
    [javac] Compiling 53 source files to
/nms/src/postgresql-7.2.2/src/interfaces/jdbc/build
    [javac]
/nms/src/postgresql-7.2.2/src/interfaces/jdbc/org/postgresql/xa/XAConnectionImpl.java:57:
cannot resolve symbol
    [javac] symbol  : class RollbackException
    [javac] location: package transaction
    [javac] import javax.transaction.RollbackException;

Above this, I also get some deprecated messages from ant.

I'm using Solaris 9 on Sparc, with JDK 1.4.0_00-b05 and ant 1.5

Any ideas ?

Thanks,

GTG


Gordon Ross,
Network Manager/Rheolwr Rhydwaith
Countryside Council for Wales/Cyngor Cefn Gwlad Cymru

Re: Problem building JDBC with PG7.2.2

От
Peter Eisentraut
Дата:
Gordon Ross writes:

> I'm using Solaris 9 on Sparc, with JDK 1.4.0_00-b05 and ant 1.5

You can't use JDK 1.4 to compile the JDBC driver right now.  Use 1.3 or
less or use one of the precompiled drivers, or use the latest CVS source.
(Running on 1.4 will work though.)

--
Peter Eisentraut   peter_e@gmx.net