This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Four operations with Entity EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Four operations with Entity EJB" Watch "Four operations with Entity EJB" New topic
Author

Four operations with Entity EJB

mhonores
Greenhorn

Joined: Dec 06, 2001
Posts: 1
Good afternoon
I am just begining in the EJB.
Now i am able to create EJB's and configure them
The problem is that i need the entity EJB equivalents operations to SQL
commands like these:
INSERT
DELETE
UPDATE
SELECT
And also operations inside transactions
Somebody could send me some code examples?
Thanks
Marcelo
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
Hi Marcelo,
We have a naming policy here at JavaRanch where all publicly displayed names must take the form, "Firstname Surname". Could you please edit your profile to bring yours into line?
Thanks in advance and we hope that you enjoy your stay at the ranch!
Cheers
Simon
sandy gupta
Ranch Hand

Joined: Jan 30, 2001
Posts: 228
INSERT - ejbCreate
DELETE - ejbRemove
UPDATE - ejbStore
SELECT - finder methods
If u are using a cmp scheme, then u have to know the ejbql for select and in case u are using bmp, write the sqls u'rself....
HTH
Sahil


Adios
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Four operations with Entity EJB