Example usage for org.hibernate.tuple GenerationTiming INSERT

List of usage examples for org.hibernate.tuple GenerationTiming INSERT

Introduction

In this page you can find the example usage for org.hibernate.tuple GenerationTiming INSERT.

Prototype

GenerationTiming INSERT

To view the source code for org.hibernate.tuple GenerationTiming INSERT.

Click Source Link

Usage

From source file:org.web4thejob.orm.PropertyMetadataImpl.java

License:Open Source License

@Override
public boolean isUpdateable() {
    return !entityMetadata.isReadOnly() && property.isUpdateable() && !disableUserUpdate && !formula
            && !isIdentityIdentifier() && (GenerationTiming.NEVER == getGenerationTiming()
                    || GenerationTiming.INSERT == getGenerationTiming());
}