![]() ![]() ![]() ![]() |
Persistence Unit: JTA Connection Configuration
Configuration Options Related Tasks Related Topics
This page shows the JTA-specific connection attributes of a persistence unit. Use this page to configure connections to your JTA data source.
The contents of this page may vary depending on whether or not you are using Kodo or a third-party persistence vendor and whether or not you are using the built-in Kodo data source.
You can also use this page to define name value pairs for Connection and Connection Factory properties.
Configuration Options
Name Description Jta Connection Driver Class Name The class name of the database driver, or an instance of a DataSource to use to connect to the datasource. some possible values: "COM.FirstSQL.Dbcp.DbcpDriver", "COM.cloudscape.core.JDBCDriver", "COM.ibm.db2.jdbc.app.DB2Driver", "COM.ibm.db2.jdbc.net.DB2Driver", "centura.java.sqlbase.SqlbaseDriver", "com.ddtek.jdbc.db2.DB2Driver", "com.ddtek.jdbc.oracle.OracleDriver", "com.ddtek.jdbc.sqlserver.SQLServerDriver", "com.ddtek.jdbc.sybase.SybaseDriver", "com.ibm.as400.access.AS400JDBCDriver", "com.imaginary.sql.msql.MsqlDriver", "com.inet.tds.TdsDriver", "com.informix.jdbc.IfxDriver", "com.internetcds.jdbc.tds.Driver", "com.jnetdirect.jsql.JSQLDriver", "com.mckoi.JDBCDriver", "com.microsoft.jdbc.sqlserver.SQLServerDriver", "com.mysql.jdbc.DatabaseMetaData", "com.mysql.jdbc.Driver", "com.pointbase.jdbc.jdbcUniversalDriver", "com.sap.dbtech.jdbc.DriverSapDB", "com.sybase.jdbc.SybDriver", "com.sybase.jdbc2.jdbc.SybDriver", "com.thinweb.tds.Driver", "in.co.daffodil.db.jdbc.DaffodilDBDriver", "interbase.interclient.Driver", "intersolv.jdbc.sequelink.SequeLinkDriver", "openlink.jdbc2.Driver", "oracle.jdbc.driver.OracleDriver", "oracle.jdbc.pool.OracleDataSource", "org.axiondb.jdbc.AxionDriver", "org.enhydra.instantdb.jdbc.idbDriver", "org.gjt.mm.mysql.Driver", "org.hsql.jdbcDriver", "org.hsqldb.jdbcDriver", "org.postgresql.Driver", "org.sourceforge.jxdbcon.JXDBConDriver", "postgres95.PGDriver", "postgresql.Driver", "solid.jdbc.SolidDriver", "sun.jdbc.odbc.JdbcOdbcDriver", "weblogic.jdbc.mssqlserver4.Driver", "weblogic.jdbc.pool.Driver"
MBean Attribute:
PersistenceUnitConfigurationBean.ConnectionDriverName
Changes take effect after you redeploy the module or restart the server.
Jta Connection URL MBean Attribute:
PersistenceUnitConfigurationBean.ConnectionURL
Changes take effect after you redeploy the module or restart the server.
Jta Connection User Name The user name for the connection listed in ConnectionURL.
MBean Attribute:
PersistenceUnitConfigurationBean.ConnectionUserName
Changes take effect after you redeploy the module or restart the server.
Jta Connection Password The password for the user specified in ConnectionUserName.
MBean Attribute:
PersistenceUnitConfigurationBean.ConnectionPassword
Changes take effect after you redeploy the module or restart the server.
Jta Connection Properties List of properties to be passed to the database driver when obtaining a connection. If the given driver class is a DataSource, these properties will be used to configure the bean properties of the DataSource.
MBean Attribute:
PersistenceUnitConfigurationBean.ConnectionProperties
Changes take effect after you redeploy the module or restart the server.
Name Gets the name of this bean
MBean Attribute:
PersistenceConfigurationPropertyBean.Name
Changes take effect after you redeploy the module or restart the server.
Value Gets the value associated with this bean
MBean Attribute:
PersistenceConfigurationPropertyBean.Value
Jta Connection Factory Properties List of bean-like properties used to configure the javax.sql.DataSource used as the ConnectionFactory.
MBean Attribute:
PersistenceUnitConfigurationBean.ConnectionFactoryProperties
Changes take effect after you redeploy the module or restart the server.
Name Gets the name of this bean
MBean Attribute:
PersistenceConfigurationPropertyBean.Name
Changes take effect after you redeploy the module or restart the server.
Value Gets the value associated with this bean
MBean Attribute:
PersistenceConfigurationPropertyBean.Value
![]() |