rufiao/persist — Issue #8: New Features: Creating Tables & Mapping Objects to Multiple Tables
Author: claytonrcarter
Created: 2012-03-01 14:50:35+00:00
State: open

For several years I've been using some modifications to Persist that allow you to create tables from objects, to be able map objects to arbitrary tables and also to access the names of columns based on their method name (useful when querying). So far these mods are working flawlessly for me and have for a while.

The issues I'm having are:

1) My testing is very limited. I am using a desktop Java app linked to an HSQLdb with < 10k records. I can't quite wrap my head around setting up the unit tests, so I have no idea if my code will fly with other dbs.

2) I'm fairly happy with my changes, but there are some weak spots in them and I would like for someone else should review them. (Especially if they might end up being pulled back into the main project.)

Here's a couple of links to old postings on the Persist mailing list that highlight the changes I made:

http://groups.google.com/group/persist/browse_thread/thread/d01dcb323dc57fdf
http://groups.google.com/group/persist/browse_thread/thread/e66a7d45f845d7d1

Persist is really really cool and I'd love to give a little bit back to it.