BOnjour,

J'ai une table test avec des champs a la con
elle comporte une clef etrangere vers une table subfunction qui comporte elle meme une clef vers une table function..
Quand je veux afficher la liste des tests : Cette erreur s'affiche

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
13:42:13,296 ERROR DataManager.find():112 - 
Query error : select test from Test test order by test.id
Cause: net.sf.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of business.test.Test.?

J'ai fait des recherches, je comprends pas bien, concretement, d'ou ca peut venir ...

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
[b]public class PropertyAccessException
extends HibernateException[/b]
A problem occurred accessing a property of an instance of a persistent class by reflection, or via CGLIB. There are a number of possible underlying causes, including :
 
-failure of a security check 
-an exception occurring inside the getter or setter method 
-a nullable database column was mapped to a primitive-type property 
-the Hibernate type was not castable to the property type (or vice-versa)
Merci d'avance