Configuring JDBC

A common choice for a persistent store is a JDBC database. JBoss includes an embedded JDBC database called Hypersonic that is configured by default. Additional information on Hypersonic is given in the following section “The Default JDBC Database, Hypersonic SQL”. Because it is likely that you have your own database and corresponding JDBC drivers, you need to know how to load a JDBC driver and set up a corresponding javax.sql.DataSource for use with the JAWS persistence engine. Two JBoss MBeans handle the loading of JDBC drivers and DataSource setup: org.jboss.jdbc.JdbcProvider and org.jboss.jdbc.XADataSourceLoader.

The org.jboss.jdbc.JdbcProvider MBean loads one or more JDBC drivers into the JBoss server VM. The JBoss server ...

Get JBoss™ Administration and Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.