rob bygrave
dc96fb9ad5
No effective change - update test, better asserts
2017-08-15 21:47:21 +12:00
rob bygrave
b74fed7073
Bump to 10.4.1 agent (@Transient properties included in mapped superclass enhancement detection)
2017-08-04 22:59:53 +12:00
rob bygrave
b9cc584086
#1080 - NOT IN expression using entity beans / reference beans uses "in"
2017-08-03 20:31:18 +12:00
rob bygrave
66138e5ea2
#1070 Fix for - Create test for bean cache not being cleared with delete or update queries
2017-07-21 23:31:23 +12:00
Rien Nentjes
75fb89ef76
Create test for bean cache not being cleared with delete or update queries
2017-07-14 11:04:43 +02:00
rob bygrave
166bcd7c45
#1061 - findCount query is not cached in L2 query cache
2017-07-06 21:51:52 +12:00
rob bygrave
95aed6af54
#1060 - findSingleAttributeList doesn't store result in L2 query cache
2017-07-06 21:35:20 +12:00
Roland Praml and Rob Bygrave
2001539755
Sqlserver support ( #1053 )
...
* made some tests sqlserver ready (No effective code change in src/main)
* FIX enhance packages and let all testcases inherit from BaseTestCase, so that they can be launched directly from eclipse
* ADD sqldriver in pom and datasource
* FIX: DDL-generation for sqlserver - not yet all sqlserver tests passing
mvn verify -Ddatasource.default=mssql => Tests run: 1980, Failures: 22, Errors: 44, Skipped: 16
* BaseDdlHandlerTest checks against correct sqlserver-ddl now
2017-07-03 20:27:37 +12:00
rob bygrave
15be31fd5f
#1051 - Remove ServerConfig h2ProductionMode ... means for testing with h2 explicitly set ddlGenerate and ddlRun
2017-07-02 11:42:56 +12:00
rob bygrave
e913f88f52
Fix test - TestCommitAndContinue ... close extra transactions used in asserts
2017-06-25 21:43:37 +12:00
rob bygrave
f1f2a416d3
No effective change - reformat only
2017-06-23 23:19:22 +12:00
rob bygrave
3f04f7f363
Merge branch 'master' of https://github.com/SamhammerAG/ebean into SamhammerAG-master
2017-06-23 19:52:55 +12:00
rob bygrave
800f854a12
#1043 Additional test for RawSql with upper case SQL
2017-06-23 19:46:47 +12:00
Roland Praml and Rob Bygrave
0413c22e6e
no effective code change - fixed warnings about serialization, override, raw-types ( #1032 )
2017-06-23 19:33:03 +12:00
Roland Praml and Rob Bygrave
bc74d35651
FIX: correct behavior of "startsWith, "contains" etc ( #1031 )
...
* FIX: correct behavior of "startsWith" if string contains "like"-wildcards
* Removed likeClasues with disabled escaping in database platforms as bind values are properly escaped now.
2017-06-19 22:21:26 +12:00
AWoelfel
ce6d6269cd
Step to reproduce reset of dirty flag on L2 cached entities after lazy load
2017-06-08 15:07:32 +02:00
rob bygrave
d04954e46f
#999 - @DiscriminatorColumn columnDefinition is ignored for DDL generation
2017-05-20 15:03:21 +12:00
rob bygrave
0c1a9786a3
#996 Add findOne() and findOneOrEmpty() - SqlQuery
2017-05-19 23:48:41 +12:00
rob bygrave
db298a349e
#996 Add findOne() and findOneOrEmpty()
2017-05-19 23:38:40 +12:00
Roland Praml and Rob Bygrave
933595ceea
ADD: Testcases for "fetchDistinct" ( #1024 )
...
* ADD: Testcases for "fetchDistinct"
* Updated the tests for #1024
2017-05-14 17:39:07 +12:00
rob bygrave
711701932a
#1023 - Bug with findSingleAttributeList() when used against @ManyToOne / foreign key
2017-05-11 23:20:19 +12:00
Rien Nentjes
2a64a02211
Discriminator query cache error
2017-05-04 14:16:38 +02:00
Rob Bygrave
67ef0cd5d9
Refactor - repackage / move test code only
2017-05-01 20:39:49 +12:00
Roland Praml and Rob Bygrave
f9c70d2a2b
Fix/select distinct cascaded fetch ( #1015 )
...
Fix/select distinct cascaded fetch with findSingleAttributeList() on associated property path
2017-04-30 23:07:35 +12:00
OndrejPacay and Rob Bygrave
63def00626
#1012 - Filtering on embedded values in a joined table does not produce a sql join ( #1013 )
2017-04-30 22:33:02 +12:00
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
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
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
d9e884b8bd
#969 - ENH: Add Finder.query(String ormQuery) ... helper method
2017-02-09 23:27:13 +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
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
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00