Re: JDBC driver compilation error
| От | Kris Jurka |
|---|---|
| Тема | Re: JDBC driver compilation error |
| Дата | |
| Msg-id | Pine.LNX.4.33.0307171259150.30177-100000@leary.csoft.net обсуждение исходный текст |
| Ответ на | Re: JDBC driver compilation error (Kim Ho <kho@redhat.com>) |
| Список | pgsql-jdbc |
On 17 Jul 2003, Kim Ho wrote: > You are running jdk 1.3.1? > > Try upgrading to 1.4.1 if possible. Upgrading is not a reasonable answer. Anything in the jdbc1 directory must be compilable by the 1.1 jdk. Anything in the jdbc2 directory must be compilable by the 1.2 and 1.3 jdk. Only the jdbc3 directory can require the 1.4 jdk. Kris Jurka > > On Thu, 2003-07-17 at 09:16, Arun Desai wrote: > > Hi, > > I am using Postgresql 7.3.3 version. I have a Java application that talks to the database using JDBC. I wanted touse CallableStatement for functions that return refcursor. Since 7.3.3 jdbc driver does not support this feature (ofcourseI know it supports CallableStatement but not for invoking functions that return Refcursor), I had to get the latestJDBC sources from the CVS web and compile the driver. I am getting the following compilation errors. Can anyone pleaselet me know how to get rid off them? > > > > > > [javac] symbol : method getOffset (long) > > [javac] location: class java.util.TimeZone > > [javac] localoffset = java.util.Calendar.getInstance().getTimeZone().getOffset(millis); > > [javac] ^ > > [javac] /root/postgresql-7.3.3/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java:2104: cannotresolve > > symbol > > [javac] symbol : method getOffset (long) > > [javac] location: class java.util.TimeZone > > [javac] localoffset = java.util.Calendar.getInstance().getTimeZone().getOffset(millis); > > [javac] ^ > > [javac] /root/postgresql-7.3.3/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java:2149: cannotresolve > > symbol > > [javac] symbol : method getOffset (long) > > [javac] location: class java.util.TimeZone > > [javac] localoffset = java.util.Calendar.getInstance().getTimeZone().getOffset(millis); > > [javac] ^ > > [javac] Note: Some input files use or override a deprecated API. > > [javac] Note: Recompile with -deprecation for details. > > [javac] 3 errors > > > > > > > > > > Thanks and Regards, > > Arun Desai. > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster >
В списке pgsql-jdbc по дате отправления: