cant i have a table without a primary key.
I tried to have one.
But when i deploed that entity bean in jboss,
the query that was generated looked like,
"create table table1(name varchar(10,age number(3) constraint constraint_ name primary key( ))"
There is no primary Key but still the constraint is generated without a column name which give me error.
Is there any way to tel Jboss not to have primary key?
If findByPrimaryKey is a required method of your entity bean's home interface how would you have an entity without a primary key?
If you have a need for entity without a pk anyway, just make one up. Add an autoincrement/serial id field.