我想按照相同的条件返回行我在数据库中有此条件的5条记录,但此代码不返回,抛出异常 org.hibernate.MappingException:没有JDBC类型的Dialect映射:3
Query selectTxnList = session.createSQLQuery("select * from TxnList where txnRecNo in (select txnRecNo from TxnAdditionalInsured where clientName like :clientName)");
selectTxnList.setParameter("clientName", "%" + istHelper.getAdditionalInsured() + "%");
List list = selectTxnList.list();