Example usage for org.hibernate.annotations Entity interface-usage

List of usage examples for org.hibernate.annotations Entity interface-usage

Introduction

In this page you can find the example usage for org.hibernate.annotations Entity interface-usage.

Usage

From source file com.romeikat.datamessie.core.domain.entity.AbstractEntityWithoutIdAndVersion.java

@MappedSuperclass
// The following two annotations are required as no version column is available for optimistic
// locking
@DynamicUpdate
@OptimisticLocking(type = OptimisticLockType.DIRTY)
public abstract class AbstractEntityWithoutIdAndVersion implements Entity {

From source file de.rwth.dbis.layers.lapps.entity.App.java

@javax.persistence.Entity
@Table(name = "app")
public class App implements Entity, Comparable<App> {
    private static final long serialVersionUID = -5148238127147716369L;
    public static final String[] PLATFORMS = new String[] { "iOS", "Android", "Windows Phone", "Web Apps",
            "Windows", "Linux", "Mac OS X" };

From source file org.broadleafcommerce.openadmin.server.domain.EntityImpl.java

/**
 * 
 * @author jfischer
 *
 */
@javax.persistence.Entity