git-svn-id: svn://svn.dsv.su.se/scipro/scipro/trunk@73 73ecded7-942e-4092-bab0-0e58ef0ee984

This commit is contained in:
joha-asc 2011-02-07 14:14:35 +00:00
parent bc135616da
commit 2d34aaa91c

@ -6,16 +6,26 @@ package se.su.dsv.scipro.data.dataobjects;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Cacheable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
/**
* @author Johan Aschan - aschan@dsv.su.se
*
*/
@Entity
@Table(name="private_message")
@Cacheable(true)
@Cache(usage= CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class PrivateMessage extends LazyDeletableDomainObject implements Comparable<PrivateMessage>{