Class DalConnectionProvider

  • All Implemented Interfaces:

    public class DalConnectionProvider
    extends Object
    implements ConnectionProvider
    A connection provider which is created on the basis of the current connection of the DAL (see OBDal.getConnection()). It read the properties through the OBPropertiesProvider. Note: this implementation
    • does not support connection pooling
    • does not close the connection
    • it flushes the hibernate session before returning a connection by default, but this can be overriden by using the constructor with the flush parameter (OBDal.flush())
    DalConnectionProvider is not thread safe, the same instance should never be accessed by two different threads.