CCM NG: Fixed some typos in the JPA annotations

git-svn-id: https://svn.libreccm.org/ccm/jpa@3367 8810af33-2d31-482b-a856-94f89814c4df
pull/2/head
jensp 2015-05-01 12:49:24 +00:00
parent bb55de0ef7
commit f53aab5b9b
3 changed files with 5 additions and 2 deletions

View File

@ -154,6 +154,7 @@
<dialects>
<param>h2</param>
<param>mysql5_innodb</param>
<param>oracle10g</param>
<param>postgresql9</param>
</dialects>
<packages>

View File

@ -86,10 +86,11 @@ public class Category extends CcmObject implements Serializable {
@OneToMany(mappedBy = "category")
private List<Categorization> objects;
@OneToMany(mappedBy = "parent_category")
@OneToMany(mappedBy = "parentCategory")
private List<Category> subCategories;
@ManyToOne
@JoinColumn(name = "parent_category_id")
private Category parentCategory;
@Column(name = "category_order")

View File

@ -80,9 +80,10 @@ public class Domain extends CcmObject implements Serializable {
private Date released;
@ManyToOne
@JoinColumn(name = "root_category_id")
private Category root;
@OneToMany(mappedBy = "domain_id")
@OneToMany(mappedBy = "domain")
private List<DomainOwnership> owners;
public String getDomainKey() {