What's the datatype for the cmp-field optimization ? You'll have to use a parameter of the corresponding java type as the parameter for the query. But probably you want to use relations here. OptimizationDynamicParameter and OptimizationStaticParameter referencing Optimization. Then your query's where clause will look like 'odb.optimization.name = ?1"
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3889339#3889339 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3889339 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
