rob bygrave
e197bb2900
[maven-release-plugin] prepare release ebean-10.4.3
ebean-10.4.3
2017-08-31 01:50:06 +12:00
rob bygrave
b54b8815d9
Merge branch 'master' of github.com:ebean-orm/ebean
2017-08-30 21:59:08 +12:00
rob bygrave
1d1fde61be
#1101 - findNative() on a bean with an associated @OneToOne (with the PK being derived from the parent) maps incorrectly
2017-08-30 21:58:33 +12:00
rob bygrave
683186cbe9
No effective change - pom whitespace only
2017-08-30 21:14:20 +12:00
Roy de Bokx and Rob Bygrave
5e6be40454
Only throwing warning for autocommit when server is not set to use autocommit-friendly TransactionManager. ( #1085 )
2017-08-30 20:57:49 +12:00
Roland Praml and Rob Bygrave
c00febd95b
ENH: Abort all tests if connection to db could not be esablished ( #1099 )
2017-08-30 20:04:50 +12:00
Roland Praml and Rob Bygrave
4c8e1113bf
FIX: deadlock in TestCommitAndContiune for sqlserver & hsqldb ( #1098 )
2017-08-30 20:03:41 +12:00
Roland Praml and Rob Bygrave
6f854da70b
Fix/corrected error codes ( #1097 )
...
* FIX: db2plaform error codes and dbtypes
* FIX: H2: Add error code for locking
* FIX: Mysql: Add DataIntegrity-error code
2017-08-30 20:02:34 +12:00
Roland Praml and Rob Bygrave
3f5a162a4e
Fix/connection to different platforms ( #1096 )
...
* ADD: Profile for oracle and db2 to pom file. Downgraded mysql driver
* FIX: connection string for several platforms
* ADD: Documentation
2017-08-30 20:00:58 +12:00
Roland Praml and Rob Bygrave
d14529b602
FIX: optimized unique constraint handling for platforms that does support them on nullable columns ( #1095 )
2017-08-30 19:54:53 +12:00
Roland Praml and Rob Bygrave
f471961f06
FIX: extra-ddl modified to be compatible with different platfoms ( #1094 )
2017-08-30 17:51:41 +12:00
Roland Praml and Rob Bygrave
457c1356a4
Fix/shortened tablenames ( #1093 )
...
* FIX: Shortened tablename (will fail on oracle)
* FIX: renamed table, otherwise, in db2 he_link_doc & hi_link_ are both generating the same index ix_h_lnk_dc_h_dc
2017-08-30 17:50:40 +12:00
Roland Praml and Rob Bygrave
419ac2bf50
FIX: Possible NPE in StringHelper ( #1092 )
2017-08-30 17:49:34 +12:00
Roland Praml and Rob Bygrave
727d088577
FIX: add MAX-DATE as default value for ROW END ( #1091 )
2017-08-30 17:48:36 +12:00
Roland Praml and Rob Bygrave
972d2dcc6b
FIX: nvarchar(max) length specified differently, otherwise this leads to a ddl like this "nvarchar(max)(700)" ( #1090 )
2017-08-30 17:47:21 +12:00
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
567847b47a
#1081 - Update jackson-core dependency to 2.9.0
2017-08-05 00:11:53 +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
cdaf8ee6d5
[maven-release-plugin] prepare for next development iteration
2017-08-04 21:33:33 +12:00
rob bygrave
c6c5073e47
[maven-release-plugin] prepare release ebean-10.4.2
ebean-10.4.2
2017-08-04 21:33:19 +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
7a697c12af
No effective change - moved mssql-jdbc down with other test scope dependencies
2017-07-06 21:11:40 +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
rob bygrave
08263c4588
[maven-release-plugin] prepare for next development iteration
2017-07-05 21:41:12 +12:00
rob bygrave
1e88a52208
[maven-release-plugin] prepare release ebean-10.4.1
ebean-10.4.1
2017-07-05 21:40:58 +12:00
rob bygrave
e770a42175
Bump to 10.4.1-SNAPSHOT (due to ServerConfig h2ProductionMode removal)
2017-07-05 21:39:12 +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