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....



-------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                   >>>     http://thinkgeek.com/sf    <<<

_______________________________________________
Hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to