Sunday 15 May 2011

java - Validating HQL query without executing it -



java - Validating HQL query without executing it -

a user stores hql db. later, query executed this:

org.hibernate.query query query = sessionfactory.currentsession.createquery(sqlquery) list rowsselected = query.list()

is there way validate user input hql?

java hibernate hql

No comments:

Post a Comment