Issue
Is there way to set the dynamic-insert
attribute globally with Hibernate (so it would be the default for all entities) ?
Solution
in NHibernate it is
foreach (var clazz in config.ClassMappings)
{
clazz.DynamicInsert = true;
}
i don't know the exact syntax in hibernate.
for (PersistentClass clazz : configuration.ClassMappings)
{
clazz.setDynamicInsert(true);
}
Answered By - Firo
Answer Checked By - David Goodson (JavaFixing Volunteer)