Roland Praml and Rob Bygrave
a5bcd49ecb
FIX: Clean up before running tests - otherwise tests will fail if a previous test did not clean up well. (This fixes test failures in Eclipse where tests are executed in different order than in maven) ( #1089 )
2017-08-30 17:44:30 +12:00
Roland Praml and Rob Bygrave
ff496ad2d3
FIX: EnumToDbIntegerMap did not set 'integerType' - this leads to an incompatible quoting. Constraints like "check in ('1','2','3')" were not accepted by hsqldb on integer columns. ( #1088 )
2017-08-30 17:42:25 +12:00
Roland Praml and Rob Bygrave
24d438ba23
FIX: H2HistoryTrigger honors schema ( #1087 )
2017-08-30 17:38:52 +12:00
Roland Praml and Rob Bygrave
591067e39e
FIX: Typo in classname ( #1086 )
2017-08-30 17:37:45 +12:00
rob bygrave
38a95dc5c4
No effective change - Reformat code - ScalarTypeEnumStandard
2017-08-24 22:37:41 +12:00
icode and Rob Bygrave
53426d8493
use jackson configuration [SD]eserialization enum ( #1079 )
...
* use jackson configuration [SD]eserialization enum
https://github.com/FasterXML/jackson-databind/wiki/Serialization-features
https://github.com/FasterXML/jackson-databind/wiki/Deserialization-Features
keep jackson and ebean [SD]eserialization same
`objectMapper.enable(SerializationFeature.WRITE_ENUMS_USING_INDEX);`
* Update ScalarTypeEnumStandard.java
* Update ScalarTypeEnumStandard.java
* Update ScalarTypeEnumStandard.java
* Update ScalarTypeEnumStandard.java
2017-08-24 22:35:36 +12:00
rob bygrave
a06238558e
No effective change - Jackson WRITE_ENUMS_USING_INDEX test
2017-08-24 22:34:57 +12:00
Yuan Xuegui and Rob Bygrave
b3a3b19d5d
Fix: query table entity or sql entity has no id ( #1082 )
...
When query table entity or sql entity,include NamedQuery which modified via code and RawSqlQuery which modified via code.
2017-08-24 22:18:46 +12:00
rob bygrave
57231c80a8
#1084 - NPE When DB Migration generation run with @WhoCreated mapping
2017-08-24 22:15:01 +12:00
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
2a58b954e9
#1062 - Multi-tenant - Update statements should include tenantId in where clause
2017-08-04 21:16:14 +12:00
Koen De Groote and Rob Bygrave
9772623880
Added the Serializable interface to classes that extend/implement a Comparator with an anonymous/typed class. ( #1078 )
2017-08-03 23:29:56 +12:00
rob bygrave
27b6183aad
Merge branch 'master' of github.com:ebean-orm/ebean
2017-08-03 23:28:35 +12:00
David Hofmann and Rob Bygrave
55e19618f8
fix connection leak in JTA managed transactions ( #1077 )
2017-08-03 23:28:21 +12:00
rob bygrave
5c60ba4d7f
Update test for WriteJson to just use PathProperties
2017-08-03 23:01:22 +12:00
rob bygrave
b9cc584086
#1080 - NOT IN expression using entity beans / reference beans uses "in"
2017-08-03 20:31:18 +12:00
Koen De Groote and Rob Bygrave
bf5a8c2fad
Changed some boolean checks to use the recommended method of comparing floating point values in Java. ( #1075 )
2017-07-22 13:00:24 +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
a2cb468222
No effective change - add test resource ebean.mf to hint to enhancement agent packages to enhance
2017-07-11 21:11:54 +12: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
rob bygrave
23278ce30b
#1058 - Refactor - PlatformPrefix isn't actually used in PlatformDddlWriter, removing.
2017-07-06 20:30:20 +12:00
Koen De Groote and Rob Bygrave
36a5610e25
Using Regular expression objects for splitting and replacing in strings. ( #1059 )
...
* Where possible, replace .split() and .replace() methods with compiled Regex patterns.
This prevents a regular expression from being compiled multiple times during runtime.
* Forgot making one instance `private static final`.
2017-07-06 20:14:51 +12:00
Thibault Meyer and Rob Bygrave
35b467c04f
JSON simple implementation for MSSQL ( #1057 )
...
- Use JSON_VALUE
- Use NVARCHAR type
Signed-off-by: Thibault Meyer <meyer.thibault@gmail.com >
2017-07-03 20:45:48 +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
e49c4bfe5a
#867 - ENH: Add ability to globally use quoted identifiers on all tables and columns
2017-07-02 21:07:58 +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
080bafe18f
#1048 - Fix connection leak on failed findIterate()
2017-06-25 22:39:04 +12:00
rob bygrave
e913f88f52
Fix test - TestCommitAndContinue ... close extra transactions used in asserts
2017-06-25 21:43:37 +12:00
rob bygrave
e94c5484a0
#1047 - Fix connection leak on failed beginTransaction()
2017-06-25 21:42:51 +12:00
rob bygrave
520d35b1d6
#963 - NullPointerException on no version provided (when setVersion(null) is used)
2017-06-25 14:44:13 +12:00
rob bygrave
8ca3599cbf
#1046 Bump DB migration to 10.1.9 - fix for Checksum mismatch does not stop migration
2017-06-25 14:29:46 +12:00
rob bygrave
283ae74219
Update javadoc on ScalarTypeConverter. Should look to officially deprecate this in favor of AttributeConverter.
2017-06-24 11:35:58 +12:00
rob bygrave
cebd3f92a4
#1045 - MySql - DbMigration generate wrong comment syntax - should be alter table comment = syntax
2017-06-24 11:23:21 +12:00
rob bygrave
4b2481d3ea
#1039 Fix for - reset of dirty flag on L2 cached entities after lazy load
2017-06-23 23:20:17 +12:00
rob bygrave
f1f2a416d3
No effective change - reformat only
2017-06-23 23:19:22 +12:00
rob bygrave
74dd97a55f
No effective change
2017-06-23 23:18:57 +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
rob bygrave
bef9e6d54f
Merge branch 'master' of github.com:ebean-orm/ebean
2017-06-23 19:43:45 +12:00
Tigran_Dadaiants and Rob Bygrave
0e4c0ae6c3
#1043 RawSql should automatically map upper-case column alias to lower-case bean property ( #1044 )
2017-06-23 19:43:15 +12:00
rob bygrave
a0ea9887df
No effective change - remove unused imports
2017-06-23 19:37:24 +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
rob bygrave
100d314e63
#1035 Update for - FIX: deleting and adding same bean in beanCollection leads to deletion in DB
...
If use Modify mode we need to listen for both adds and removes to support sorting (can't rely on undoDelete() due to ordering)
2017-06-19 23:34:44 +12:00
rob bygrave
dbf4e99187
#1035 tests for - FIX: deleting and adding same bean in beanCollection leads to deletion in DB
2017-06-19 23:32:58 +12:00
Roland Praml and Rob Bygrave
7b8a85106c
FIX: deleting and adding same bean in beanCollection leads to deletion in DB ( #1035 )
2017-06-19 22:50:20 +12:00
rob bygrave
58c5f01e2b
#1042 - JtaTransaction is TenantMode.DB aware
2017-06-19 22:28:15 +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