Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql.jdbc
Class JDBCConnection

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection
Direct Known Subclasses:
JDBCRowMapper

public class JDBCConnection
extends Object

Holds a connection to a JDBC database.


Field Summary
 Connection connection
          The actual connection.
 JDBCLogger logger
           
 
Constructor Summary
JDBCConnection(Model model, SQLInfo sqlInfo, XADataSource xadatasource, JDBCConnectionPropagator connectionPropagator)
          Creates a new Mapper.
 
Method Summary
 void close()
           
 Mapper.Identification getIdentification()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connection

public Connection connection
The actual connection.


logger

public final JDBCLogger logger
Constructor Detail

JDBCConnection

public JDBCConnection(Model model,
                      SQLInfo sqlInfo,
                      XADataSource xadatasource,
                      JDBCConnectionPropagator connectionPropagator)
               throws StorageException
Creates a new Mapper.

Parameters:
model - the model
sqlInfo - the sql info
xadatasource - the XA datasource to use to get connections
Throws:
StorageException
Method Detail

getIdentification

public Mapper.Identification getIdentification()

close

public void close()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.