Commit Graph

74 Commits

Author SHA1 Message Date
Travis Burtrum 849a85f1be Split into modules 2017-05-28 18:01:00 -04:00
Travis Burtrum 59cf4ff2cd Fork from beehive 2017-05-28 00:29:58 -04:00
Travis Burtrum d8f7e6df4a Initial JdbcMapper annotation support 2017-05-27 23:54:22 -04:00
Travis Burtrum 67ae0d257c Change getColumnName to getColumnLabel, should work the same on oracle and fix mysql... 2017-05-26 11:43:33 -04:00
Travis Burtrum 5d859c49d7 Fix test database use with multiple test classes 2017-05-18 14:59:16 -04:00
Travis Burtrum efd1d44808 Major refactor, more tests 2017-05-18 14:26:23 -04:00
Travis Burtrum e7639d740c Somewhat major re-factor, all tests pass now 2017-05-17 17:32:48 -04:00
Travis Burtrum b425bb49b0 Setup tests for all ResultSetMappers, fix some problems 2017-05-17 15:45:45 -04:00
Travis Burtrum c9e8037963 Cache options for CachingResultSetMapper too, added StaticCachingResultSetMapper and StaticCompilingResultSetMapper 2017-05-17 14:01:08 -04:00
Travis Burtrum ccbbb3929e Cache constructor in CachingResultSetMapper too 2017-05-17 13:49:36 -04:00
Travis Burtrum f97ad82389 Some re-factoring for lazy loading 2017-05-17 13:07:08 -04:00
Travis Burtrum 9310c759e6 Flexible cache implementation options in CompilingResultSetMapper 2017-05-17 12:35:28 -04:00
Travis Burtrum 34a7a55bfc Fix map and array mapping from CompilingResultSetMapper, add javadocs 2017-05-17 11:18:58 -04:00
Travis Burtrum 61010ec39e Handle booleans same way in CompilingResultSetMapper as ResultSetMapper 2017-05-17 10:15:27 -04:00
Travis Burtrum 2e6fce9786 Initial CompilingResultSetMapper implementation 2017-05-16 16:56:53 -04:00
Travis Burtrum 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
Travis Burtrum 1b2f248574 Add Compiler 2017-05-16 10:42:14 -04:00
Travis Burtrum 8ac701ea4a Fix NewDefaultObjectResultSetMapper 2017-04-20 14:53:43 -04:00
Travis Burtrum 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
Travis Burtrum fcc0fda3dc tools.jar is gone, depend on aptIn16s API 2017-04-20 13:35:28 -04:00
Travis Burtrum 6f4b54f5f3 Un-deprecate FormData, there will never be another major version, beehive as a whole is deprecated 2017-04-20 10:31:49 -04:00
Travis Burtrum 6bcb3d0039 Close context in a finally 2017-04-20 10:28:32 -04:00
Travis Burtrum a7e159b172 Add QueryMapper.noBind, which is skipped if sent in as one of the bindObjects 2015-09-25 16:55:58 -04:00
Travis Burtrum 1850272d64 [maven-release-plugin] prepare for next development iteration 2015-08-27 15:54:42 -04:00
Travis Burtrum 98bcef3dbb [maven-release-plugin] prepare release beehive-1.0.4 2015-08-27 15:54:41 -04:00
Travis Burtrum cae029e496 Suppress warnings in generated code 2015-05-28 12:54:44 -04:00
Travis Burtrum 95dcf6722c Have InList sql always be wrapped by parens 2015-05-01 09:45:51 -04:00
Travis Burtrum 430b4eab76 Make inListReplace string public 2015-04-29 13:05:18 -04:00
Travis Burtrum 04170dda82 Add ListQueryMapper and various InList implementations to assist with sql-in-type queries 2015-04-29 12:03:35 -04:00
Travis Burtrum bd02ce8372 [maven-release-plugin] prepare for next development iteration 2015-03-16 15:03:27 -04:00
Travis Burtrum c3b84adc3e [maven-release-plugin] prepare release beehive-1.0.3 2015-03-16 15:03:27 -04:00
Travis Burtrum 0c6a39eeb4 Add another test to ensure proper exception gets thrown when no proper constructor can be found 2015-03-16 14:50:08 -04:00
Travis Burtrum d0e71273f1 Prepare pom for easier release to maven central, require tests always 2015-03-16 14:38:02 -04:00
Travis Burtrum 79eac08efe Fix returning of primitive array types 2015-03-16 13:18:37 -04:00
Travis Burtrum bb40891e14 Add FinalTest to ensure the compiler in-lining behavior does not change in the future 2015-02-10 15:47:02 -05:00
Travis Burtrum c82f7ed3fc Proper fix for Anchor and TreeLabel to clear state after the current tag is finished 2014-10-13 11:31:53 -04:00
Travis Burtrum 898ce9533a Set _text to null in Anchor if the body content is empty.
Previously it just left it to whatever it was set to before,
which was super confusing and impossible to debug.
2014-10-07 15:49:45 -04:00
moparisthebest 1e7092c623 Remove check for valid arrayMaxLength value, now anything <= 0 just means unlimited 2014-09-10 11:59:03 -04:00
moparisthebest 4d574cb75f Change default arrayMaxLength for JdbcControls from 1024 to -1 (unlimited) 2014-09-10 11:45:50 -04:00
moparisthebest 01a6f53d59 Change default arrayMaxLength to unlimited when using ResultSetMapper/QueryMapper directly 2014-08-28 13:06:29 -04:00
moparisthebest bf48b9a40e Added another test 2014-07-24 12:13:47 -04:00
moparisthebest 27fd12ff57 Setup netui_tagIdNameMap in a way that allows for numeric IDs 2014-07-24 11:48:03 -04:00
moparisthebest e8314fc3bf Removed duplicated files from beehive-netui-tags/src/main/java that are in beehive-netui-tags/src/main/resources 2014-07-24 11:46:57 -04:00
moparisthebest ff95f2d559 Fix AptTask where the proper apt isn't first on the PATH (ubuntu), and allow it to be set manually if needed as well 2014-06-25 12:33:52 -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 a3647dd95a Depend on latest version of junit and change junit dependency in beehive-controls to provided for the one abstract test case in there 2014-06-11 13:35:49 -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