import javax.persistence.UniqueConstraint;\r
import javax.persistence.Version;\r
\r
+import org.hibernate.annotations.Cache;\r
+import org.hibernate.annotations.CacheConcurrencyStrategy;\r
+\r
/**\r
* The immutable part of the structure of a file on the GSS service.\r
*/\r
@Entity\r
@Table(name="fileheader", uniqueConstraints=@UniqueConstraint(columnNames={"folder_id", "name"}))\r
+@Cache(usage=CacheConcurrencyStrategy.READ_WRITE)\r
public final class FileHeader implements Serializable{\r
\r
/**\r