1 package de.juplo.plugins.hibernate4.tests;
3 import javax.persistence.Column;
4 import javax.persistence.Entity;
5 import javax.persistence.Id;
6 import javax.persistence.Lob;
7 import javax.persistence.Table;
9 import org.hibernate.annotations.Index;
10 import org.hibernate.annotations.Type;
11 import org.joda.time.DateTime;
14 @Table(name = "test_simple")
15 @org.hibernate.annotations.Table(
16 appliesTo="test_simple",
18 @Index(name="idx_test_simple_tuple", columnNames={"sources", "uuid"} ),
21 public class SimplestMavenHib4Test {
23 private String sources;
26 private String content;
32 @Column(name = "externalid", length=148)
33 private String externalXyzId;
36 private DateTime created;