Rob Bygrave
7178085680
#993 - ENH: Add flush() to EbeanServer and Model to make it more accessible than the current transaction.flushBatch() - Add Ebean.flush()
2017-03-13 23:13:41 +13:00
Rob Bygrave
4d82b86f81
#993 - ENH: Add flush() to EbeanServer and Model to make it more accessible than the current transaction.flushBatch()
2017-03-13 23:07:17 +13:00
Rob Bygrave
1d99a5c5a4
#992 - API Change - Change Transaction.close() to throw PersistenceException rather than IOException
2017-03-13 22:10:08 +13:00
Rob Bygrave
c8d01828b3
#991 ENH: Add forUpdateNoWait() and forUpdateSkipLocked() options ... #528 ENH: Improve exception handling
2017-03-13 20:50:22 +13:00
Péter Csubák and Rob Bygrave
a3dbd4538f
Wrong cast to query and childid propblem fix ( #990 )
2017-03-11 12:21:34 +13:00
Rob Bygrave
3051412d90
#989 - ENH: Support @DbArray with Set ... (addition to the existing List support)
2017-03-10 20:50:07 +13:00
Rob Bygrave
140c1dd965
#985 - IllegalArgumentException when using @DbArray of type List<String> with @ChangeLog
2017-03-05 11:40:17 +13:00
Rob Bygrave
75b9e748f4
#985 - IllegalArgumentException when using @DbArray of type List<String> with @ChangeLog
2017-03-05 11:40:08 +13:00
Koen De Groote and Rob Bygrave
289c0253b1
Warning suppressions. ( #986 )
...
* Went over compilation warnings with Xlint. Only imports for DateMidnight are left, as they cannot receive a suppression annotation.
Not doing this one.
* Doing inline fully qualified path of the deprecated path.
2017-03-05 11:08:45 +13:00
Rob Bygrave
07ce758302
#984 - ENH: DocumentStore API - add RawDoc with findEach() and findEachWhile()
2017-03-02 01:12:02 +13:00
Rob Bygrave
d91729f65d
#983 - Add credentials configuration support for document store (like basic auth for ElasticSearch)
2017-03-01 22:15:28 +13:00
Roland Praml and Rob Bygrave
5f63d5c35f
Fix multi tenant bean change ( #982 )
...
* FIX: beanChange has tenant-id
* FIX: NPE in DefaultServer.currentTenantId()
2017-02-26 13:12:26 +13:00
Rob Bygrave
23e1ab4bfd
No effective change - imports
2017-02-26 13:10:42 +13:00
Rob Bygrave
0e2900d796
#980 - fix several bugs in findSingleAttibute - Refactor moving logic into DefaultOrmQuery setDefaultSelectClause() from findSingleAttributeList() (to support alternate calling via EbeanServer)
2017-02-26 13:08:10 +13:00
Roland Praml and Rob Bygrave
a46e086dc4
fix several bugs in findSingleAttibute ( #980 )
...
* add test case for distinct on id property
* suggested fix for "select distinct id"
* add test case for distinct with fetch
* FIX: .setDistinct(true) can be used in conjunction with fetch() now
* add test case for distinct with beans that have a disriminator column
* FIX: discriminator column is only read if also Id is read.
* fine tuned the test case
* added test cases for findSingleAttributeList without distinct
* improved fix to support also findSingleAttribute without distinct
* ADD: Bonus test case - assertion not yet verified
2017-02-26 12:37:36 +13:00
Roland Praml and Rob Bygrave
40ca179509
FIX: do not hit database if inherited entity has no children ( #974 )
...
* FIX: do not hit database if inherited entity has no children
* ADD: Testcase for creating references of inherited beans
2017-02-26 12:25:55 +13:00
Roland Praml and Rob Bygrave
7632910027
FIX: potential NPE - manager can be null - eg when creted with new ExternalJdbcTransaction(conn) ( #979 )
2017-02-24 12:53:35 +13:00
Roland Praml and Rob Bygrave
ca777d7967
no effective code change: add some try-with resources ( #978 )
...
* no effective code change: add some try-with resources
* moved return statement outside try-with-resources, because otherwise the order changes
2017-02-24 12:52:22 +13:00
Roland Praml and Rob Bygrave
a315c7c11e
More small fixes ( #977 )
...
* no effecitve code change: add @FunctionalInterface to designated interfaces
* no effective code change: removed obsolete imports
* no effective code change: removed obsolete @SuppressWarnings
* no effective code change: add @SuppressWarnings to UUID_PLACEHOLDER
2017-02-24 08:42:27 +13:00
Rob Bygrave
35f3f53443
No effective change - format and imports only
2017-02-24 00:06:13 +13:00
Roland Praml and Rob Bygrave
40f5596837
add missing @override ( #975 )
...
* no effective code change: add missing @override in "io.ebean.*" package
* no effective code change: add missing @override in "io.ebeaninternal.api.*" package
* no effective code change: add missing @override in "io.ebeaninternal.server.*" package
* no effective code change: add missing @override in "io.ebeaninternal.util.*" package
* no effective code change: add missing @override in "io.ebeanservice.*" package
* no effective code change: add missing @override in "src/test/java/"
2017-02-24 00:01:25 +13:00
maksym-kit and Rob Bygrave
43c978e41a
Pass dataType to DataBind for Types.OTHER ( #923 )
2017-02-23 23:50:43 +13:00
Koen De Groote and Rob Bygrave
6120a465e1
Simple fixes ( #976 )
...
* Should be only the really simple stuff.
* Final cleanups.
2017-02-23 23:46:51 +13:00
Rob Bygrave
8bb884374b
#970 - FOR UPDATE queries are not honored when beans are already cached
2017-02-21 22:53:14 +13:00
Rob Bygrave
3d8db775f7
#966 - ENH: Add serverConfig.setDbOffline(true) ... for creating new EbeanServer without a DataSource (for DbMigration typically)
2017-02-21 22:04:28 +13:00
Rob Bygrave
b3b8f6b154
#973 - Refactor - Tidy internals of DefaultBeanLoader
2017-02-21 21:57:11 +13:00
Rob Bygrave
82102340b8
#960 - Incorrect query when using '.betweenProperties' with '@SoftDelete'
2017-02-09 23:43:45 +13:00
Rob Bygrave
d9e884b8bd
#969 - ENH: Add Finder.query(String ormQuery) ... helper method
2017-02-09 23:27:13 +13:00
Rob Bygrave
6744c7886a
#968 - Refactor - Update ANTLR 4 generated code to 4.6
2017-02-09 23:20:33 +13:00
Rob Bygrave
7cfdd331ca
Merge branch 'master' of github.com:ebean-orm/ebean
2017-02-09 22:37:58 +13:00
Rob Bygrave
7e15faa9a8
#967 - ENH: Add DocStoreConfig.setAllowAllCertificates(true) ...
2017-02-09 22:37:25 +13:00
Roland Praml and Rob Bygrave
1292c86b76
removed duplicate StringHelper ( #958 )
2017-01-31 22:10:45 +13:00
Rob Bygrave
0260a73cb6
#957 - Javadoc update only
2017-01-27 00:36:25 +13:00
Rob Bygrave
a4b49dfa27
No effective change - Fix javadoc issues in Finder
2017-01-12 18:53:34 +13:00
Rob Bygrave
2fa4345742
#945 - Invalid SQL when using @Aggregation with a fetch() to a ManyToOne - missing columns in GROUP BY
2017-01-12 00:42:27 +13:00
Rob Bygrave
d9147327c1
#944 - Incorrect join (should be outer join) when predicate only path traverses an optional relationship to a mandatory relationship
2017-01-11 23:21:50 +13:00
Rob Bygrave
5ad9a611f9
#941 - @Transactional( type = TxType.MANDATORY ) creates a new transaction even if there is one available
2017-01-11 22:41:22 +13:00
Rob Bygrave
3fb497b651
No effective change - style, merge ifs
2017-01-11 22:17:29 +13:00
Rob Bygrave
fbfe5d1ff8
#943 - Refactor internals - Performance tweak / tidy for WhoCreated, WhoModified on OneToMany connections. #942
2017-01-11 21:42:23 +13:00
Rob Bygrave
b6f21f8649
No effective change - refactor merge AnnotationFields initWhoModified() and initWhoCreated() methods
2017-01-11 20:59:11 +13:00
Nagy Vilmos and Rob Bygrave
8fd04807c7
WhoCreated, WhoModified on OneToMany connections. ( #942 )
...
* WhoCreated, WhoModified on OneToMany connections.
* PostgreSQL table name fix in tests.
2017-01-11 20:54:20 +13:00
Rob Bygrave
8d39b0a996
#940 - Allow findNative to use @Formula properties (add test for MySql := use with RawSql and findNative)
2017-01-09 22:29:15 +13:00
Rob Bygrave
0efcf1eeb3
Merge branch 'master' of github.com:ebean-orm/ebean
2017-01-09 19:40:23 +13:00
Rob Bygrave
335cef870f
#939 - Make ModifyAwareSet serializable ... (for serializable entity beans with @DbJson etc)
2017-01-09 19:39:54 +13:00
Michael Benz and Rob Bygrave
4c40962f04
MigrationXmlWriter adds DOCTYPE xml to avoid warning of missing external DTD in eclipse IDE. ( #937 )
2017-01-05 09:16:39 +13:00
Nagy Vilmos and Rob Bygrave
073ea9c550
SQL Server boolean mapping fix ( #932 )
2017-01-01 19:52:57 +13:00
Rob Bygrave
88df6ffc6e
#931 - Refactor internals - DefaultTypeManager ...
2016-12-23 13:33:11 +13:00
Rob Bygrave
3efcfec300
#930 - Refactor (renames etc) for SQL Server History support
2016-12-23 13:18:15 +13:00
vilmos.nagy
9ae27ddcdd
SqlServer 2016 history support.
2016-12-22 19:22:44 +01:00
Rob Bygrave
3e419d3e3a
No effective change - test ebean.properties back to H2 for default
2016-12-20 21:31:02 +13:00