Hello
ÂÂÂÂÂÂÂÂI have bean with table propeties (web or swing form field) and I want 
next seach :

- if property is null no seach for this property
- if property is not null create query for value of property (where clause in table)
- if value property btw 'TH%' or 'TH_' (value with character %, _ ..) then use LIKE 
clause
- if value is '>xxx' query is "where prop > 'xxx' " 
etc

I want search like 
 List list = dao.search(BeanClass.class)

I can make query for any class easy, but I want this for every class

My goal is that user populate bean and with search button find rows with populated 
field

Is it possible ?

regards


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to