You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by SreeAsh <sr...@fs.mphasis.com> on 2010/06/11 06:34:01 UTC

How to give column alias name in openJPA



Hi All,


   How to give alias names in SELECT clause in OPENJPA in Create query.

 Exa: em.createQuery("SELECT dummy.id as id From dummyTable dummy");

 
 If i give above example throwing error.....



regards
Srini
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/How-to-give-column-alias-name-in-openJPA-tp5166475p5166475.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.