"Halas, Miroslav" wrote:
> 
> Is there any way in Jonas to specify DataSource factory or does Jonas always
> use the default one.
> I have found in InstantDB1.properties these commented lines
> 
> #datasource.factory      org.objectweb.jonas.dbm.JonasStandardXADataSource
> #datasource.xadataname   idb_xa
> 
> Are they still taken into account? What is their meanings?

Yes, they are taken into account. Either you want to use the default
datasource factory (you will use the  ConnectionManager as DataSource),
or
you want to use the new Database Manager and you must  supply here the
name of your Datasource factory. You may use here a standard jonas XA
DataSource
as supplied here (JonasStandardXADataSource) or use a more specialized
version with special features for your particular database.
Look in objectweb/jonas/src/org/objectweb/jonas/dbm to see the choices:
idb, oracle, informix, sybase are provided.
> 
> I am trying to test compatibility of our application with different
> databases and I am testing Merant's Connect JDBC. It comes with it's own
> implementation of javax.sql.DataSource or
> javax.sql.ConnectionPoolDataSource. Can/Should I use this data sources
> instead or should I use the default one?
It is the idea, but I think it's not so easy because you have to "port"
your DataSOurce factory in Jonas as it was done for other databases.
Anyway, it would be better to post your question on
[EMAIL PROTECTED]
to have a more accurate answer.
> 
> Thanks in advance,
> 
> Miro Halas

-- 
Philippe Durieux  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]
-> Download our EJBServer at http://www.evidian.com/ejb <-
----
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