Rob Bygrave
0e219a9bc6
Revert #1263 - ENH: Make Transaction API Fluid such that we can set multiple thing like batchSize and label in a fluid fashion #1276
2018-02-26 11:45:49 +13:00
Roland Praml
e3425a8850
FIX: possible resource leaking in testcases (all created transactions are closed by followed try statement) ( #1273 )
2018-02-26 08:40:53 +13:00
Rob Bygrave
8e9843ab8a
#1246 - Support use of application.yml and application-test.yml ... (as alternative to ebean.properties, test-ebean.properties)
2018-02-26 08:35:47 +13:00
Rob Bygrave
3d62e84d59
#1263 - ENH: Make Transaction API Fluid such that we can set multiple thing like batchSize and label in a fluid fashion
2018-02-16 14:40:35 +13:00
Rob Bygrave
bbef5a6bbb
#1243 - Add IDENTITY support for Oracle platform (since 12c Oracle supports auto generated identity)
2018-02-02 23:18:23 +13:00
Rob Bygrave
2d929837c4
No effective change - Update testing for profile location enhancement ( #1227 )
2018-01-24 19:11:59 +13:00
Rob Bygrave
07e2605a30
#1240 - ENH: Add support for @Transactional skipCache and label
2018-01-22 22:57:35 +13:00
Rob Bygrave
0a809b0fb3
#1239 - When Transaction.setSkipCache(true) ... Query with useQueryCache is still use L2 query cache
2018-01-19 10:46:49 +13:00
Rob Bygrave
14105eb1eb
#1236 - ENH: Add Transaction.current() ... as alternative to obtain the current transaction
2018-01-11 22:34:31 +13:00
Rob Bygrave
f0ddf6c7e6
#1213 - NPE with TxType SUPPORTS
2017-11-19 01:51:03 +13:00
Rob Bygrave
84bb4ff78c
#1207 - Regression added in 11.4.1 with NPE on @transactional(type = TxType.SUPPORTS)
2017-11-13 21:33:39 +13:00
Rob Bygrave
4054eda1f6
#1207 - Regression added in 11.4.1 with NPE on @transactional(type = TxType.SUPPORTS)
2017-11-13 21:32:52 +13:00
rob bygrave
f2179fca2d
#1123 - 11.1.1 API change - moved PersistBatch, Platform, TxIsolation and TxType to io.ebean.annotation package
2017-09-15 21:48:53 +12:00
Roland Praml
8d334ff2e8
Feature/contitional test runner ( #1132 )
...
* FIX: warnings (add generics, overrides, fix imports) - should be no effecive code change
* replaced deprecated methods by default methods
* FIX: more compiler warnings
* FIX more warnings - no code changes
* FIX: deprecated call to JsonParseException
* Remove unused code, check unused variables
* ADD: ContitonaltestRunner to skip tests for certain platforms
* Use annotations to control on which platforms a test shoud run
* FIX: compile errors
2017-09-15 21:03:03 +12:00
Roland Praml
b66f18bfd6
Fix warnings 2 ( #1130 )
...
* FIX: warnings (add generics, overrides, fix imports) - should be no effecive code change
* replaced deprecated methods by default methods
* FIX: more compiler warnings
* FIX more warnings - no code changes
* FIX: deprecated call to JsonParseException
* Remove unused code, check unused variables
2017-09-14 00:32:48 +12:00
Roland Praml
ac6708e0d0
Fix warnings ( #1129 )
...
* FIX: warnings (add generics, overrides, fix imports) - should be no effecive code change
* replaced deprecated methods by default methods
* FIX: more compiler warnings
* FIX more warnings - no code changes
2017-09-14 00:29:01 +12:00
rob bygrave
f77f3c3d6e
#1119 - Deprecate TxRunnable and TxCallable - migrate to plan JDK Runnable and Callable. Add explicit executeCall() method
2017-09-10 20:47:26 +12:00
rob bygrave
8c0232fdb8
#1114 - Deprecate findUnique() - please migrate to findOne() - update tests
2017-09-08 22:48:46 +12:00
Roland Praml
e908d16ba8
Pr/add tests ( #1103 )
...
* ADD: Testcase for Sqlserver-6.2.0 driver
* CHG: Removed Row-limit - so we need no special handling when sqlserver-platform generates a "select top 100" statement
* ADD: additional asserts to TestQueryCache
* CHG: Ignore test for sqlserver
2017-09-01 20:17:56 +12:00
Roland Praml
4c8e1113bf
FIX: deadlock in TestCommitAndContiune for sqlserver & hsqldb ( #1098 )
2017-08-30 20:03:41 +12:00
Roland Praml
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
67ef0cd5d9
Refactor - repackage / move test code only
2017-05-01 20:39:49 +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
Roland Praml
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
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
fcc58d77e8
No effective change - update tests using Platform enum rather than name
2016-12-20 20:41:55 +13:00
Rob Bygrave
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00