rbygrave
713ba4889d
Clean up of test for #162
2014-07-10 21:23:45 +12:00
rbygrave
0543745e18
Test case for #162 - no issue reproduced, no assert failing
2014-07-10 19:48:06 +12:00
rbygrave
4e2bc6cce6
Fix for #166 - Incorrect join with @OneToOne optional on one side and
...
NOT optional on other side
2014-07-10 03:05:52 +12:00
rbygrave
f2d422ff5a
Test case for #165 - Incorrect join used when query language with where
...
expression has a many property and ends with a foreign key column
2014-07-10 01:20:51 +12:00
rbygrave
176197513d
No effective change - format only
2014-07-09 23:51:19 +12:00
rbygrave
1e3035c558
Fix for #164 - Incorrect join used when where expression has a many
...
property and ends with a foreign key column
2014-07-09 23:31:15 +12:00
rbygrave
17f7143447
Fix for #163 - Remove detection of autocommit=true from JdbcTransaction
2014-07-09 22:24:28 +12:00
rbygrave
394dfc96d1
Update Test - cleanup and add clarification test to TestManyWhereJoin
2014-07-09 22:23:31 +12:00
Rob Bygrave
452ce78c3d
Fix for #161 - DDL Generation - @OneToOne (foreign key column / JoinColumn) should default to having a unique constraint on it
2014-07-08 23:23:46 +12:00
Rob Bygrave
4cb13760c2
Fix for #160 - DDL generation throwing NPE at com.avaje.ebeaninternal.server.ddl.CreateTableVisitor.isDbColumnWritten(CreateTableVisitor.java:60)
2014-07-08 23:04:27 +12:00
Rob Bygrave
5cc2eff0d4
Fix for #158 - Add support for using setDistinct (by excluding id property from generated sql)
2014-07-07 23:29:48 +12:00
Rob Bygrave
af9a01be77
No effective change - update test
2014-07-05 23:08:09 +12:00
Rob Bygrave
cceb7c035c
Fix for #159 - Refactor - cleanup clode when closing query only transaction + change default option
2014-07-05 22:10:53 +12:00
Rob Bygrave
1ddc103582
Fix for #157 - Regression for @OrderBy on a @ManyToMany property due to change from issue 154
2014-07-02 23:56:42 +12:00
Rob Bygrave
b973cc3b86
No effective change - imports of Assert in tests + formatting
2014-07-02 23:29:54 +12:00
Rob Bygrave
10f0ea9bae
No effective change - code format and tidy up
2014-07-02 23:10:53 +12:00
Rob Bygrave
c49dd54500
Improve exception throw in BeanReflectProperties when _ebean_props not found
2014-07-02 21:23:28 +12:00
Rob Bygrave
f88524b34c
Fix for #156 - NPE in DDL Generation when Embedded bean as column with unique constraint
2014-06-30 22:03:31 +12:00
Rob Bygrave
0ceda6406e
WIP on JSON refactor
2014-06-28 03:09:10 +12:00
Rob Bygrave
6838b4df4f
Fix for #155 Add markAsDirty() method
2014-06-27 23:08:36 +12:00
Rob Bygrave
7966d74eb3
Just tweaking some very common string appending with buffer size prediction
2014-06-26 01:15:48 +12:00
Rob Bygrave
1109d412e7
Fix for #154 - @OrderBy on a @OneToMany property is not used when lazy loading
2014-06-26 00:37:31 +12:00
Rob Bygrave
3e33ece65a
No effective change - add protected modified
2014-06-26 00:12:55 +12:00
Rob Bygrave
e830d8efc7
Additional test in TestOrderByWithMany
2014-06-24 00:17:11 +12:00
Rob Bygrave
0b2ba2a82e
Fix for #151 - IllegalArgumentException using enum in filter - toBeanType() throws
2014-06-24 00:04:32 +12:00
Rob Bygrave
df526b8f3c
Fix for #149 - OneToMany with nested ManyToMany deletion bug
2014-06-23 23:34:22 +12:00
Rob Bygrave
8fe1f32e78
No effective change - code reformat on PersistRequestBean
2014-06-21 00:03:28 +12:00
Rob Bygrave
c5ea93fb8e
Fix for #150 - Stateless update - property changed in BeanPersistAdapter
...
preUpdate not included in update
2014-06-20 23:49:29 +12:00
Rob Bygrave
dd83bc4d26
Test BeanPersistAdapter with stateless update
2014-06-19 02:03:59 +12:00
Rob Bygrave
9b4b7a1a01
Opps, part of #108
2014-06-19 02:03:14 +12:00
Rob Bygrave
548fa745d6
Fix for #108 - ENH (443) : Postgres HStore support
2014-06-19 01:35:07 +12:00
Rob Bygrave
7d83e3f49e
Fix for #97 - ENH: (406) Add support for Postgres Serial type
2014-06-13 23:48:45 +12:00
Rob Bygrave
974284bf8a
Addition to fix for #139 - DDL constraint generation when table with schema
2014-06-13 02:38:14 +12:00
Rob Bygrave
b446f00cd8
Addition to fix for #139 - DDL constraint generation when table with schema
2014-06-12 23:48:40 +12:00
Rob Bygrave
a4095b4ae5
Fix for #142 - ENH: Add support for using RawSql with user supplied ResultSet
2014-06-12 21:11:14 +12:00
Rob Bygrave
af6dbd0dbe
Fix for #140 - Add some support for RawSql findRowCount, remove BeanCollection.hasMoreRows()
2014-06-10 23:52:05 +12:00
Rob Bygrave
db17ddd069
No effective change - tidy up test for findPagedList
2014-06-10 23:10:27 +12:00
Rob Bygrave
b6b85225e7
Fix for #139 - DDL constraint generation when table with schema
2014-06-10 21:13:16 +12:00
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
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