ide:eclipse:jpa
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
ide:eclipse:jpa [2017/01/06 02:13] – Ajout de "The value for annotation attribute SecondaryTable.pkJoinColumns must be some @javax.persistence.PrimaryKeyJoinColumn annotation" root | ide:eclipse:jpa [2020/05/10 23:59] (Version actuelle) – Suppression de la taille par défaut pour les images root | ||
---|---|---|---|
Ligne 8: | Ligne 8: | ||
Clique-droit sur le projet, '' | Clique-droit sur le projet, '' | ||
- | {{: | + | {{: |
Pour que cela marche, il faut que dans le '' | Pour que cela marche, il faut que dans le '' | ||
Ligne 42: | Ligne 42: | ||
import javax.persistence.PrimaryKeyJoinColumn; | import javax.persistence.PrimaryKeyJoinColumn; | ||
</ | </ | ||
+ | |||
+ | ====@OneToOne or @ManyToOne on XXX references an unknown entity: YYY==== | ||
+ | Hibernate : | ||
+ | |||
+ | Caused by: org.hibernate.AnnotationException: | ||
+ | at org.hibernate.cfg.ToOneFkSecondPass.doSecondPass(ToOneFkSecondPass.java: | ||
+ | |||
+ | La classe YYY n'est pas dans le fichier '' | ||
+ | <code xml> | ||
+ | < | ||
+ | < | ||
+ | <mapping class=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ====Caused by: java.sql.SQLException: | ||
+ | |||
+ | org.hibernate.exception.GenericJDBCException: | ||
+ | at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java: | ||
+ | at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java: | ||
+ | at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java: | ||
+ | at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java: | ||
+ | Caused by: java.sql.SQLException: | ||
+ | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java: | ||
+ | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java: | ||
+ | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java: | ||
+ | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java: | ||
+ | |||
+ | Le champ '' |
ide/eclipse/jpa.1483665211.txt.gz · Dernière modification : 2017/01/06 02:13 de root