Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbLoad() problem

 
saahil sinha
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have this code where i am just loadin a row of data from the database table depending on the users input.Am using a cmp ejb and my query would be similar to the one generated form the ejbLoad() method so wht i would like to know is tht do i have to call a load() at the client side so tht the ejbLoad() get called and i can retrieve the value for the user to see or do i have to write a seperate function containing this query and then call the function.But if i do it its equivalent to writing a bmp ad i am writing the sql query myself.So pls can someone help me out.
Looks like im havin a tough time with ejb totally confused do guys pls help me out.
 
saahil sinha
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry guys i posted a wrong query my problem is with ejbStore() and no load actually i got to update user info in database when the user enters his new info.So do i have to write a seperate query for updating in cmp and if i do then whts the point in cmp or is there a way out where by i can call the store() from the client side or update the database w/o writing a query bymyself.
 
I can't take it! You are too smart for me! Here is the tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!