I seem to have a Problem with the Criteria-API...
I have mapped a simple class to a table and try to select it via the Criteria-API:
Code:
List users = DBSess.createCriteria(UserBean.class).add(Restrictions.eq("username", uname)).list();
The list I receive does contain the correct number of entries, but every single one of them is null.
I've put together a simple test to use from the command line that demonstrates the Problem and uploaded it to:
http://satansoft.de/hibernate/hibernate.tgz
I did search google and these forums but to no avail - maybe I didn't use the right keywords?
thanks in advance
nsn