rbygrave
1df2ccb1c6
Refactor internals DefaultRelationalQueryEngine remove unnecessary method
...
- Remove findEach() method that took RowReader<T> and Consumer<T>
- Use findEachRow() instead
2021-06-09 15:19:35 +12:00
rbygrave
3add4472ef
Refactor internals DefaultRelationalQueryEngine.findListMapper()
...
- Remove findListMapper() method
- Introduce RowReader interface
- Combine findList internals for both SqlRow and RowMapper use
2021-06-09 14:58:08 +12:00
rbygrave
4613f63c66
Refactor internals DataReader remove resetColumnPosition()
...
- Move the reset of position to the DataReader.next() method
- Tidy up use of wasNull() in RsetDataReader
2021-06-09 12:57:56 +12:00
rbygrave
612295fb9d
[maven-release-plugin] prepare for next development iteration
2021-06-04 17:59:21 +12:00
rbygrave
64405ade52
[maven-release-plugin] prepare release ebean-parent-12.9.1
ebean-parent-12.9.1
2021-06-04 17:59:11 +12:00
rbygrave
ce5f1b25f5
Bump ebean-maven-plugin to 12.9.1
2021-06-04 17:50:46 +12:00
rbygrave
ae4f50e7b3
#2236 - Auto-tune does not work / throws RuntimeException (Regression from 12.7.1)
...
Note we are missing a test on ProfileManager but doing this for now.
2021-06-04 17:46:31 +12:00
rbygrave
c9120be347
No effective change - tidy only H2HistoryTrigger and H2HistoryDdl
2021-06-04 17:37:37 +12:00
rbygrave
b189e67b4c
#2241 - Offline DDL migration generation for H2 requires H2 Driver
2021-06-04 17:35:19 +12:00
Rob Bygrave and GitHub
5d5c275c79
Merge pull request #2240 from FOCONIS/bugfix/ddl-generator-version
...
Set ddl-generator version to a public-available version + fix classpath for Java8
2021-06-04 17:24:31 +12:00
rbygrave
52f31a7a8e
Merge branch 'bkempe-testSelectOneToOneDisjunction'
2021-06-04 17:17:21 +12:00
rbygrave
6697aecd48
#2238 - Select with disjunction of expressions over OneToOne relationship missing join clause
...
Noting that there might be a better fix. The addJoin() at line 151 is suppressed as it is a duplicate for this case of a !oneToOneExported so a better fix might be to only add the soft delete clause when the join as actually added (not suppressed as a duplicate).
2021-06-04 17:16:50 +12:00
Jonas Pöhler
348c075a14
FIX: Build for java8
2021-06-01 17:56:47 +02:00
Jonas Pöhler
bf2420702c
FIX: set ddl-generator version to a repo-available version
2021-06-01 17:19:38 +02:00
Ben Kempe
16832ac67a
add test testSelectOneToOneDisjunction
2021-05-24 23:47:55 +02:00
rbygrave
47bd2ff03d
[maven-release-plugin] prepare for next development iteration
2021-05-23 23:08:47 +12:00
rbygrave
850f1c1469
[maven-release-plugin] prepare release ebean-parent-12.9.0
ebean-parent-12.9.0
2021-05-23 23:08:38 +12:00
rbygrave
622a90c7d5
No effective change - tidy whitespace in TransactionManager
2021-05-23 23:00:34 +12:00
rbygrave
4c317f11ae
Add additional test for PrimaryKeyJoinColumn
2021-05-23 22:21:05 +12:00
rbygrave
01bce5cfa6
#2226 - Automatically determining join columns and ignoring PrimaryKeyJoinColumn.name Id warning when I want to use Id as a foreign key
...
Improve the message and dropping to INFO level.
2021-05-23 22:20:40 +12:00
rbygrave
2158925d3c
#2202 - kotlin-maven-plugin issue with JDK 16
...
InaccessibleObjectException: Unable to make protected void java.util.ResourceBundle.setParent(java.util.ResourceBundle) accessible: module java.base does not "opens java.util" to unnamed module @62732be7
2021-05-23 21:28:11 +12:00
Rob Bygrave and GitHub
2aff6403a2
Merge pull request #2235 from ebean-orm/feature/2223
...
#2223 #2224 Support BeanMap modification via entrySet() and keySet()
2021-05-23 17:20:55 +12:00
rbygrave
3c4d600187
#2223 #2224 Support BeanMap modification via entrySet() and keySet()
2021-05-23 17:17:34 +12:00
Rob Bygrave and GitHub
f60ccb9b90
Merge pull request #2222 from ebean-orm/feature/support-filterMany-inline
...
Change such that filterMany can be included in the main query.
2021-05-21 17:20:17 +12:00
rbygrave
2a6108087c
Bump version to 12.9.0-SNAPSHOT
2021-05-21 17:18:30 +12:00
rbygrave
0da86a82ae
#2233 Bump to ebean-agent 12.9.0
2021-05-21 17:14:49 +12:00
rbygrave
643b0499c4
#2233 Add ebean-version.mf so ebean-agent can sniff the internal version
...
This allows the ebean-agent to support the older behaviour. Devs using the latest IntelliJ ebean plugin will get the old behaviour unless they bump ebean-core to 12.9 or later.
2021-05-21 16:09:15 +12:00
rbygrave
676bac390e
#2233 Followup change that unsets load buffer from BeanCollection
...
- Clears the buffer after it has been used to load BeanCollection's
- Sets the BeanCollection to use the server rather than the Load Buffer just in case there are subsequent calls for loading (which there should not be)
2021-05-21 09:01:45 +12:00
rbygrave
79740accfa
#2233 Fix with setter on ToMany now not invoking lazy loading
...
- ebean-agent changed to not invoke preGetter on ToMany (just like Id)
- EntityBeanIntercept preSetterMany() changed to ensure loading flag set
2021-05-21 08:48:42 +12:00
rbygrave
77c6f1cb9f
#2233 Tidy failing test Ebean -> DB and rename test
2021-05-21 08:44:04 +12:00
rbygrave
538361d5fd
#2233 Failing test
2021-05-21 08:33:31 +12:00
rbygrave
b17593ba3c
No effective change - tidy BeanList, BeanMap, BeanSet internals
2021-05-20 21:44:07 +12:00
rbygrave
eb00690b30
#2231 - Change OrderBy to not be final to support mocking via Mockito
2021-05-20 14:09:22 +12:00
Rob Bygrave and GitHub
a772e65d32
Merge pull request #2225 from ebean-orm/dependabot/maven/ebean-core/commons-io-commons-io-2.7
...
Bump commons-io from 2.5 to 2.7 in /ebean-core
2021-05-20 13:56:00 +12:00
Brian Payne
66f7f69ec7
Fixed bug with soft-delete on one-to-one exported
2021-05-12 09:24:33 -07:00
Brian Payne
ad52711fe1
Add test demonstrating soft-delete bug with optional relationship
2021-05-11 10:42:04 -07:00
dependabot[bot] and GitHub
d6fdb4ee34
Bump commons-io from 2.5 to 2.7 in /ebean-core
...
Bumps commons-io from 2.5 to 2.7.
Signed-off-by: dependabot[bot] <support@github.com >
2021-04-26 20:37:55 +00:00
rbygrave
74c7268d2f
Change such that filterMany can be included in the main query.
...
That is, currently a filterMany automatically marks that path as a fetchQuery path. This change turns that off and the filterMany path and predicates can then be included in the main query.
This is better for performance (to include the filterMany path in with the main query) when the query is a findEach and looking to return a large number of results.
2021-04-21 18:57:03 +12:00
rbygrave
42fc419759
#2221 - ebean-redis: bump jedis dependency to 3.6.0
2021-04-20 22:23:33 +12:00
rbygrave
4fb3b9cddc
Tidy use of StringHelper replace() in BeanProperty, BaseTableDdl
2021-04-20 22:13:45 +12:00
Robin Bygrave
c60077174e
Tidy use of StringHelper replace() in BeanProperty, BaseTableDdl
2021-04-20 15:14:20 +12:00
rbygrave
5e893dd2ad
[maven-release-plugin] prepare for next development iteration
2021-04-19 21:40:16 +12:00
rbygrave
9eb54da2dc
[maven-release-plugin] prepare release ebean-parent-12.8.3
ebean-parent-12.8.3
2021-04-19 21:40:07 +12:00
rbygrave
bb6ff866c7
#2220 - DDL generation of nullable columns expected with nullable Embedded containing non null properties
2021-04-19 21:37:05 +12:00
Robin Bygrave
2d719c5b37
#2218 - @Encrypted columns on Oracle. The identifier alias starts with an underscore (ORA-00911)
...
Change to use zx__ for the encryption column alias prefix rather than _e_
2021-04-19 20:08:38 +12:00
Robin Bygrave
9d54b264ad
#2219 - Compile error with ZonedDateTime and query beans - type argument java.time.ZonedDateTime is not within bounds of type-variable D
2021-04-19 17:04:57 +12:00
rbygrave
65b282a056
[maven-release-plugin] prepare for next development iteration
2021-04-09 17:49:16 +12:00
rbygrave
fc174c8988
[maven-release-plugin] prepare release ebean-parent-12.8.2
ebean-parent-12.8.2
2021-04-09 17:49:07 +12:00
rbygrave
06802896ef
#2213 Bump agent for @Transactional(autoPersistUpdates = TxOption.ON)
2021-04-09 16:17:58 +12:00
Robin Bygrave
7f13ac9e5e
#2213 - Support autoPersistUpdates via TxScope
2021-04-08 23:15:49 +12:00