net.sf.jasperreports.jsf.engine.converters
Class JdbcSourceConverter
java.lang.Object
net.sf.jasperreports.jsf.engine.converters.SourceConverterBase
net.sf.jasperreports.jsf.engine.converters.DatabaseSourceConverter
net.sf.jasperreports.jsf.engine.converters.JdbcSourceConverter
- All Implemented Interfaces:
- Serializable, SourceConverter
public final class JdbcSourceConverter
- extends DatabaseSourceConverter
Converter implementation which obtains a JDBC connection
from a JDBC url and some additional attributes added to the
requesting component.
- Author:
- A. Alonso Dominguez
- See Also:
- Serialized Form
Method Summary |
protected Connection |
getConnection(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTR_DRIVER_CLASS_NAME
public static final String ATTR_DRIVER_CLASS_NAME
- See Also:
- Constant Field Values
ATTR_USERNAME
public static final String ATTR_USERNAME
- See Also:
- Constant Field Values
ATTR_PASSWORD
public static final String ATTR_PASSWORD
- See Also:
- Constant Field Values
JdbcSourceConverter
public JdbcSourceConverter()
getConnection
protected Connection getConnection(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws SourceException
- Specified by:
getConnection
in class DatabaseSourceConverter
- Throws:
SourceException
Copyright © 2011 SourceForge.net. All Rights Reserved.