Folks,
I have a bean that specifies in its JAWS file some fields, the
table-name (usertable) and the ejb-name (user). However, when
this bean is deployed the log file tells me a table with the name
"user" (that is the ejb-name!) is created (and dropped?).
When I execute the create method as follows: User us = (User)
PortableRemoteObject.narrow(getUserHome().create(getNextId("usertable","userid"),login,password,lastName,firstName,mInitial),User.class);
where "usertable" is the table name I get a Table not found
exception ("Table not found: USERTABLE in statement ...")
What am I doing wrong?
Best regards,
John-Luc
Piece of the log file that makes me think a table with the wrong
name is created:
JDBCCommand] Init SQL: CREATE TABLE user (passwd
VARCHAR(256),login VARCHAR(256),lastName VARCHAR(256),userId
VARCHAR(256),firstName VARCHAR(256),middleInitial VARCHAR(256))
JDBCCommand] Destroy SQL: DROP TABLE user
JDBCCommand] Exists SQL: SELECT COUNT(*) FROM user WHERE userId=?
Corresponding entries in JAWS file:
<ejb-name>user</ejb-name>
<table-name>usertable</table-name>
<!-- <create-table>false</create-table> -->
<cmp-field>
<field-name>userId</field-name>
<column-name>userid</column-name>
</cmp-field>
etc.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user