Commit 90fddbab authored by Richard Bruskiewich's avatar Richard Bruskiewich Committed by Matija Obreza
Browse files

UC on instCode, acceNumb

parent bde4182a
......@@ -29,6 +29,7 @@ import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
import org.genesys2.server.lucene.genesys.AccessionBridge;
import org.genesys2.server.model.impl.Country;
......@@ -39,7 +40,7 @@ import org.hibernate.search.annotations.Indexed;
@Entity
// @Table(name = "accession")
@Table(name = "accession")
@Table(name = "accession", uniqueConstraints = { @UniqueConstraint(columnNames = { "Institute", "ACC_Numb_HI" }) })
@Indexed
@ClassBridge(name = "body", impl = AccessionBridge.class)
public class Accession implements java.io.Serializable {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment