This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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

Four operations with Entity EJB


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:
And also operations inside transactions
Somebody could send me some code examples?
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
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!
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....

wood burning stoves
subject: Four operations with Entity EJB
Similar Threads
Best Practices in Ejb Doubt
JTA - EJB container managed transaction
entity only or entity bean?
EJB Transaction
how do you answer this question