Hey guys,
Got a doubt about a line in HF-EJB book, pg #196
It says: You can't make a JDBC call on connection reference. You can use your connection in ejbCreate() I checked both confirmed / unconfirmed errata as well, didn't get anything.
Or may be I am confused and not interpretting things correctly. If I can get connection objectinside ejbCreate(), why can't I use it for a JDBC call? It all makes sense. Why can't I initialize some instance variable from database inside ejbCreate() and use it repeatly in different business methods of a stateful bean?
TIA for all the help!