Examples of SkipSchemaUpdateStrategy


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

            if (adapter == null) {
                adapter = new AutoAdapter(new NodeDataSource(node));
            }
           
            // TODO: add a property to generate schema per bundled or custom strategies
            node.setSchemaUpdateStrategy(new SkipSchemaUpdateStrategy());

            node.setAdapter(adapter);
            node.setDataSource(dataSource);
            node.addDataMap(cayenneMap);
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());

            // 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

            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
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.