org.jboss.dashboard.database
Class JDBCDataSourceEntry
java.lang.Object
org.jboss.dashboard.database.DataSourceEntry
org.jboss.dashboard.database.JDBCDataSourceEntry
- All Implemented Interfaces:
- Persistent
public class JDBCDataSourceEntry
- extends DataSourceEntry
A data source entry that gets the database connection via the JDBC protocol.
| Methods inherited from class org.jboss.dashboard.database.DataSourceEntry |
delete, getDbid, getDriverClass, getJndiPath, getName, getObfuscatedPassword, getObfuscatedUserName, getPassword, getTestQuery, getUrl, getUserName, isPersistent, persist, save, saveOrUpdate, setDbid, setDriverClass, setJndiPath, setName, setObfuscatedPassword, setObfuscatedUserName, setPassword, setTestQuery, setUrl, setUserName, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCDataSourceEntry
public JDBCDataSourceEntry()
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection in class DataSourceEntry
- Throws:
SQLException
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.