Commit Graph

30 Commits

Author SHA1 Message Date
efd1d44808 Major refactor, more tests 2017-05-18 14:26:23 -04:00
e7639d740c Somewhat major re-factor, all tests pass now 2017-05-17 17:32:48 -04:00
b425bb49b0 Setup tests for all ResultSetMappers, fix some problems 2017-05-17 15:45:45 -04:00
c9e8037963 Cache options for CachingResultSetMapper too, added StaticCachingResultSetMapper and StaticCompilingResultSetMapper 2017-05-17 14:01:08 -04:00
ccbbb3929e Cache constructor in CachingResultSetMapper too 2017-05-17 13:49:36 -04:00
f97ad82389 Some re-factoring for lazy loading 2017-05-17 13:07:08 -04:00
9310c759e6 Flexible cache implementation options in CompilingResultSetMapper 2017-05-17 12:35:28 -04:00
34a7a55bfc Fix map and array mapping from CompilingResultSetMapper, add javadocs 2017-05-17 11:18:58 -04:00
61010ec39e Handle booleans same way in CompilingResultSetMapper as ResultSetMapper 2017-05-17 10:15:27 -04:00
2e6fce9786 Initial CompilingResultSetMapper implementation 2017-05-16 16:56:53 -04:00
9d131e13ce Make CachingResultSetMapper not have an entire cache shared over the whole application, only per instance, also fix hashing logic 2017-05-16 12:32:34 -04:00
1b2f248574 Add Compiler 2017-05-16 10:42:14 -04:00
b0a5905c41 Remove toMap that takes a Map class, because it cannot be called without an unchecked warning, send in object 2017-04-20 14:15:59 -04:00
6bcb3d0039 Close context in a finally 2017-04-20 10:28:32 -04:00
a7e159b172 Add QueryMapper.noBind, which is skipped if sent in as one of the bindObjects 2015-09-25 16:55:58 -04:00
95dcf6722c Have InList sql always be wrapped by parens 2015-05-01 09:45:51 -04:00
430b4eab76 Make inListReplace string public 2015-04-29 13:05:18 -04:00
04170dda82 Add ListQueryMapper and various InList implementations to assist with sql-in-type queries 2015-04-29 12:03:35 -04:00
79eac08efe Fix returning of primitive array types 2015-03-16 13:18:37 -04:00
moparisthebest
01a6f53d59 Change default arrayMaxLength to unlimited when using ResultSetMapper/QueryMapper directly 2014-08-28 13:06:29 -04:00
moparisthebest
2dec1ea7cf Fix return of primitive types by removing explicit cast, add tests to prevent regressions 2014-06-25 12:10:12 -04:00
moparisthebest
117910274e Try *again* to fix exception thrown when constructor cannot be found if the constructor is not needed, and *again* add some more tests 2014-06-19 08:57:23 -04:00
moparisthebest
8664d887d2 Fix exception thrown when constructor cannot be found if the constructor is not needed, add some more tests 2014-06-11 14:30:22 -04:00
moparisthebest
375f8b8413 Make behavior of mapping consistant between methods and fields, and handle conflicts between underscores and no underscores by picking the most exact match 2014-06-11 13:22:01 -04:00
moparisthebest
f7b1a52ba1 Handle non-public default constructors 2014-06-11 09:51:08 -04:00
moparisthebest
fe1ab6def8 Improve exception message in RowToObjectMapper and don't look for extra methods with underscores stripped if an exact match is found 2014-05-16 15:36:34 -04:00
moparisthebest
2694436119 The original ResultSetMapper returned a case-insensitive HashMap for each row, add support for that again... 2014-05-15 15:56:06 -04:00
moparisthebest
2d9c00e8db Do EnsureContext.setup() call from QueryMapper once 2014-04-22 16:02:57 -04:00
moparisthebest
48e93aaa44 Get values for UpdateableDTO.YES and UpdateableDTO.NO from System Properties 2014-04-22 15:02:35 -04:00
moparisthebest
d0e1e03756 First commit of beehive-jdbc-mapper, which has no dependencies, but which beehive-jdbc-control now depends on 2014-04-22 14:40:18 -04:00