I do have similar problem where ejbname used for querying instead of Table
name
example ACTIVEUSERSENTITYBEAN is my ejb name and my table name is ACTUSERS
but at the runtime Glassfish-2 is considering ACTIVEUSERSENTITYBEAN as a
Table name for Querying
like
insert into "ACTIVEUSERSENTITYBEAN"("ID", "DATE", "STATUS") values ( ?,
?, ?).
any help is much appreciated
glassfish-2 wrote:
>
> Hi,
>
> When I deploy a CMP Bean with ejb-name and table name as different in
> sun-cmp-mappings.xml. While executing the query for findByPrimaryKey or
> create it is taking the ejb-name as table name not the table-name as table
> name in query.
>
> Is it a configuration problem anywhere.
> Please help me out.
> [Message sent by forum member 'vinaykumarm' (vinaykumarm)]
>
> http://forums.java.net/jive/thread.jspa?messageID=324211
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
--
View this message in context: http://www.nabble.com/Table-name-is-taking-as-entity-bean-name-not-the-table-name.-tp21304621p21309885.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.