I am trying to migrate code from hibernate 2 to hibernate 3.0 and our application is using many session.find(String query, String[] values, NulllableType[] types)
I want avoid writing too may session.createQuery ( query) as the queries are many
I suppose you could wrap your session instances within a customized class with a find function which uses createQuery, but it may be better (from a standard point of view) to simply bite the bullet and rewrite all of the queries.
Hope this helps.
[url]http://FrancoisNadeau.com[/url]
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: migrating code from hibernate 2 to hibernate 3.0