[jboss-user] [JBoss Tools] - rev eng table X in Seam Web project
Eric J. Van der Velden
do-not-reply at jboss.com
Fri Jun 3 17:07:10 EDT 2011
Eric J. Van der Velden [http://community.jboss.org/people/ericjvandervelden] created the discussion
"rev eng table X in Seam Web project"
To view the discussion, visit: http://community.jboss.org/message/608564#608564
--------------------------------------------------------------
Hello,
I use JBoss Tools 3.6.2.
I created a table called 'X' in a MySQL database, with a column named 'id'. Then I created a Seam Web project. I used 'Generate Entities' and in the *-ejb project there is a bean created
@Name("xHome")
public class XHome extends EntityHome<X> {
public void setXId(Integer id) {
setId(id);
}
public Integer getXId() {
return (Integer) getId();
}
...
But from JSF in XEdit.xhtml I get the ERR that XHome does not have a property xId.
If I rename the table to 'Ent' for example, things are OK.
Thanks,
Eric J.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/608564#608564]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110603/6390d07a/attachment.html
More information about the jboss-user
mailing list