James Roper and Rob Bygrave
ddd30f9ea0
Backport to JDK 6
...
Replaced all uses of ju.Objects.hashCode and ju.Objects.equals with a
copy of their implementations inlined into the code.
Also changed source/target for compiler plugin.
To test, I compiled my own avaje launchagent against 6, and changed to
use that in the pom, compiled/tested the whole project using JDK 7,
then ran mvn surefire:test using JDK 6 - running surefire:test ensures
that mvn doesn't try to recompile everything against 6, since that's not
possible because of some of the delegate classes having delegate methods
to JDK 7 jdbc classes.
2014-05-24 22:51:05 +12:00
Rob Bygrave
b8743a5ef2
Fix for #85 - Invalid query when ORDER BY with DISTINCT
2014-05-18 23:00:28 +12:00
Rob Bygrave
b587aa8172
No effective change - touch up test assert
2014-05-18 22:04:37 +12:00
Rob Bygrave
c37fa83675
No effective change - update test with better assert
2014-05-18 21:51:14 +12:00
Rob Bygrave
08602afcff
Fix for #37 - disjunction expression should not produce inner join - left outer join instead
2014-05-18 21:17:19 +12:00
Rob Bygrave
5b98d82f58
No effective change - reformat
2014-05-17 23:53:23 +12:00
Rob Bygrave
22cd5b0e82
Fix for #128 storing UUID as binary
2014-05-17 21:52:51 +12:00
Rob Bygrave
93855478dd
Fix for #128 storing UUID as binary
2014-05-17 21:52:18 +12:00
Rob Bygrave
59b86d5b19
Fix for #128 - UUID stored as binary(16) rather than varchar(40)
2014-05-17 21:51:18 +12:00
Rob Bygrave
27afb9ee2e
Merge pull request #41 from corux/master
...
Unit test for BUG 402 / #37
2014-05-17 01:31:21 +12:00
Rob Bygrave
a49cd42a0c
Fix for #119 - Add support for @PrePersist, @PostPersist, @PostLoad
2014-05-17 01:24:32 +12:00
Rob Bygrave
8c8442ec58
Fix for #112 - ENH (411) : RawSql to support discriminator column mapping.
2014-05-17 00:11:44 +12:00
Rob Bygrave
41f3173adf
Add PagedList was part of #96
2014-05-16 01:41:56 +12:00
Rob Bygrave
1a4192b40f
Add another embedded bean l2 cache test
2014-05-15 23:57:20 +12:00
Rob Bygrave
fffda7c789
Test and additional fix for #56 - Using findIterate with MySQL streams
...
the entire result set at once
2014-05-15 22:08:23 +12:00
Rob Bygrave
b7f6596bcb
Test case for #109 - Ebean magically adding +1 hour for a datetime that is inside the hour of a daylight saving change. This issue does not reproduce.
2014-05-15 00:18:03 +12:00
Rob Bygrave
1ea49dd206
Test for #110 - BeanSet of sub type with inheritance has null listen mode
2014-05-15 00:07:25 +12:00
Rob Bygrave
32e4f114b4
No effective change - cleanup of imports on test code
2014-05-14 23:47:46 +12:00
Rob Bygrave
fcbedda597
Fix for #102 - When using @Transient along with @Formula I'm not seeing any values in the field.
2014-05-14 23:35:15 +12:00
Rob Bygrave
2055349d76
Fix for #103 DDL creation doesn't handle nullable attribute of @JoinColumn
2014-05-14 23:21:31 +12:00
Rob Bygrave
44ee64cde5
Fix for #57 - Embedded Entities with Autofetch Exception, plus some additional tests
2014-05-14 23:13:14 +12:00
Rob Bygrave
9f916998c9
Test and Fix for #127 Exception using findIds() with inheritance
...
SINGLE_TABLE
2014-05-14 21:10:52 +12:00
Rob Bygrave
2ddef37632
Merge pull request #58 from mbell697/autofetch-embedded
...
Failing test case for issue #57
2014-05-01 00:21:59 +12:00
Rob Bygrave
538ebdc899
Fix for #122 Allow the global row limit for queries to be configurable ( CQuery.GLOBAL_ROW_LIMIT)
2014-05-01 00:12:48 +12:00
Rob Bygrave
d6e0d661fb
no effective change - javadoc update
2014-05-01 00:11:59 +12:00
Rob Bygrave
289deb397a
Embedded beans support in l2 cache - initial work
2014-04-30 01:49:20 +12:00
Rob Bygrave
68b4aab837
Add test for old (427) : Binding enum on find throws No ScalarType registered
2014-04-30 00:08:23 +12:00
Rob Bygrave
563293f7a9
Test case and fix for #113 (395) : On save @OneToOne does not cascade parent IDs to child node
2014-04-30 00:01:54 +12:00
Rob Bygrave
5049694fd3
Add test for old 408 bug - does not reproduce, not sure when fixed at this point
2014-04-29 23:19:03 +12:00
Rob Bygrave
a9c8d1960c
Add test - self referencing relationships: ResourceFile
2014-04-29 22:25:14 +12:00
Rob Bygrave
066b409a65
No effective change -Add test: Truck, Car, Wheel plus test code cleanup
2014-04-29 22:00:07 +12:00
Rob Bygrave
54ad2e0ad0
remove the Object[] transient from the test
2014-04-29 21:21:44 +12:00
Rob Bygrave
77f7bc2a7e
Fix for #111 - Ebean doesn't honor @Transient for non-primitive array properties
2014-04-29 21:20:42 +12:00
Rob Bygrave
f773d74597
Test for #105 - did not reproduce - Ebean is trying to delete new
...
objects added to the list of an entity and then removed without being
persisted before
2014-04-29 20:42:51 +12:00
Rob Bygrave
5ba66e4d78
#96 - marking findPagingList() as deprecated
2014-04-27 01:52:44 +12:00
Rob Bygrave
0eb7139426
Fix for #95 - Deprecating - Query findFutureList() and SqlQuery findFutureList()
2014-04-27 01:44:26 +12:00
Rob Bygrave
d16d92db54
Test case and Fix for #67 - Bug - @AttributeOverrides annotation for attribute definition in entity does not work for embedded primary keys
2014-04-27 00:57:29 +12:00
Rob Bygrave
dde59db411
Test case for #75 - Persistence Context Cache not cleared when updating an entity in a running transaction. Actually the test case does not fail.
2014-04-27 00:05:00 +12:00
Rob Bygrave
1a13fc9742
Fixes for #94 - Additional API - added update(Collection beans); and insert(Collection beans); and #93 - ebean.properties defaultDeleteMissingChildren moved to updatesDeleteMissingChildren
2014-04-26 23:43:08 +12:00
Rob Bygrave
e1ec0bcdfe
Test and Fix for #39 - TestOnCascadeDeleteChildrenWithCompositeKeys from hei1233212000, with fix included
2014-04-25 22:34:03 +12:00
Rob Bygrave
27803afe64
Test and Fix for #39 - TestOnCascadeDeleteChildrenWithCompositeKeys from hei1233212000, with fix included
2014-04-25 22:32:33 +12:00
Rob Bygrave
fb7abb44e0
Add a test for enhancement equals() and hashCode()
2014-04-25 19:23:56 +12:00
Rob Bygrave
14034ffaa0
Change to use enhancement for creating new entity bean instances
2014-04-25 15:54:07 +12:00
Rob Bygrave
75bcbc06e1
#53 - Add test for protected constructor
2014-04-25 15:19:50 +12:00
Rob Bygrave
bc75736780
merge of develop-v4
2014-04-25 14:36:06 +12:00
Rob Bygrave
ed0fe7fd57
Caching changes and refactoring, includes Fix for Wobu - TestCacheCollectionIds test case
2014-04-25 03:06:22 +12:00
wbuchner and Rob Bygrave
696dabc658
Add Wobu TestCacheDelete test case for cached beans
2014-04-24 02:42:28 +12:00
Wolfgang Buchner and Rob Bygrave
89f7d2bace
Test and fix for TestStatelessUpdate.testStatelessRecursiveUpdateWithVersionField()
2014-04-24 02:34:01 +12:00
Rob Bygrave
4c4e084e43
WIP update/refactoring on caching
2014-04-24 01:57:52 +12:00
Wolfgang Buchner and Rob Bygrave
2dccb818a2
unit test for: update ManyToMany collection cache on updating cached beans
2014-04-23 21:19:06 +12:00