This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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....

I agree. Here's the link:
subject: Four operations with Entity EJB