You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Mauro Flores <ma...@procergs.rs.gov.br> on 2009/12/29 22:20:57 UTC
Comparing different types - TO_CHAR
I would like to make a where clause comparing two properties from different
entities, but those properties for some unexplainable reason were created
with different types. Is there a jpa function to convert the type of a
property in jpql statement? Like: "... where a.prop_alf =
toChar(b.prop_num)"
Tks. Mauro
--
View this message in context: http://n2.nabble.com/Comparing-different-types-TO-CHAR-tp4229567p4229567.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.