This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

creating entity bean  RSS feed

 
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!