not-null property references a null or transient value
	
	
		Bonsoir,
J'ai une table HtitrePortf qui contient 3 clés étrangères en relation avec 3 tables respectivement HportfGlobal, Rtitre et RcompteTitre, sachant que les 3 clès etrangères ne sont pas nulles, mais quand j'effectue le test, j'ai l'erreur suivante : 
	Citation:
	
		
		
			org.springframework.dao.DataIntegrityViolationException: not-null property references a null or transient value : 
ma.px.management.repository.service.bo.HtitrePortf.compteTitreCode; nested exception is org.hibernate.PropertyValueException: 
not-null property references a null or transient value : ma.px.management.repository.service.bo.HtitrePortf.compteTitreCod at ma.px.management.repository.service.dao.TitrePortfTest.testDelete(TitrePortfTest.java:47)
Caused by: org.hibernate.PropertyValueException: not-null property references a null or transient value : ma.px.management.repository.service.bo.HtitrePortf.compteTitreCode
    at ma.px.management.repository.service.dao.TitrePortfTest.testDelete(TitrePortfTest.java:47).
			
		
	
 j'ai essayé de la résoudre mais sans résultat, j'ai vraiment besoin d'aide:calim2::calim2::calim2: