Joined: Tue Mar 22, 2005 5:43 pm Posts: 16 Location: Teksouth
|
Hibernate version:3.1.1
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:MySQL 4.1
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Just changing to hibernate version 3.1.1 from 2.1. Can anyone tell me what's the replacement for expression.EqExpression and the syntax on how to use it?
my current code is as follows:
Object result = session.createCriteria(PackageFile.class).add(new EqExpression(ATTRIBUTE_GUID, guid, false)).uniqueResult();
Thank you
|
|