Ian McCallion wrote:
> Christopher Cobb wrote:
> >
> > My dependent object is already a subservient table. How bad would it be to make
>JDBC calls to that table myself instead of serializing. I was thinking that ejbLoad
>and ejbStore should probably not be used with CMP -- but if I'm going to use them,
>I'd probably tend to want to use JDBC. Are there 'transactional' reasons not to use
>my own JDBC calls within a transactional bean?
>
> No, but you must connect to the database correctly. If you lift an old JDBC code
> fragment out of a non-EJB application and adapt that your JDBC calls will indeed
> be completely independent of the transactions controlled by your app server.
>
> The driver you use must be registered with the app server and the correct way to
> get hold of one that is registered is via JNDI lookup and appropriate
> configuration of the server.
>
> cheers... Ian
Ah. That was the missing link. I'll have to dig into that a little.
cc
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".