Examples of cascadeOnDelete()


Examples of com.db4o.config.ObjectClass.cascadeOnDelete()

    private void configureOtherObjects(Configuration configuration) {
        ObjectClass urlConfiguration = configuration.objectClass(URL.class);
        urlConfiguration.translate(new UrlConstructor());
        urlConfiguration.cascadeOnActivate(true);
        urlConfiguration.cascadeOnDelete(true);
        urlConfiguration.cascadeOnUpdate(true);
    }
}
View Full Code Here

Examples of com.db4o.config.ObjectClass.cascadeOnDelete()

        String to,
        boolean cascadeOnDelete) {
        ObjectClass oc = config.objectClass(UTIL + from);
        oc.updateDepth(3);
        if (cascadeOnDelete) {
            oc.cascadeOnDelete(true);
        }
        translate(oc, to);
    }

    private static final void translateUtilNull(Config4Impl config, String className) {
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.