java Hoge.java
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java Hoge.java相关的知识,希望对你有一定的参考价值。
@OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
private Foo foo;
@OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
@JoinTable(name = "bar_hoge",
joinColumns = {@JoinColumn(name = "hoge_id", referencedColumnName = "id")},
inverseJoinColumns = {@JoinColumn(name = "bar_id", referencedColumnName = "id")})
@JsonIgnore
private Bar bar;
@OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
@JoinTable(name = "aaa_hoge",
joinColumns = {@JoinColumn(name = "hoge_id", referencedColumnName = "id")},
inverseJoinColumns = {@JoinColumn(name = "aaa_id", referencedColumnName = "id")})
private AAA aaa;
以上是关于java Hoge.java的主要内容,如果未能解决你的问题,请参考以下文章
Java Math
Java 布尔运算
java [Java] Java常用代码#java
Java - 35 Java 实例
Java While 循环
Java 字符串