Package org.axonframework.common.jdbc

Examples of org.axonframework.common.jdbc.UnitOfWorkAwareConnectionProviderWrapper


     *
     * @param dataSource The DataSource to obtain connections from, when necessary.
     */
    public JdbcEventStore(DataSource dataSource) {
        this(new DefaultEventEntryStore(
                     new UnitOfWorkAwareConnectionProviderWrapper(new DataSourceConnectionProvider(dataSource))),
             new XStreamSerializer()
        );
    }
View Full Code Here


     *
     * @param dataSource The data source used to create connections
     * @param sqlSchema  The SQL Definitions
     */
    public DefaultEventEntryStore(DataSource dataSource, EventSqlSchema<T> sqlSchema) {
        this(new UnitOfWorkAwareConnectionProviderWrapper(new DataSourceConnectionProvider(dataSource)), sqlSchema);
    }
View Full Code Here

     *
     * @param dataSource The data source to obtain connections from
     * @param sqldef     The definition of SQL operations to execute
     */
    public JdbcSagaRepository(DataSource dataSource, SagaSqlSchema sqldef) {
        this(new UnitOfWorkAwareConnectionProviderWrapper(new DataSourceConnectionProvider(dataSource)), sqldef);
    }
View Full Code Here

TOP

Related Classes of org.axonframework.common.jdbc.UnitOfWorkAwareConnectionProviderWrapper

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.