update to recipient
git-svn-id: svn://svn.dsv.su.se/scipro/scipro/trunk@72 73ecded7-942e-4092-bab0-0e58ef0ee984
This commit is contained in:
parent
976c366f59
commit
bc135616da
@ -5,14 +5,24 @@ package se.su.dsv.scipro.data.dataobjects;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import javax.persistence.Cacheable;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import org.hibernate.annotations.Cache;
|
||||
import org.hibernate.annotations.CacheConcurrencyStrategy;
|
||||
|
||||
/**
|
||||
* @author Johan Aschan - aschan@dsv.su.se
|
||||
*
|
||||
*/
|
||||
@Entity
|
||||
@Table(name="recipient")
|
||||
@Cacheable(true)
|
||||
@Cache(usage= CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
|
||||
public class Recipient extends LazyDeletableDomainObject {
|
||||
|
||||
@Id
|
||||
|
Loading…
x
Reference in New Issue
Block a user