logo       

Re: Compile Error on 7.1.3: msg#00129

Subject: Re: Compile Error on 7.1.3
James,

What I meant was get the latest source code from cvs and compile that.
This code will work with version 7.1.3

Dave
On Mon, 2002-04-22 at 12:51, James Kelty wrote:
> Considering that we are currently using a downloaded JDBC driver, and our
> connections are not closing, just sitting idle.
> This IS a problem for me. I don't understand what you mean by 'the code will
> work fine with postgres 7.1.3', because it
> isn't.
> 
> I DO have an incentive to fix a compile error from an old tarball:
> 
> 1.) postgres 7.1.3 is what is supported by our application
> 2.) Sun JDK 1.3.1_01 is supported by our application
> 
> Seems to me that this is reason enough. Not to mention I have had another
> post reply that apparently comiling the JDBC driver
> from the source fixed a problem that was similar to mine.
> 
> Also, just in case. I know that db pooling is the best way to run a Java/Wb
> app, but for testing reasons, we are not using it. We
> will be in production. There! That should do it, eh?
> 
> -James
> 
> 
> 
> -----Original Message-----
> From: Dave Cramer [mailto:Dave@xxxxxxxxxxxxxxxxxxxx]
> Sent: Monday, April 22, 2002 9:42 AM
> To: James Kelty
> Cc: pgsql-jdbc@xxxxxxxxxxxxxx
> Subject: Re: [JDBC] Compile Error on 7.1.3
> 
> 
> James,
> 
> The latest code will work fine with postgres 7.1.3, or get a compiled
> jar from the download site. There's no advantage to compiling it.
> 
> The current sources compile clean, and given the above, there's no real
> incentive to fix a compile error from an old tarball.
> 
> Dave
> 
> On Mon, 2002-04-22 at 12:28, James Kelty wrote:
> > Hello!
> >
> > Sorry if this post is REALLY stale. I looked around in Google, and the
> > pgsql-jdbc archives, but I couldn't find an
> > answer to my problem. Here is my system environment:
> >
> > RedHat      7.2
> > PostgreSQL  7.1.3
> > Sun JDK     1.3.1_01
> > Jakarta Ant 1.4.1
> >
> >
> > Here is the compile error I am getting...
> >
> > make[3]: Entering directory
> `/var/tmp/postgresql-7.1.3/src/interfaces/jdbc'
> > /usr/local/ant/bin//ant -buildfile
> >
> ../../../build.xml -Dmajor=7 -Dminor=1 -Dfullversion=7.1.3 -Ddef_pgport=5432
> > Buildfile: ../../../build.xml
> >
> > jar:
> >
> > call:
> >
> > prepare:
> >     [mkdir] Created dir:
> /var/tmp/postgresql-7.1.3/src/interfaces/jdbc/build
> >     [mkdir] Created dir:
> /var/tmp/postgresql-7.1.3/src/interfaces/jdbc/jars
> >
> > check_versions:
> >
> > driver:
> >      [copy] Copying 1 file to
> > /var/tmp/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql
> >      [echo] Configured build for the JDBC2 Enterprise edition driver.
> >
> > compile:
> >     [javac] Compiling 58 source files to
> > /var/tmp/postgresql-7.1.3/src/interfaces/jdbc/build
> >     [javac]
> >
> /var/tmp/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedS
> > tatement.java:32: org.postgresql.jdbc2.PreparedStatement should be
> declared
> > abstract; it does not define setArray(int,java.sql.Array) in
> > org.postgresql.jdbc2.PreparedStatement
> >     [javac] public class PreparedStatement extends Statement implements
> > java.sql.PreparedStatement
> >     [javac]        ^
> >     [javac]
> >
> /var/tmp/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql/jdbc2/CallableS
> > tatement.java:42: getArray(int) in org.postgresql.jdbc2.CallableStatement
> > cannot implement getArray(int) in java.sql.CallableStatement; attempting
> to
> > use incompatible return type
> >     [javac] found   : org.postgresql.jdbc2.Array
> >     [javac] required: java.sql.Array
> >     [javac] public class CallableStatement extends
> > org.postgresql.jdbc2.PreparedStatement implements
> java.sql.CallableStatement
> >     [javac]        ^
> >     [javac]
> >
> /var/tmp/postgresql-7.1.3/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet
> > .java:60: getArray(java.lang.String) in org.postgresql.jdbc2.ResultSet
> > cannot implement getArray(java.lang.String) in java.sql.ResultSet;
> > attempting to use incompatible return type
> >     [javac] found   : org.postgresql.jdbc2.Array
> >     [javac] required: java.sql.Array
> >     [javac] public class ResultSet extends org.postgresql.ResultSet
> > implements java.sql.ResultSet
> >     [javac]        ^
> >     [javac] Note: Some input files use or override a deprecated API.
> >     [javac] Note: Recompile with -deprecation for details.
> >     [javac] 3 errors
> >
> > BUILD FAILED
> >
> > /var/tmp/postgresql-7.1.3/src/interfaces/jdbc/build.xml:99: Compile
> failed,
> > messages should have been provided.
> >
> > Total time: 6 seconds
> > make[3]: *** [all] Error 1
> > make[3]: Leaving directory `/var/tmp/postgresql-7.1.3/src/interfaces/jdbc'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/var/tmp/postgresql-7.1.3/src/interfaces'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/var/tmp/postgresql-7.1.3/src'
> > make: *** [all] Error 2
> >
> >
> > Any and all help is very much welcome! Thank you!
> >
> > -James
> >
> > James Kelty
> > Sr. Unix Systems Administrator
> > Everbase Systems
> > 541.488.0801
> > jamesk@xxxxxxxxxxxx
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
> >
> >
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx
> 
> 



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe