JBoss Community

rev eng table X in Seam Web project

created by Eric J. Van der Velden in JBoss Tools - View the full discussion

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

Start a new discussion in JBoss Tools at Community