Rob Bygrave
8a9ab39a01
Fix for #138 Issue with lazy loading after a findIterate query
2014-05-30 02:50:51 +12:00
Rob Bygrave
84e5a6145e
Fix for #137 - transaction.setBatchFlushOnQuery(false) not working for
...
some queries
2014-05-30 01:35:19 +12:00
Rob Bygrave
1f5618d0e3
Fix for #136 - Minor - not log extra SQL into log when using jdbc batch
...
mode
2014-05-30 01:32:44 +12:00
Rob Bygrave
b1de821817
Fix for #135 Make Model abstract, change db() and db(server) to be
...
static methods.
2014-05-30 01:30:57 +12:00
Rob Bygrave
a4b145bc2d
Updated Model - javadoc and cleanup
2014-05-27 22:19:41 +12:00
Rob Bygrave
5491b27528
Fix for #131 - Memory issue (Hard refs) when using findIterate
2014-05-27 20:35:53 +12:00
Rob Bygrave
9211c7e6ab
Update Model - insert,update,delete to other server, db(), db(server)
...
and javadoc tweaks
2014-05-26 01:18:17 +12:00
Rob Bygrave
5bcb6cd116
Cleanup of Model and Finder
2014-05-25 02:33:08 +12:00
Rob Bygrave
534f2c8b07
Initial cleanup of Model and Finder
2014-05-25 02:22:36 +12:00
Rob Bygrave
7ad390934e
Add protected method on Ebean to specifically support mocking out the
...
default server.
2014-05-25 01:59:34 +12:00
Rob Bygrave
2a651c38e3
Initial add of Model and Finder
2014-05-25 00:27:32 +12:00
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
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
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
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
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
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
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
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
77f7bc2a7e
Fix for #111 - Ebean doesn't honor @Transient for non-primitive array properties
2014-04-29 21:20:42 +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
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
27803afe64
Test and Fix for #39 - TestOnCascadeDeleteChildrenWithCompositeKeys from hei1233212000, with fix included
2014-04-25 22:32:33 +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
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
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
Rob Bygrave
a7df7da984
Fix #23 - Covers: unit tests for: stateless updates which fails when executing without...
2014-04-23 21:16:30 +12:00
Rob Bygrave
1451ec0084
Fix for TestStatelessUpdate.testWithoutChangesAndVersionColumnAndIgnoreNullValues
2014-04-23 03:27:39 +12:00
Rob Bygrave
654b10154e
Fix for #83 - Bug: Stateless update cascading to OneToOne or ManyToOne incorrectly tries to INSERT rather than UPDATE
2014-04-23 02:31:08 +12:00
Rob Bygrave
0d1c9e2883
Fix for #91 Stateless Update API Change, #90 Removed BeanState.setReference(), #89 Remove support for multiple @Id properties
2014-04-23 01:51:27 +12:00
Rob Bygrave
5e2d592c2a
v4 refactor for diff() support
2014-04-21 12:34:51 +12:00
Rob Bygrave
2344f57f84
#88 - v4 - Breaking API Change - BeanPersistRequest.getOldValues() replaced with ... Map<String,ValuePair> getUpdatedValues()
2014-04-20 22:52:02 +12:00
Rob Bygrave
fc628d336d
Fix for #87 - v4 - Remove Query setBackgroundFetchAfter() feature
2014-04-20 19:30:40 +12:00
Rob Bygrave
18d9c53ce3
Fix for #86 - v4 - Remove deprecated QueryListener. You must convert to findIterate() or findVisit()
2014-04-20 17:18:13 +12:00
Rob Bygrave
811d298355
WIP - rename EntityBeanIntercept lazy loading property methods
2014-04-20 17:01:36 +12:00
Rob Bygrave
f7a37537db
WIP update api
2014-04-20 16:57:14 +12:00