Hello Nittle,

Nittle Gupta wrote:
Hi All,

>         Anybody tried with calling a native method through an EJBean.
> with regards,
> Nittile.

I have tried small application where in I used JNI to call the Native Method.
It works fine and is as simple as calling a JNI call from normal java class.

Only I faced problem in having a database transaction in the Native function (
using embedded SQL in C library on MSSQL server  ).  As the transaction context
get attached to the thread , this context doesnt allow me to have any
transactions in C library with new connection in native funtion.

I am looking forward for suggestions on how to do transaction in the native
method.

Thank you,

G Srinivas
Software Engineer
==========================================
L&T Information Technology Ltd.
Safire Park Galleria,
Next to Shivaji Nagar Rly Station,
1st Floor ,
Mumbai Pune Road,
Shivajinagar,
Pune - 411 005 (India).
Phone : 91-20-5812162/4262/5462//6079/4012
Fax   : 91-20-5815742

EMail  : [EMAIL PROTECTED]
Web   : www.ltitl.com
==========================================

===========================================================================
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".

Reply via email to