org.nuxeo.ecm.core.storage.sql.jdbc
Class JDBCConnection
java.lang.Object
org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection
- Direct Known Subclasses:
- JDBCRowMapper
public class JDBCConnection
- extends Object
Holds a connection to a JDBC database.
connection
public Connection connection
- The actual connection.
logger
public final JDBCLogger logger
JDBCConnection
public JDBCConnection(Model model,
SQLInfo sqlInfo,
XADataSource xadatasource,
JDBCConnectionPropagator connectionPropagator)
throws StorageException
- Creates a new Mapper.
- Parameters:
model
- the modelsqlInfo
- the sql infoxadatasource
- the XA datasource to use to get connections
- Throws:
StorageException
getIdentification
public Mapper.Identification getIdentification()
close
public void close()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.