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 java.lang.Object
Holds a connection to a JDBC database.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
public java.sql.Connection connection
- The actual connection.
logger
public final JDBCMapperLogger logger
JDBCConnection
public JDBCConnection(Model model,
SQLInfo sqlInfo,
javax.sql.XADataSource xadatasource)
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 © 2010 Nuxeo SAS. All Rights Reserved.