Error while compiling from source: PreparedStatement.setSQLXML(int, SQLXML)

44 views
Skip to first unread message

Alex

unread,
Oct 16, 2009, 10:10:28 AM10/16/09
to Ebean ORM
Hi,

I'm trying to compile ebean 2.1.0 from sources, but I got the
following problem:

Source from svn checkout https://ebeanorm.svn.sourceforge.net/svnroot/ebeanorm/ebean/tags/v2.1.0/

java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)

OS: Ubuntu 8.0.4 LTS

In Eclipse (Galileo) (with m2eclipse) I got:

ERROR:

folder: ebean-core/src/main/java/com/avaje/ebean/server/lib/sql
file: ExtendedPreparedStatement.java
line 46

The type ExtendedPreparedStatement must implement the inherited
abstract method PreparedStatement.setSQLXML(int, SQLXML)

Could someone give me a hand?

Thanks in Advance

alx


P.S. btw mvn compile did not work either, with:

cd ebean-parent
mvn compile

I got:

[checking com.avaje.ebean.server.lib.sql.ExtendedPreparedStatement]
/home/grespan/workspaces/fokus/ebean-parent/core/src/main/java/com/
avaje/ebean/s
erver/lib/sql/ExtendedPreparedStatement.java:[46,7]
com.avaje.ebean.server.lib.s
ql.ExtendedPreparedStatement is not abstract and does not override
abstract meth
od isPoolable() in java.sql.Statement

edge

unread,
Oct 16, 2009, 10:16:48 AM10/16/09
to Ebean ORM
Ebean only doesn't support JDK 1.6 yet. Sun made changes to some of
the JDBC interfaces/classes in 1.6
If you try compiling with jdk 1.5 it should not be a problem


On Oct 16, 4:10 pm, Alex <alxa...@googlemail.com> wrote:
> Hi,
>
> I'm trying to compile ebean 2.1.0 from sources, but I got the
> following problem:
>
> Source from svn checkouthttps://ebeanorm.svn.sourceforge.net/svnroot/ebeanorm/ebean/tags/v2.1.0/

Rob Bygrave

unread,
Oct 16, 2009, 3:35:22 PM10/16/09
to eb...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages