- https://stackoverflow.com/questions/2302802/object-references-an-unsaved-transient-instance-save-the-transient-instance-be
- i was getting the error when i was instantiating country which was not linked to database row and using this country as a parameter for fetching states. so i used string country name and got the reference of country in the database and used this country as parameter to fetch the states then it worked.
No comments:
Post a Comment