object references an unsaved transient instance - save the transient instance before flushing: [package].MapKeyobject references an unsaved transient instance - save the transient instance before flushing: [package].MapKeyname; public EntityWithMap(String name) {
t