User Tools

Site Tools


eclipselink_bug

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

eclipselink_bug [2014/05/02 15:36]
frank created
eclipselink_bug [2014/07/11 22:40] (current)
frank
Line 2: Line 2:
  
  
-dans les tests glassfish 
  
-**Solution**:​ dans le __persistence.xml__:​ supprimer+Si vous avez l'​erreur **java.lang.IllegalArgumentException:​ The type [null] is not the expected [EntityType] for the key class [class XXX]** lorsque vous lancez les tests unitaires,​ 
 + 
 +**Solution**:​ dans le __persistence.xml__ ​(partie test): supprimer
   <​exclude-unlisted-classes>​false</​exclude-unlisted-classes>​   <​exclude-unlisted-classes>​false</​exclude-unlisted-classes>​
 et ajouter **chaque classe** et ajouter **chaque classe**
eclipselink_bug.txt · Last modified: 2014/07/11 22:40 by frank