ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From max_lazz...@tiscali.it
Subject JNDI , WebSphere Datasource question
Date Thu, 09 Jun 2005 07:35:26 GMT
Hi,
I'm using iBatis sqlMap in a J2ee application to be deployed on WebSphere
AppServer 5.1.

We have to use a JNDI Datasource which needs for username and password.

How can I configure the Transaction Manager?

Is the following an option?

----------------------------------------------
transactionManager type="JDBC"
   dataSource type="JNDI"
      property name="DataSource" value="jdbc/JDEdb"/
      property name="JDBC.Username" value="${username}"/
      property name="JDBC.Password" value="${password}"/
   /dataSource
/transactionManager

----------------------------------------------


Thanks in advance,  rgrds

Max


__________________________________________________________________
TISCALI ADSL 1.25 MEGA a soli 19.95 euro/mese
Solo con Tiscali Adsl navighi senza limiti di tempo
a meno di 20 euro al mese e in piu' telefoni senza
pagare il canone Telecom. Scopri come
http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/




Mime
View raw message