| 
					
						 Hibernate version:2.1.6 
 
 Hi, I am looking for an example of a dynamic query.
 
 let say I have a map containing : 
   String field-name,   Object  field-value.
 
 I need to pass to the query :
   1) query string  --> no problem  "where field-name = ? "
   2) object array  --> i can assemble that from a vector of objects
   3) Hibernate Types Array --->  how do I assemble that ??? 
 
 must I translate from each type to Hibernate Type ? 
 for example if i have  java.lang.String I need to send Hibernate.STRING
 
 what is the proper way of doing that ???? 
					
  
						
					 |