db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raffaele Ragni" <raffaele.ra...@cone.it>
Subject ambiguous functions?
Date Wed, 11 Dec 2002 16:35:39 GMT
Hi to all, i am getting this error when i use Criteria class in this way, i wondered if any
of you had this one before?


reference to add is ambiguous, both method add(java.lang.String,java.lang.Object,org.apache.torque.util.SqlEnum)
in org.apache.torque.util.Criteria and method add(java.lang.String,java.lang.String,java.lang.Object)
in org.apache.torque.util.Criteria match

>crit.add( ForumPostsPeer.TITLE, "%"+lkeywords[i]+"%", Criteria.LIKE );



- Raffaele Ragni

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