From: Gavin_King/Cirrus%<CI...@ci...> - 2002-06-20 00:55:03
|
Actually, stuff $1, $2, etc. One of the things we could do if we had a Query interface would be to allow proper named identifiers. eg. session.prepareQuery("from foo in class Foo where foo.name = $name"); q.setParameter("name", fooName, Hibernate.STRING); q.setMaxResultSize(50); List results = q.getResultList(); Thats really nice, I think.... |