Project

General

Profile

« Previous | Next » 

Revision f04abc2f

Added by Andreas Müller about 8 years ago

Adapt table and column names to hibernate 5 naming strategy #5369

... and some other changes to table/attribute names

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/molecular/PhylogeneticTree.java
15 15

  
16 16
import javax.persistence.Entity;
17 17
import javax.persistence.FetchType;
18
import javax.persistence.JoinColumn;
19
import javax.persistence.JoinTable;
20 18
import javax.persistence.ManyToMany;
21 19
import javax.validation.constraints.NotNull;
22 20
import javax.xml.bind.annotation.XmlAccessType;
......
63 61
    @XmlIDREF
64 62
    @XmlSchemaType(name = "IDREF")
65 63
    @ManyToMany(fetch = FetchType.LAZY)
66
	//preliminary  #5369
67
    @JoinTable(
68
            joinColumns = @JoinColumn( name="Media_id")
69
    )
70 64
    @NotNull
71 65
	private Set<Sequence> usedSequences = new HashSet<Sequence>();
72 66

  

Also available in: Unified diff