subsonic/SubSonic-3.0 — pull request #277 by dbeiler (2011-12-27 15:46:21+00:00)
Title: FooX issue when tablename == columnname

Fixes an issue where, when the tablename and columnname were the same, subsonic would not read from or update the database column.

The generator correctly recognizes the column and, in the case that it shares a name with the table, appends an "X" (e.g.,
CREATE TABLE foo
(
foo varchar
);

would create an object for table foo, containing a member, fooX. However, reading from fooX would not match what was actually in the datastore, and setting fooX and saving would throw an exception.

Closes #276