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 [2016/12/30 02:07] – Ajout d'une deuxième possibilité dans le problème du schéma 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 29: | Ligne 29: | ||
| public class Position { | public class Position { | ||
| </ | </ | ||
| + | |||
| + | ====The value for annotation attribute SecondaryTable.pkJoinColumns must be some @javax.persistence.PrimaryKeyJoinColumn annotation==== | ||
| + | <code java> | ||
| + | @SecondaryTables({ | ||
| + | @SecondaryTable(name=" | ||
| + | @SecondaryTable(name=" | ||
| + | }) | ||
| + | </ | ||
| + | |||
| + | Il manque | ||
| + | <code java> | ||
| + | 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.1483060034.txt.gz · Dernière modification : de root
