Package org.qi4j.migration.operation

Examples of org.qi4j.migration.operation.RenameEntity


    }

    public VersionMigrationBuilder renameEntity( String fromName, String toName )
    {
        builder.entityMigrationRules()
            .addRule( new EntityMigrationRule( fromVersion, toVersion, new String[]{ fromName }, new RenameEntity( fromName, toName ) ) );

        return this;
    }
View Full Code Here


        {
            builder.entityMigrationRules().addRule( new EntityMigrationRule(
                fromVersion,
                toVersion,
                new String[]{ fromName + "." + entitySimpleName },
                new RenameEntity( fromName + "." + entitySimpleName, toName + "." + entitySimpleName ) ) );
        }

        return this;
    }
View Full Code Here

TOP

Related Classes of org.qi4j.migration.operation.RenameEntity

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.