Hi,

I have an entity Leave .this is master for creating diffferent leaves.Anothe
entity Staffleave ,its having seperating staff for leave.One more entity
Leaveassociation .This entity for associating leave and Staffleave value.In
this entity i declared the variable property like

private Leaves leaves; 
private StaffLeaveCategory staffLeaveCategory;

 i have create the getter and setter method i have mentioned annotation many
to one relation ship

I have load the leave and staffleave values once i select the both value and
click save it showing following error.

Failed to convert property value of type [java.lang.String] to required type
[com.pennent.LeaveMaster.model.Leaves] for property leaves; nested exception
is java.lang.IllegalArgumentException: Cannot convert value of type
[java.lang.String] to required type [com.pennent.LeaveMaster.model.Leaves]
for property leaves: no matching editors or conversion strategy found
Failed to convert property value of type [java.lang.String] to required type
[com.pennent.StaffLeaveCategory.Model.StaffLeaveCategory] for property
staffLeaveCategory; nested exception is java.lang.IllegalArgumentException:
Cannot convert value of type [java.lang.String] to required type
[com.pennent.StaffLeaveCategory.Model.StaffLeaveCategory] for property
staffLeaveCategory: no matching editors or conversion strategy found


So please help me how to save one entity value in another entity.

Thanks
-- 
View this message in context: 
http://www.nabble.com/How-to-save-one-entity-value-in-another-entity-tp21561797s2369p21561797.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to