Rob Bygrave
1da2382e45
No effective change - javadoc only
2017-10-03 15:38:17 +13:00
Rob Bygrave
a86af94a8c
Reduce logging level only - no functional change
2017-10-03 15:35:21 +13:00
Rob Bygrave
8301cb634e
#1027 - ENH: Add a Slow query event listener ... to log or listen to queries that exceed some defined execution time
2017-10-03 15:04:30 +13:00
Rob Bygrave
721654d033
#1140 - Error loading embedded instance
...
The issue was due to the loaded status not being recursively set on embedded
beans after inserts. The test case invoked lazy loading due to that which
lead to the issue.
2017-10-03 12:47:29 +13:00
Rob Bygrave
fc996659f2
#1139 - NoSuchMethodError: javax.persistence.Embedded.prefix()Ljava/lang/String;
2017-10-03 11:02:38 +13:00
rob bygrave
368d22baa6
#1145 - Refactor @ChangeLog based on JSON documents for 'new values' and 'old values'
2017-10-03 01:31:37 +13:00
rob bygrave
daf3d97266
#1144 - Refactor internals - move generated property setting into PersistRequestBean
2017-10-03 00:30:34 +13:00
rob bygrave
2c436c3af5
#1123 - 11.1.1 API change - moved PersistBatch, Platform, TxIsolation and TxType to io.ebean.annotation package
2017-09-15 21:48:37 +12:00
Roland Praml and Rob Bygrave
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 and Rob Bygrave
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
b2e0271ce7
#1128 - Allow "2 word SQL" like TRUNCATE t, ANALYSE t etc
2017-09-13 21:40:17 +12:00
rob bygrave
c7a7651602
#1127 - Remove the ebean.query.globallimit of 1 million "backstop"
2017-09-13 21:22:03 +12:00
rob bygrave
1e6678cbb4
#1126 - Regression bug in 10.4.5 with new line character use with SqlQuery, SqlUpdate and CallableSql
2017-09-13 21:14:19 +12:00
Roland Praml and Rob Bygrave
a6e4e181bf
Feature/cache improvements 2 ( #1067 )
...
* New Mode to control queryCache behavior
* Collections form the cache have to be read only
* findCount not queried in query cache
* return modifiable collections from the cache
* FIX: Compile errors
* No effective code change: reformat code / javadoc
2017-09-12 23:40:18 +12:00
Roland Praml and Rob Bygrave
b8e1dffca2
replaced findUnique by "default" method in interfaces. ( #1124 )
2017-09-12 23:20:04 +12:00
rob bygrave
7e8ed72b7b
#1125 - ENH: Add a SpiContainerBootup API ... to enable automatic startup of docker containers (for testing usually)
2017-09-12 22:44:37 +12:00
rob bygrave
179ef8c8a0
No effective change - javadoc update on Ebean
2017-09-10 21:23:37 +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
Roland Praml and Rob Bygrave
9a7646195c
Featur/dbmigration 3 ( #1118 )
...
* ADD: more test classes for Softdelete and History
* update reference models after adding test classes
* DbMigration:Improved History generation for sqlserver
* FIX: When DB supports Sql2011 platform, we must not alter the history-table (as this is handled by DB itself)
* DbMigration: When dropping a table, drop the sequence also.
* DbMigration: dropColumn is handled by platformDdl now, as SqlServerDdl needs to delete dependent objects (default constraints...) first
* FIX: DbMigration is not executed on history table
* DbMigration: can drop comment now.
* No effective code change: completed ObjectFactory / fixed imports
* FIX: drop table comment
* Committed the reference models
2017-09-10 15:26:01 +12:00
rob bygrave
ef05b81014
#1117 - Refactor - moved DbDefault and DbMigration annotations to ebean-annotation
2017-09-09 13:27:09 +12:00
rob bygrave
726c682984
#1116 - Remove references to annotation EbeanDDL which is no longer needed
2017-09-09 13:18:39 +12:00
rob bygrave
0c22a99fdf
#1116 - Remove references to annotation EbeanDDL which is no longer needed
2017-09-09 13:12:40 +12:00
rob bygrave
c062c8e001
#1054 Java 9 - adding "Automatic-Module-Name" to MANIFEST.MF initial step
...
Update dependency to ebean-migration 10.2.1, avaje-classpath-scanner and avaje-datasource to avoid package name clash
2017-09-09 01:53:47 +12:00
rob bygrave
06f3c000f5
#1115 - Trim SQL for SqlUpdate, SqlQuery and CallableSql - also replace \n with space
2017-09-08 23:45:28 +12:00
rob bygrave
2470486f20
#1114 - Deprecate findUnique() - please migrate to findOne()
2017-09-08 22:37:50 +12:00
rob bygrave
8fbf0374dd
No effective change - tidy around Db migration changes
2017-09-08 22:02:56 +12:00
Roland Praml and Rob Bygrave
dd8fff0277
Feature/ddl migration ( #1111 )
...
* REFACTOR: use functions from ddl-help
* NEW: Default values are written to DDL
* fix testcase for sqlserver as default constraints will get names in future
* Reading DbMigration
* ADD: DbmIgrationGenerateTest
* Tables must be created first
* Sanity checks and some getters
* DdlMigration gets applied now
* ADD: Testcase and reference migration scripts
* no effective code changes: add comments
2017-09-08 21:47:33 +12:00
Rob Bygrave
58eb49617b
#1113 - SqlUpdate with leading spaces leads to Invalid event detection (which table was update for L2 cache invalidation etc)
2017-09-07 00:36:52 +12:00
Rob Bygrave
9b621d2ec7
#1112 - Enhance JDBC batch behavior when cascade persist is turned off (manual master/detail batch persisting)
2017-09-06 23:57:54 +12:00
Roland Praml and Rob Bygrave
f2e8b652fa
FIX: DDL process comment change correctly & drop references when index is dropped ( #1109 )
2017-09-01 20:45:06 +12:00
Roland Praml and Rob Bygrave
f342d9d561
API-CHANGE: DbMigration returns which version was generated ( #1108 )
2017-09-01 20:42:02 +12:00
Roland Praml and Rob Bygrave
8009bdf099
REFACTOR: Created a "splitNames" in StringHelper and use it in various places. Also wrote some tests for StringHelper. ( #1107 )
2017-09-01 20:40:39 +12:00
Roland Praml and Rob Bygrave
7336ce81bd
FIX: Do not add AssocOne-generatedProperties if they should not. ( #1106 )
2017-09-01 20:38:13 +12:00
Roland Praml and Rob Bygrave
f805bec8f2
FIX: Using correct datatype for null value when json is serialized to varchar column ( #1105 )
2017-09-01 20:36:41 +12:00
Roland Praml and Rob Bygrave
46cdc84e6b
Refactor/findannotation ( #1104 )
...
* refactor: renamed findAnnotation method that searches recursive to findAnnotationRecursive
* CHG: searching namedQueries & indices also recursive in superclasses
* FIX: Using the AnnotationBase methods on several places and documented them
2017-09-01 20:25:10 +12:00
rob bygrave
96e3f4138f
#1064 - Query table alias not used in update() or delete() queries
2017-08-31 21:29:08 +12:00
rob bygrave
977dd52890
No effective change - code reformat only
2017-08-31 21:10:13 +12:00
Roland Praml and Rob Bygrave
a9b7bb2175
FIX: Passing MDC through background-executor ( #1102 )
2017-08-31 21:09:04 +12:00
rob bygrave
f83c7fdac8
#1100 - Refactor OrmQueryPlanKey to use string expression for where
2017-08-31 02:11:49 +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
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
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
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
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
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
rob bygrave
38a95dc5c4
No effective change - Reformat code - ScalarTypeEnumStandard
2017-08-24 22:37:41 +12:00