Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.4.3 generated on March 27 2003
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.solarmetric.kodo.impl.jdbc
Interface SQLExecutionListener

All Known Implementing Classes:
  AbstractSQLExecutionListener, PerformanceTracker

public interface SQLExecutionListener

An abstract listener for all `SQLExecutionEvent`s that occur on for a given `SQLExecutionManager`. A `SQLExecutionListener` can be installed on a `JDBCStoreManager` and used as a callback interface to provide fine-grained notification of generic SQL events.

Example usage:

    	PersistenceManagerImpl pm = (PersistenceManagerImpl)factory
    		.getPersistenceManager ();
    	JDBCStoreManager sm = (JDBCStoreManager)pm.getStoreManager ();

    	SQLExecutionListener listener = new AbstractSQLExecutionListener ()
    	{
    		public void afterCommit (SQLExecutionEvent event, Connection c)
    		{
    			System.out.println ("Commit occured for connection: " + c);
    		}

    	};

    	sm.addSQLExecutionListener (listener);

Since:
  2.4
See Also:
  `AbstractSQLExecutionListener`

Method Summary
`void` | `eventOccured(SQLExecutionEvent event)`

Method Detail

### eventOccured

    public void eventOccured(SQLExecutionEvent event)

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
| SolarMetric Kodo JDO 2.4.3 generated on March 27 2003
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.