- Session Factory
+ JDBC Properties
+ Datasource Properties
- Optional Properties
+ Configuration Properties
+ JDBC and Connection Properties
+ Cache Properties
+ Transaction Properties
+ Miscellaneous Properties
+ Mappings
- Cache
+ Class Cache
+ Collection Cache
- Events [Add]
+ post-update [Remove]
+ post-insert [Remove]
+ post-delete [Remove]
(one node per defined event)
+ Security
Note that the properties are separated into different nodes based on the Configuration chapter in the Hibernate Reference Documentation. All the events are displayed as sub-nodes of the Events node. The name of the sub-nodes are the event type. The user uses the Add button to add a new event type and remove to delete an existing one.
Each leaf node contains a panel for displaying and editing the related data. For example, the JDBC Properties Node contains a panel looking like this (textual version):
Name Value
hibernate.connection.driver_class org.apache.derby.jdbc.ClientDriver
hibernate.connection.url jdbc:derby://localhost:1527/travel
hibernate.connection.username travel
ibernate.connection.password travel
[Add...] [Edit...] [Remove...]
The panels for the other leaf nodes will work in the similar way.
The modification made in the Design tab will be reflected in the XML file right way. For example, if you add a new JDBC property in the Design tab and then switch to XML tab. You will the newly added property in the XML source. This is also true when you modify the xml source and switch to the Design tab.