What does the following warning message mean? It started showing up after I changed the query to use "and up.objTypeId in (:objTypeIds)" instead of "and up.objTypeId=:objTypeId".
WARN [2005-05-19 13:21:58,796] com.mchange.v2.c3p0.stmt.GooGooStatementCache.assimilateNewCheckedOutStatement(GooGooStatementCache.java:300)(GooGooStatementCache.java300): -------> Multiply prepared statement! select userprivil0_.id as col_0_0_ from know.userprivilege userprivil0_ where userprivil0_.unum=? and (userprivil0_.objType in (?)) and userprivil0_.priv=?
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
3.0.2
Mapping documents:
<query name="com.knowlist.list.hh.UserPrivilege.findByUnumObjType">
<![CDATA[
from com.knowlist.list.hh.UserPrivilege up
where
up.unum=:unum
and up.objTypeId in (:objTypeIds)
and up.privId=:privId
]]>
</query>