Is there way to set the dynamic-insert attribute globally with Hibernate (so it would be the default for all entities) ?
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);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With