|
I've used Hibernate for years and have long been frustrated for the need to manually develop the ORM mappings even on a start-from-scratch schema, so the Cayenne promise of code generation for that purpose seems attractive. An advantage with these frameworks is that they provide a single API and work with many database platforms on the backend. In theory this lends a bit of portability in case you decide to switch away from MySQL. The important part of that last sentence being "In theory" -- it turns out that as you get deeper into the ORM aspect of your project, things like custom mappings for database-specific features creep into the code, etc.
But don't look at this as "killing a fly with a machine-gun"... its an important learning experience which you can use elsewhere.
Ken
|