db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Nitz ...@ukr.net>
Subject Re: build failed in org.apache.ojb.otm.connector.OTMJCAConnection
Date Sun, 14 Sep 2003 11:57:11 GMT
Hi Antonio,

Please do cvs update once more, the errors are already fixed,
I am sorry for making these troubles.

Regrads,
 Oleg

On Sunday 14 September 2003 01:47, Antonio Gallardo wrote:
> Hi:
>
> now there are 2 errors, see:
>
> 1-org.apache.ojb.otm.connector.OTMJCAConnection is not abstract and does
> not override abstract method
> getCollectionByQuery(org.apache.ojb.broker.query.Query) in
> org.apache.ojb.otm.OTMConnection
>
> 2-getIteratorByOQLQuery(org.odmg.OQLQuery) in
> org.apache.ojb.otm.OTMConnection cannot be applied to
> (org.apache.ojb.odmg.oql.EnhancedOQLQuery,int)
>
> Please note I am building using:
>
> bin/build.sh with-jdori jar
>
> What I am doing wrong?
>
> Here is the output:
>
> [javac]
> /db-ojb/target/srcjca/org/apache/ojb/otm/connector/OTMJCAConnection.java:79
>: org.apache.ojb.otm.connector.OTMJCAConnection is not abstract and does not
> override abstract method
> getCollectionByQuery(org.apache.ojb.broker.query.Query) in
> org.apache.ojb.otm.OTMConnection
>     [javac] public class OTMJCAConnection implements OTMConnection
>     [javac]        ^
>     [javac]
> /db-ojb/target/srcjca/org/apache/ojb/otm/connector/OTMJCAConnection.java:14
>6: getIteratorByOQLQuery(org.odmg.OQLQuery) in
> org.apache.ojb.otm.OTMConnection cannot be applied to
> (org.apache.ojb.odmg.oql.EnhancedOQLQuery,int)
>     [javac]             return
> m_managedConnection.getConnection().getIteratorByOQLQuery(query,
> lock);
>     [javac]                                                         ^
>     [javac] 2 errors
>
> Antonio Gallardo dijo:
> > Hi:
> >
> > I recently update ojb, after a build clean, I run:
> >
> >
> > bin/build.sh with-jdori jar
> >
> > and here is the error:
> >
> > main-opt:
> >     [javac] Compiling 585 source files to /db-ojb/target/classes
> >     [javac] Note:
> > /db-ojb/target/src/org/apache/ojb/broker/accesslayer/SQLCachingStatements
> >ForClass.java uses or overrides a deprecated API.
> >     [javac] Note: Recompile with -deprecation for details.
> >     [javac] Compiling 232 source files to /db-ojb/target/classestest
> > [javac] Compiling 10 source files to /db-ojb/target/classesjca
> > [javac]
> > /db-ojb/target/srcjca/org/apache/ojb/otm/connector/OTMJCAConnection.java:
> >79: org.apache.ojb.otm.connector.OTMJCAConnection is not abstract and does
> > not override abstract method
> > getIteratorByOQLQuery(org.odmg.OQLQuery,int) in
> > org.apache.ojb.otm.OTMConnection
> >     [javac] public class OTMJCAConnection implements OTMConnection
> > [javac]        ^
> >     [javac] 1 error
> >
> > BUILD FAILED
> > file:/db-ojb/build.xml:260: Compile failed; see the compiler error
> > output for details.
> >
> >
> > Best Regards,
> >
> > Antonio Gallardo
> >
> >
> >
> > --------------------------------------------------------------------- To
> > unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> > For additional commands, e-mail: ojb-dev-help@db.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message