Rob Bygrave
140c1dd965
#985 - IllegalArgumentException when using @DbArray of type List<String> with @ChangeLog
2017-03-05 11:40:17 +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
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
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
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
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
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
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
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
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
335cef870f
#939 - Make ModifyAwareSet serializable ... (for serializable entity beans with @DbJson etc)
2017-01-09 19:39:54 +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
ab2d5fb4c8
No effective change - update test to use trimmed sql (trim out sql column alias to allow it to be optional)
2016-12-20 21:14:12 +13:00
Rob Bygrave
809901ff13
No effective change - update H2 specific test
2016-12-20 21:02:36 +13:00
Rob Bygrave
fcc58d77e8
No effective change - update tests using Platform enum rather than name
2016-12-20 20:41:55 +13:00
Rob Bygrave
bc93a82b1a
#900 - Error - Can't fetch JsonDB field - org.postgresql.util.PSQLException: ERROR: could not identify an equality operator for type json
2016-12-20 03:00:08 +13:00
Rob Bygrave
84e1e12b66
#900 - Error - Can't fetch JsonDB field - org.postgresql.util.PSQLException: ERROR: could not identify an equality operator for type json
2016-12-20 02:59:47 +13:00
Rob Bygrave
cf37fda3f4
#921 - Refactor internals - Change internal use of "findRowCount" to "findCount"
2016-12-13 19:51:11 +13:00
Rob Bygrave
0eef69a277
#920 - Change logger package to io.ebean (e.g. for logging SQL instead of org.avaje.ebean.SQL use io.ebean.SQL)
2016-12-11 23:42:38 +13:00
Rob Bygrave
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00
Rob Bygrave
a727a98a21
#917 - ENH: Add findNative() ... ala automatic mapping of native SQL into object graphs / paths.
2016-12-09 23:45:57 +13:00
Rob Bygrave
8ae61074ad
#914 - Fix multi-tenancy support such that it automatically propagates the tenantId for lazy loading
2016-12-08 22:04:18 +13:00
Rob Bygrave
c3bc0c4975
#913 - IllegalArgumentException: No enum constant com.avaje.ebean.config.Platform.HSQLDB
2016-12-07 21:58:07 +13:00
Rob Bygrave
611bba272a
Modify testAggregationCount to make MySql happy - avoid count(u1.*)
2016-12-07 21:39:26 +13:00
Rob Bygrave
f66ea12fbf
#912 - Refactor - move platform specfic code into subpackages
2016-12-03 15:39:24 +13:00
Rob Bygrave
707912f7ad
No effective change - add some wait into history test (TestHistoryInsert)
2016-12-03 13:55:45 +13:00
Rob Bygrave
5ce31b16d4
#910 - SQL Server update - refactor rename platform to SqlServerPlatform
2016-12-03 13:30:17 +13:00
Rob Bygrave
14dedb7b9a
#910 - SQL Server update
2016-12-03 13:18:33 +13:00
Rob Bygrave
2dbd543127
#909 - @Lob with @Size ... produces incorrect DDL for Postgres
2016-12-03 08:42:46 +13:00
Rob Bygrave
cc989af1c6
#908 - Remove support for Immutable Compound Values
2016-12-02 22:49:00 +13:00
Rob Bygrave
0aad285f35
#907 - Remove Model.Finder ... migrate to Finder
2016-12-02 21:47:30 +13:00
Rob Bygrave
a3754e31f2
#906 - Add NamingConvention Support for JoinColumn (OneToMany, ManyToOne) - was PR #887
2016-12-02 21:21:19 +13:00
Rob Bygrave
6e2d7a89f8
#493 - ENH: Multi-tenant support - update bootup DataSource check
2016-12-01 21:02:52 +13:00
Rob Bygrave
3a28dd0d55
#493 - ENH: Multi-tenant support - nice error when explicit DatabasePlatform not set, turn off DDL run automatically
2016-12-01 20:23:42 +13:00
Rob Bygrave
502e9daaf2
#493 - ENH: Multi-tenant support - cache tidy up
2016-12-01 00:27:32 +13:00
Rob Bygrave
c0341458c3
#493 - ENH: Multi-tenant support
2016-11-29 01:34:45 +13:00
Rob Bygrave
c46b235eff
#904 - ENH: Add @PreSoftDelete @PostSoftDelete ... such that methods on beans can be used for these callbacks
2016-11-28 22:24:17 +13:00
Rob Bygrave
588d5c5cfa
#902 - EJsonWriter.write(Object object, Writer writer) ... closes the writer but should not
2016-11-28 21:27:14 +13:00