[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Proper location of SqlResultSetMapping
vanyatka
do-not-reply at jboss.com
Wed Jan 28 10:36:36 EST 2009
Hi,
I wonder what should be the location of @SqlResultSetMapping(
| name = "kladrRS",
| columns = {
| @ColumnResult(name = "name"),
| @ColumnResult(name = "socr"),
| @ColumnResult(name = "code")
| }
| )
annotation, so that JPA would find it? In case I put it to one of the Entities JPA founds it all right, but logically it belongs to some "action" class which doesn't have @Entity annotation.
Can anyone suggest where should I put this annotation and how can I make JPA find it?
Thanks a lot,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205287#4205287
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205287
More information about the jboss-user
mailing list