Ritesh wrote:

>    As you said that i am doing the JDBC call to get the data .
>     The method which you descrbed is right i am doing by the same
>    Here I my code snippts
>
>
>
>                 if (conn == null)
>                     conn = connFactory.getConnection();

....

>
>
>                   if ( conn != null ) conn.close();
>

Seems to be correct, the only question is where does the connFactory
come from ?

>>
>> Since JOnAS 2.3, transaction isolation is done by the container and
>> does not rely anymore on the database. So if your database is only
>> accessed by your JOnAS server, you can set the JDBC isolation level
>> to access your database very low, thus avoiding useless database
>> locking ... We still have not documented it, but the way to do it is
>> very simple :
>> you set it in the datasource.properties file using the
>> datasource.isolationlevel property
>>
>> datasource.isolationlevel       default
>>
>> possible values are: serializable, none, read_uncommitted,
>> read_committed, repeatable_read, default
>>
>
>   If i set the my isolation to default will it affect to my other
> entity beans ?

This will affect all the beans making use of the datasource. You can
define as many datasources as you need. You cannot do that with JOnAS
2.1.2, you need JOnAS 2.3.

>
>                     One more question ,  JOnAS which is running on
> single CPU
>                     For the Same JOnAS to work on the Dual CPU machine
> , do ihave to make any changes into
>                     the configuration .
>                     Did any boody have tried JOnAS on dual CPU. ?

See answer of H�l�ne.

Best Regards,

Fran�ois
--
==================================================================
Fran�ois EXERTIER         Evidian (Groupe Bull)
     1, rue de Provence,  BP 208,  38432 Echirolles cedex, FRANCE
     mailto:[EMAIL PROTECTED]
     http://www.evidian.com/jonas   http://www.objectweb.org/jonas
     Tel: +33 (0)4 76 29 71 51  -  Fax:   +33 (0)4 76 29 77 30
==================================================================


----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to