This is a replacement/expanded patch for the one Tobias Mattsson submitted. This version builds upon what Tobias started by adding a hibernate UserType for Money, along with a "buying power" example and unit tests for both MS SQL and Oracle.
I also changed some of the setup logic in the unit tests.
[Note: I manually edited this patch slightly before submitting it, to remove some hard-coded references to my working folder root. So, you might have to fix up a few of the constants that point to the config files. Also, you will definitely have to adjust the project's classpath to include the MS SQL and/or Oracle JDBC drivers, etc.]
Alternative Mapping Approach - Take 2