[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-2446) build failed, compilation error

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Mon Feb 26 02:02:31 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2446?page=all ]
     
Max Rydahl Andersen closed HHH-2446:
------------------------------------

    Resolution: Duplicate

we cant compile under jdk 6 because they changed jdbc interfaces . already exist as an issue.
note that compiling under jdk 5 and running on jdk 6 works fine afaik.

> build failed, compilation error
> -------------------------------
>
>          Key: HHH-2446
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2446
>      Project: Hibernate3
>         Type: Bug

>   Components: build
>     Versions: 3.2.2
>  Environment: version 3.2.2, January 24, 2007, jdk1.6
>     Reporter: Jen Zhang

>
>
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> C:\>echo %PATH%
> C:\Program Files\Java\jdk1.6.0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys
> tem32\Wbem;C:\Program Files\QuickTime\QTSystem\
> build.bat
> java -cp "lib/ant-launcher-1.6.5.jar" org.apache.tools.ant.launch.Launc
> her -lib lib
> Buildfile: build.xml
>   [taskdef] Could not load definitions from resource clovertasks. It could not b
> e found.
> splash:
> init:
>      [echo] Build Hibernate-3.2.2.ga (2007-02-25 02:59:50)
>      [echo] JDK version: 1.5
> init.antlr:
> antlr:
> compile:
>     [javac] Compiling 1055 source files to C:\Documents and Settings\Yan\My Docu
> ments\My Downloads\hibernate-3.2.2.ga\hibernate-3.2\build\classes
>     [javac] C:\Documents and Settings\Yan\My Documents\My Downloads\hibernate-3.
> 2.2.ga\hibernate-3.2\src\org\hibernate\jdbc\ResultSetWrapper.java:30: org.hibern
> ate.jdbc.ResultSetWrapper is not abstract and does not override abstract method
> updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
>     [javac] public class ResultSetWrapper implements ResultSet {
>     [javac]        ^
>     [javac] C:\Documents and Settings\Yan\My Documents\My Downloads\hibernate-3.
> 2.2.ga\hibernate-3.2\src\org\hibernate\lob\BlobImpl.java:16: org.hibernate.lob.B
> lobImpl is not abstract and does not override abstract method getBinaryStream(lo
> ng,long) in java.sql.Blob
>     [javac] public class BlobImpl implements Blob {
>     [javac]        ^
>     [javac] C:\Documents and Settings\Yan\My Documents\My Downloads\hibernate-3.
> 2.2.ga\hibernate-3.2\src\org\hibernate\lob\ClobImpl.java:18: org.hibernate.lob.C
> lobImpl is not abstract and does not override abstract method getCharacterStream
> (long,long) in java.sql.Clob
>     [javac] public class ClobImpl implements Clob {
>     [javac]        ^
>     [javac] C:\Documents and Settings\Yan\My Documents\My Downloads\hibernate-3.
> 2.2.ga\hibernate-3.2\src\org\hibernate\lob\SerializableBlob.java:13: org.hiberna
> te.lob.SerializableBlob is not abstract and does not override abstract method ge
> tBinaryStream(long,long) in java.sql.Blob
>     [javac] public class SerializableBlob implements Serializable, Blob {
>     [javac]        ^
>     [javac] C:\Documents and Settings\Yan\My Documents\My Downloads\hibernate-3.
> 2.2.ga\hibernate-3.2\src\org\hibernate\lob\SerializableClob.java:15: org.hiberna
> te.lob.SerializableClob is not abstract and does not override abstract method ge
> tCharacterStream(long,long) in java.sql.Clob
>     [javac] public class SerializableClob implements Serializable, Clob {
>     [javac]        ^
>     [javac] 5 errors
> BUILD FAILED
> C:\Documents and Settings\Yan\My Documents\My Downloads\hibernate-3.2.2.ga\hiber
> nate-3.2\build.xml:209: Compile failed; see the compiler error output for detail
> s.
> Total time: 24 seconds
> Thanks!!!
> Jen

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list