-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Problem to compailing in Windows XP to install.
PostPosted: Sun Jul 13, 2008 1:48 am 
Newbie

Joined: Fri Apr 07, 2006 11:34 pm
Posts: 2
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:3.2

C:\hibernate-3.2>build

C:\hibernate-3.2>java -cp "c:\arquivos de programas\java\jdk1.6.0_07\lib\ant-launcher.jar;c:\arquivos de programas\java\jre1.6.0_07\lib\tools.jar" org
.apache.tools.ant.launch.Launcher -lib lib
Buildfile: build.xml
[taskdef] Could not load definitions from resource clovertasks. It could not be found.

splash:

init:
[echo] Build Hibernate-3.2.6.ga (2008-07-13 02:44:01)
[echo] JDK version: 1.5

init.antlr:

antlr:

compile:
[javac] Compiling 294 source files to C:\hibernate-3.2\build\classes
[javac] C:\hibernate-3.2\src\org\hibernate\jdbc\ResultSetWrapper.java:30: org.hibernate.jdbc.ResultSetWrapper is not abstract and does not overrid
e abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
[javac] public class ResultSetWrapper implements ResultSet {
[javac] ^
[javac] C:\hibernate-3.2\src\org\hibernate\lob\BlobImpl.java:16: org.hibernate.lob.BlobImpl is not abstract and does not override abstract method
getBinaryStream(long,long) in java.sql.Blob
[javac] public class BlobImpl implements Blob {
[javac] ^
[javac] C:\hibernate-3.2\src\org\hibernate\lob\ClobImpl.java:18: org.hibernate.lob.ClobImpl 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:\hibernate-3.2\src\org\hibernate\lob\SerializableBlob.java:13: org.hibernate.lob.SerializableBlob is not abstract and does not override
abstract method getBinaryStream(long,long) in java.sql.Blob
[javac] public class SerializableBlob implements Serializable, Blob {
[javac] ^
[javac] C:\hibernate-3.2\src\org\hibernate\lob\SerializableClob.java:15: org.hibernate.lob.SerializableClob is not abstract and does not override
abstract method getCharacterStream(long,long) in java.sql.Clob
[javac] public class SerializableClob implements Serializable, Clob {
[javac] ^
[javac] 5 errors

BUILD FAILED
C:\hibernate-3.2\build.xml:212: Compile failed; see the compiler error output for details.

Total time: 16 seconds

C:\hibernate-3.2>

Please, somebody can help me?

Java SDK version 1.6.0_07

Tthank you very much.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 13, 2008 6:37 am 
Pro
Pro

Joined: Tue Jun 12, 2007 4:13 am
Posts: 209
Location: Berlin, Germany
As far as I know, you cannot compile Hibernate with JDK 1.6 because of the changes in JDBC. Hibernate uses the API of JDBC/JDK 1.5!

_________________
Carlo
-----------------------------------------------------------
please don't forget to rate if this post helped you


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 13, 2008 11:32 am 
Newbie

Joined: Fri Apr 07, 2006 11:34 pm
Posts: 2
So, I need re-install the jdk 1.5? Is it worth it? Must I wait a new version of Hibernate?

Thank you very much.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.