• Post Reply Bookmark Topic Watch Topic
  • New Topic

creating entity bean

 
simon kumar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
is it possible to create an entity bean mapped to a table which does not have a primary key.
i tried this using VAJ 4.0,but while creating
a schema it throws some error saying "empty key descriptor".
any help will be appreciated
Thanx
Simon
 
Malli Raman
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by simon kumar:
Hi All,
is it possible to create an entity bean mapped to a table which does not have a primary key.
i tried this using VAJ 4.0,but while creating
a schema it throws some error saying "empty key descriptor".
any help will be appreciated
Thanx
Simon


Absolutely possible since spec did not specified any relationship between
RDBMS Table's Primary Key and Enterprise Bean Primary Key.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!