Examples of SkipSchemaUpdateStrategy


Examples of org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy

            DataNode node = new DataNode(dataMap.getName());
            node.setDataSource(dataSource);
            node.setAdapter(adapter);
            node.addDataMap(dataMap);
            node.setSchemaUpdateStrategy(new SkipSchemaUpdateStrategy());

            // customizations from SimpleAccessStackAdapter that are not yet ported...
            // those can be done better now

            // node
View Full Code Here

Examples of org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy

                binder.bind(RuntimeProperties.class).toInstance(testProperties);
                binder.bind(ConfigurationNameMapper.class).to(
                        DefaultConfigurationNameMapper.class);
                binder.bind(DataChannelDescriptorLoader.class).toInstance(testLoader);
                binder.bind(SchemaUpdateStrategy.class).toInstance(
                        new SkipSchemaUpdateStrategy());
                binder.bind(DbAdapterFactory.class).toInstance(new DbAdapterFactory() {

                    public DbAdapter createAdapter(
                            DataNodeDescriptor nodeDescriptor,
                            DataSource dataSource) throws Exception {
View Full Code Here

Examples of org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy

            // shared or dedicated DataSources can be mapped per DataMap
            node.setDataSource(dataSourceFactory.getDataSource(dataMap.getName()));
            node.setAdapter(adapter);
            node.addDataMap(dataMap);
            node.setSchemaUpdateStrategy(new SkipSchemaUpdateStrategy());

            // tweak procedures for testing...
            for (Procedure proc : dataMap.getProcedures()) {
                unitDbAdapter.tweakProcedure(proc);
            }
View Full Code Here

Examples of org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy

            unitDbAdapter.tweakProcedure(proc);
        }

        node.addDataMap(map);

        node.setSchemaUpdateStrategy(new SkipSchemaUpdateStrategy());
        domain.addNode(node);
    }
View Full Code Here

Examples of org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy

                        DefaultConfigurationNameMapper.class);
                binder.bind(DataChannelDescriptorMerger.class).to(
                        DefaultDataChannelDescriptorMerger.class);
                binder.bind(DataChannelDescriptorLoader.class).toInstance(testLoader);
                binder.bind(SchemaUpdateStrategy.class).toInstance(
                        new SkipSchemaUpdateStrategy());
                binder.bind(DbAdapterFactory.class).toInstance(new DbAdapterFactory() {

                    public DbAdapter createAdapter(
                            DataNodeDescriptor nodeDescriptor,
                            DataSource dataSource) throws Exception {
View Full Code Here

Examples of org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy

            unitDbAdapter.tweakProcedure(proc);
        }

        node.addDataMap(map);

        node.setSchemaUpdateStrategy(new SkipSchemaUpdateStrategy());
        domain.addNode(node);
    }
View Full Code Here

Examples of org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy

                        DefaultConfigurationNameMapper.class);
                binder.bind(DataChannelDescriptorMerger.class).to(
                        DefaultDataChannelDescriptorMerger.class);
                binder.bind(DataChannelDescriptorLoader.class).toInstance(testLoader);
                binder.bind(SchemaUpdateStrategy.class).toInstance(
                        new SkipSchemaUpdateStrategy());
                binder.bind(DbAdapterFactory.class).to(DefaultDbAdapterFactory.class);
                binder.bind(RuntimeProperties.class).to(DefaultRuntimeProperties.class);
                binder.bind(BatchQueryBuilderFactory.class).to(
                        DefaultBatchQueryBuilderFactory.class);
View Full Code Here

Examples of org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy

                binder.bind(RuntimeProperties.class).toInstance(testProperties);
                binder.bind(ConfigurationNameMapper.class).to(
                        DefaultConfigurationNameMapper.class);
                binder.bind(DataChannelDescriptorLoader.class).toInstance(testLoader);
                binder.bind(SchemaUpdateStrategy.class).toInstance(
                        new SkipSchemaUpdateStrategy());
                binder.bind(DbAdapterFactory.class).toInstance(new DbAdapterFactory() {

                    public DbAdapter createAdapter(
                            DataNodeDescriptor nodeDescriptor,
                            DataSource dataSource) throws Exception {
View Full Code Here

Examples of org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy

        }
        else {
            node.setDataSource(resources.getDataSource());
        }

        node.setSchemaUpdateStrategy(new SkipSchemaUpdateStrategy());
        domain.addNode(node);
    }
View Full Code Here

Examples of org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy

        }
        else {
            node.setDataSource(resources.getDataSource());
        }

        node.setSchemaUpdateStrategy(new SkipSchemaUpdateStrategy());
        domain.addNode(node);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.