wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes problem creating entity bean(CMP) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "problem creating entity bean(CMP)" Watch "problem creating entity bean(CMP)" New topic
Author

problem creating entity bean(CMP)

Pankaj Jha
Greenhorn

Joined: May 20, 2000
Posts: 21
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

Joined: Jun 02, 2001
Posts: 1
Yes u can create CMP without primary key being defined on the table.....
Regards,
Sudhakar
Avinash Naimpally
Greenhorn

Joined: May 08, 2001
Posts: 5
Of course Pankaj.
Every table need not have a Primary Key. Isnt it?
Pankaj Jha
Greenhorn

Joined: May 20, 2000
Posts: 21
thanks
i tried and it worked.....
regards
pankaj
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem creating entity bean(CMP)
 
Similar Threads
ejbCreate?
what should ejbCreate mehtod return?
Lost Update/Concurrency issues in web application
Complex primary key
Txn not automatically rolling back after RemoteException