Tag: hbm

  • Hibernate: Dynamic Insert

    Hibernate: Dynamic Insert

    While doing code-review I came across hibernate’s dynamic-insert property and found it really useful. dynamic-insert is a boolean attribute of class element as defined in hibernate-mapping-3.0.dtd. This is an optional attribute of the class element and if not defined explicitly defaults to false. As the name says, setting this property to true makes insert query…