• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to implement in EJB

 
Sridhar R
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1)We have a application where user can only modify the database they are not allowed to make new entries in database.
each modification effects 3 to 4 tables. how can this be implemented.
2) also i would like to know how they can modify in bulk for example add 15 % bonus to employees whose sal is > 80000K and 20 % whose sal is ess than < 80000
This will involve modification of around 25000 emp
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) Using entity beans? Don't include any create methods. Use only find methods. Not using entity beans? Then don't code any inserts.
2) Use JDBC from a session bean.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!