db-ojb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Colantoni <alessandro.colant...@gmail.com>
Subject java.lang.NoSuchMethodError on criteria.addLike
Date Thu, 02 Jun 2005 06:49:37 GMT
I'm trying to use the ojb implementation of PropertySet (a framework of 
opensymphony.com <http://opensymphony.com>)
There is a piece of code
  
Criteria critere = new Criteria();
critere.addEqualTo("globalKey", globalKey);
critere.addLike("itemKey", key);

When executing the line critere.addLike("itemKey", key) I get the following 
error
java.lang.NoSuchMethodError:
org.apache.ojb.broker.query.Criteria.addLike(Ljava/lang/String;Ljava/lang/Objec
t;)
 I'm using db-ojb-1.0.1 with jakarta-tomcat-5.5.0 and jdk1.5.0_02
Could be a version problem??
thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message