bonjour,

je ne comprend pas cette erreur qui porte sur un query du type



from MaClasse where voie='valeur' and complement='valeur'

l'erreur se produit sur le premier champ quelqu'il soit.

voici l'erreur

15:07:22,495 INFO [STDOUT] valeur de voie : du coin carré
15:07:22,505 INFO [STDOUT] Hibernate: select adressefr0_.ref as ref, adressefr0_.voie as voie37_, adressefr0_.residence as residence37_, adressefr0_.complement as complement37_, adressefr0__1_.voie as voie36_, adressefr0__1_.residence as residence36_, adressefr0__1_.complement as complement36_ from etat.adresse_fr adressefr0_ inner join etat.adresse adressefr0__1_ on adressefr0_.ref=adressefr0__1_.ref where (voie='du coin carré' )and(complement='hameau de poisot' )and(residence='' )
15:07:22,505 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 42702
15:07:22,505 ERROR [JDBCExceptionReporter] ERROR: column reference "voie" is ambiguous
15:07:22,505 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 42702
15:07:22,505 ERROR [JDBCExceptionReporter] ERROR: column reference "voie" is ambiguous
15:07:22,505 ERROR [JDBCExceptionReporter] Could not execute query
java.sql.SQLException: ERROR: column reference "voie" is ambiguous