0 Replies Latest reply on Apr 5, 2006 2:40 PM by Abraham Fdez

    Changing Hibernate MBean Properties, Please help

    Abraham Fdez Newbie

      Hi all,

      i want to know how to change Mbean properties such this peace os code:

      20:27:52,484 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled
      20:27:52,484 INFO [SettingsFactory] Automatic session close at end of transaction: enabled
      20:27:52,484 INFO [SettingsFactory] JDBC batch size: 15
      20:27:52,484 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
      20:27:52,500 INFO [SettingsFactory] Scrollable result sets: enabled
      20:27:52,500 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
      20:27:52,500 INFO [SettingsFactory] Connection release mode: after_statement
      20:27:52,500 INFO [SettingsFactory] Default batch fetch size: 1
      20:27:52,500 INFO [SettingsFactory] Generate SQL with comments: disabled
      20:27:52,500 INFO [SettingsFactory] Order SQL updates by primary key: disabled

      My question is, Where do I have to do it? into hibernate-service.xml or into hibernate properties. If second option where have i put it into HAR archive? or if first option what are the properties tags?

      Thanks a lot