[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - enum columns in @NamedQuery

kosl do-not-reply at jboss.com
Sun Sep 30 19:52:34 EDT 2007

Dear All, 

I'm trying to write a simple select namedquery, one of the conditions is that a column representing enum value has to have a certain constant value. Is there any way to do that other then the one describedhttp://java.sun.com/mailers/techtips/enterprise/2006/TechTips_Oct06.html here?

wouldn't it be nicer to put the value directly into the query then to set it later?

Kind regards,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090062#4090062

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090062

More information about the jboss-user mailing list