Package org.apache.cayenne.log

Examples of org.apache.cayenne.log.CommonsJdbcEventLogger


        // configure global stack properties
        binder.bindMap(DefaultRuntimeProperties.PROPERTIES_MAP).put(
                ServerModule.CONFIGURATION_LOCATION,
                configurationLocation);

        CommonsJdbcEventLogger logger = new CommonsJdbcEventLogger();
        QueryLogger.setLogger(logger);
        binder.bind(JdbcEventLogger.class).toInstance(logger);

        // configure known DbAdapter detectors in reverse order of popularity. Users can
        // add their own to install custom adapters automatically
View Full Code Here


        // configure global stack properties
        binder.bindMap(DefaultRuntimeProperties.PROPERTIES_MAP).put(
                ServerModule.CONFIGURATION_LOCATION,
                configurationLocation);

        CommonsJdbcEventLogger logger = new CommonsJdbcEventLogger();
        QueryLogger.setLogger(logger);
        binder.bind(JdbcEventLogger.class).toInstance(logger);

        // configure known DbAdapter detectors in reverse order of popularity. Users can
        // add their own to install custom adapters automatically
View Full Code Here

TOP

Related Classes of org.apache.cayenne.log.CommonsJdbcEventLogger

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.