Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem creating entity bean(CMP)

 
Pankaj Jha
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gurus,
is it possible to create entity bean(CMP) based on table which does not have primary key.
please help me!!
thanks
pankaj
------------------
 
sudhakar k
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes u can create CMP without primary key being defined on the table.....
Regards,
Sudhakar
 
Avinash Naimpally
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course Pankaj.
Every table need not have a Primary Key. Isnt it?
 
Pankaj Jha
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
i tried and it worked.....
regards
pankaj
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic