I wrote this note to memo the experience.
* install the version is a point of hibernate
download the version at least the same major version software.
it may be the permenant weak point of the open source.
* midgen maps bit (boolean) to object
manually modify the attibute of the field to make it map to right java type.
* to make the update effact to all related object
add cascade="save-update" to set tag
* add named query
* to make spring handle the transaction
PROPAGATION_REQUIRED
* generate hbm.xml from java soruce with xdoclet
ant generate-hbm-from-xdoclet
No comments:
Post a Comment