Prime faces auto complete fail when using hibernate template
I'm using primes faces as a view technology with webflow.
I'm trying to use autocomplete feature... such as
searchCriteria is a flowScope bean and should stay this way.
The complete() method is delegating the query to a @Service injected by Spring. This service uses an hibernate template to perform the query.
Fortunately HibernateTemplate is not serializable as well as SessionFactory etc. hence, when displaying my search page I get NotSerializableException...
How can I bypass webflow serialization ? When I use my searchCriteria bean in a session scope (out of webflow's serialization mechanism) it works fine of course but this is not the scope I want to use...