Rob Bygrave and GitHub
d92abbbe9c
Merge branch 'master' into feature/sequencedSet
2024-02-10 14:13:21 +13:00
Rob Bygrave
39500567c3
Build needs to use Java 21 to support the multi-release jar
2024-02-10 13:29:40 +13:00
Rob Bygrave
261b13ef4b
Version 13.26.1
2024-02-10 12:40:30 +13:00
Rob Bygrave
7639034d7c
Bump ebean-agent to 13.26.1 (no functional change here)
2024-02-10 12:17:47 +13:00
Rob Bygrave and GitHub
c71971eb5c
Merge pull request #3322 from ebean-orm/fix/3319
...
(fix) Future queries do not trigger flush on BatchedPstmtHolder for #3319
2024-02-10 12:12:47 +13:00
Rob Bygrave and GitHub
357af58db4
Merge pull request #3324 from ebean-orm/feature/postgres_insertOnConflict
...
Add support for Postgres INSERT ON CONFLICT update | nothing
2024-02-10 12:08:44 +13:00
Rob Bygrave and GitHub
0abdb1550a
Merge pull request #3310 from Ichtil/one_to_many_list_clear_test
...
Previous entities are not deleted when replacing OneToMany collection with a new one
2024-02-10 12:03:16 +13:00
Rob Bygrave
c32fc814f6
Add support for insert/insertAll with both options and explicit transaction
2024-02-10 12:00:32 +13:00
Rob Bygrave
8e035939dc
Add support for Postgres INSERT ON CONFLICT update | nothing
...
Adds InsertOptions with ability to control the options used
for insert with Postgres around ON CONFLICT.
2024-02-10 01:07:44 +13:00
Rob Bygrave
edf98ee250
Fix test OneToManyListMarkAsDirtyTest with some wait time
2024-02-09 15:46:34 +13:00
Rob Bygrave
5f0a75a130
No effective change, update test renaming internal variables
2024-02-09 15:26:28 +13:00
Rob Bygrave
d2f16cbf6a
#3310 Fix for orphanRemoval with updated parent and 'vanilla collection'
...
The issue fixed here is a timing one where the parent bean is being updated.
The updated parent bean has its internal state reset before the cascade down
to the SaveManyBeans where for this case it needs to identify is the 'vanilla'
collection has set (via setChildren(new ArrayList()).
This fix is a change that for updated beans the dirtyProperties is always obtained
and then use this for the isChangedProperty() check.
2024-02-09 15:24:47 +13:00
Rob Bygrave
04ba81d12f
#3310 Update test only, reuse existing entity beans
...
- Reuse the existing OmBeanListParent and child
- Simplify the test setup code
- Rename test methods to maybe better reflect what I think is failing
Noting that markAsDirty doesn't specifically have anything to do with this bug but it's more on whether the parent bean is dirty or dirty (markAsDirty is just a way to make the parent bean dirty).
2024-02-09 08:30:42 +13:00
Rob Bygrave
f63e7ed5af
Add test only for orphan removal to TestOrphanRemovalOverwrite
...
Using clear() and add() when the same id value is used
2024-02-08 00:14:22 +13:00
Rob Bygrave
66940c0f14
Update tests only for BeanList BeanSet BeanMap
...
Use Product entity with equals/hashCode implementation added via ebean enhancement
2024-02-07 22:29:05 +13:00
Rob Bygrave
1f48b3a6b3
(fix) Future queries do not trigger flush on BatchedPstmtHolder for #3319
...
This change is that findFutureCount, findFutureList, findFutureIds do not trigger a flush on BatchedPstmtHolder.
This is to address the possible ConcurrentModificationException that could occur at BatchedPstmtHolder.closeStatements(BatchedPstmtHolder.java:153)
2024-02-03 08:20:58 +13:00
Rob Bygrave and GitHub
7d368097e9
Merge pull request #3321 from ebean-orm/feature/tidy-OrmQueryRequest-readOnly
...
Tidy OrmQueryRequest isReadOnly, just use query.isReadOnly instead
2024-02-02 14:44:06 +13:00
Rob Bygrave
c849e29316
Tidy OrmQueryRequest isReadOnly, just use query.isReadOnly instead
2024-02-02 14:43:31 +13:00
Rob Bygrave and GitHub
c78a3dd6c4
Merge pull request #3318 from FOCONIS/fix-db2-test
...
Exclude test for DB2
2024-01-31 22:57:49 +13:00
Noemi Praml
a4455ddbf2
Exclude test for DB2
2024-01-31 10:17:16 +01:00
Rob Bygrave and GitHub
9787af77e4
Merge pull request #3315 from FOCONIS/db2-select-for-update
...
ADD: DB2 supports select .. for update queries
2024-01-30 22:53:19 +13:00
Noemi Praml
3786fb09a5
ADD: DB2 supports select .. for update queries
2024-01-29 15:12:21 +01:00
Rob Bygrave
f34e7b6003
Version 13.26.0
2024-01-20 22:01:30 +13:00
Rob Bygrave and GitHub
089dd8e364
Merge pull request #3311 from ebean-orm/feature/findSingleAttributeOrEmpty
...
enh: Add findSingleAttributeOrEmpty() returning Optional
2024-01-19 15:23:27 +13:00
Rob Bygrave
44770382fb
enh: Add findSingleAttributeOrEmpty() returning Optional
2024-01-19 10:41:54 +13:00
Rob Bygrave and GitHub
2a62d413cc
Merge pull request #3308 from Incanus3/fix/querybean_or_with_exists
...
fix TQRootBean.exists() when used with .or()
2024-01-19 08:29:29 +13:00
Rob Bygrave
0046d983cb
Adjust test such that table alias does not clash
...
The .raw("contact.customer_id = customer.id") clashes as "customer.id" is
a logical path from contact
2024-01-19 08:14:58 +13:00
Jan Klička
006e33cb3e
One to many replacing collection failing test cases
2024-01-18 17:29:24 +01:00
Jan Klička
e80e8e027a
One to many replacing collection failing test cases
2024-01-18 16:49:04 +01:00
Jakub Kaláb
2e1b52d7d4
WIP: fix TQRootBean.exists() when used with .or()
2024-01-18 11:32:34 +01:00
Rob Bygrave and GitHub
09d5163396
Merge pull request #3307 from ebean-orm/feature/bump-avaje-config-310
...
Bump avaje-config to version 3.10
2024-01-18 22:30:42 +13:00
Rob Bygrave
a6a38b9a92
Bump avaje-config to version 3.10
2024-01-18 22:30:09 +13:00
Rob Bygrave and GitHub
bd4521b240
Merge pull request #3306 from ebean-orm/feature/querybean-deprecated
...
Add forRemoval=true for existing Deprecated methods in query beans
2024-01-18 22:28:23 +13:00
Rob Bygrave
8a7379879b
Add forRemoval=true for existing Deprecated methods in query beans
2024-01-18 20:15:57 +13:00
Rob Bygrave and GitHub
b78dd6f79a
Merge pull request #3304 from ebean-orm/feature/3296-querybean-copy
...
#3296 Add copy() method to query beans
2024-01-15 22:38:30 +13:00
Rob Bygrave
4ebb5fd112
#3296 Add copy() method to query beans
2024-01-15 22:30:17 +13:00
Rob Bygrave
487368976f
Tidy SimpleQueryBeanWriter internals
2024-01-15 22:03:17 +13:00
Rob Bygrave
c6defceec9
Add additional test for filterMany() with fetch()
2024-01-15 21:02:47 +13:00
Rob Bygrave
ded6fd71b2
Refactor rename method getBeanCollectionAdd() -> collectionAdd()
2024-01-12 16:42:58 +13:00
Rob Bygrave
cbc4883672
Refactor BeanSet, BeanList, BeanMap replacing setActualSet|List|Map
...
Replace with collectionAdd() and refresh() methods.
2024-01-12 16:41:32 +13:00
Rob Bygrave
64e227117b
Add support for Java 21 SequencedSet and SequencedMap
...
Such that these can be used in place of Set and Map if desired.
2024-01-12 16:14:08 +13:00
Rob Bygrave and GitHub
8ed3b765ec
Merge pull request #3299 from ebean-orm/feature/3294-warnings
...
#3294 Suppress compiler warnings on generated query bean `filterMany()`
2023-12-22 08:33:31 +13:00
Rob Bygrave and GitHub
fcbcc53e27
Merge pull request #3298 from ebean-orm/feature/add-usingConnection-dtoQuery
...
Add usingConnection() to DtoQuery and SqlQuery
2023-12-22 08:25:48 +13:00
Rob Bygrave
b377e1a618
#3294 Suppress compiler warnings on generated query bean filterMany()
2023-12-22 08:24:54 +13:00
Rob Bygrave
a0f612ed71
Add usingConnection() to DtoQuery and SqlQuery
...
For the case where we have a java.sql.Connection and wish
to execute a DtoQuery or SqlQuery using that connection.
2023-12-21 21:24:02 +13:00
Rob Bygrave
47e97a77a8
Version 13.25.2
2023-12-07 20:18:40 +13:00
Rob Bygrave
e8d3f50bb4
Bump ebean-agent to 13.25.2
2023-12-07 19:57:55 +13:00
Rob Bygrave and GitHub
716cfaf938
Merge pull request #3286 from ebean-orm/feature/dbarray-instant-and-localdate
...
Add support for LocalDate and Instant with DbArray
2023-12-07 08:57:40 +13:00
robin.bygrave
7cd9e5ee03
Add support for LocalDate and Instant with DbArray
2023-12-06 14:54:30 +13:00
Rob Bygrave
f9c9bea623
Follow up for #3248 - add betweenProperties on query bean
2023-12-06 00:40:57 +13:00
Rob Bygrave
720832122c
Follow up for #3248 - add betweenProperties on query bean
2023-12-05 23:32:16 +13:00
Rob Bygrave and GitHub
7b635acf56
Merge pull request #3284 from raphaelNguyen/master
...
Expose betweenProperties on query bean
2023-12-05 23:21:26 +13:00
Raphael Nguyen
6b7efe65d7
Expose betweenProperties on query bean
2023-12-05 15:08:16 +11:00
Rob Bygrave and GitHub
03cd4000f0
Merge pull request #3282 from ebean-orm/dependabot/maven/ch.qos.logback-logback-classic-1.3.12
...
Bump ch.qos.logback:logback-classic from 1.2.11 to 1.3.12
2023-11-30 13:59:21 +13:00
Rob Bygrave and GitHub
dfd6434b59
Merge pull request #3281 from ebean-orm/dependabot/maven/tests/test-java16/ch.qos.logback-logback-classic-1.3.12
...
Bump ch.qos.logback:logback-classic from 1.2.11 to 1.3.12 in /tests/test-java16
2023-11-30 13:59:08 +13:00
Rob Bygrave and GitHub
4e7480237b
Merge pull request #3283 from ebean-orm/dependabot/maven/tests/test-kotlin/ch.qos.logback-logback-classic-1.3.12
...
Bump ch.qos.logback:logback-classic from 1.2.11 to 1.3.12 in /tests/test-kotlin
2023-11-30 13:58:52 +13:00
dependabot[bot] and GitHub
9bfcf07486
Bump ch.qos.logback:logback-classic in /tests/test-kotlin
...
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback ) from 1.2.11 to 1.3.12.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.2.11...v_1.3.12 )
---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 22:15:53 +00:00
dependabot[bot] and GitHub
b1f1344057
Bump ch.qos.logback:logback-classic from 1.2.11 to 1.3.12
...
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback ) from 1.2.11 to 1.3.12.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.2.11...v_1.3.12 )
---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 22:13:26 +00:00
dependabot[bot] and GitHub
07201c1519
Bump ch.qos.logback:logback-classic in /tests/test-java16
...
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback ) from 1.2.11 to 1.3.12.
- [Commits](https://github.com/qos-ch/logback/compare/v_1.2.11...v_1.3.12 )
---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-29 22:13:04 +00:00
Rob Bygrave and GitHub
455a9fdffc
Merge pull request #3280 from ebean-orm/feature/typequery-imports-tqrootbean
...
QueryBean generation - use full class names for TQRootBean, TQAssocBean
2023-11-29 01:21:00 +13:00
Rob Bygrave
3f67425727
QueryBean generation - conditionally fully qualify the property types
...
If there is an entity bean short name clash like PString, PLong, etc then
fully qualify all the property types in the generated code, otherwise use
imports for the property types.
2023-11-29 00:46:56 +13:00
Rob Bygrave
3fd9ae06db
QueryBean generation - use fully qualify use of DB
2023-11-29 00:22:45 +13:00
Rob Bygrave
a8ce726e47
QueryBean generation - use full class names for TQRootBean, TQAssocBean
...
Rather than imports, such that these are not possible name clashes with
beans of the exact same name.
2023-11-28 21:51:07 +13:00
Rob Bygrave and GitHub
29cd1a143d
Merge pull request #3277 from ebean-orm/feature/bump-datasource2
...
Bump ebean-datasource to 8.11 with support for Driver by class
2023-11-23 23:34:23 +13:00
Rob Bygrave
6a19c6a0ce
Bump ebean-datasource to 8.11 with support for Driver by class
...
- Can specify explicit driver by class or instance
- Can use a DataSource as connection source
2023-11-23 23:31:29 +13:00
Rob Bygrave and GitHub
eaec515cc1
Merge pull request #3276 from ebean-orm/feature/skipCheckForReadOnly
...
skipDataSourceCheck() when using readOnlyDatabase
2023-11-23 23:27:21 +13:00
Rob Bygrave
97709d3493
skipDataSourceCheck() when using readOnlyDatabase
...
As we don't want the warning logged in this case:
DataSource [{0}] has autoCommit defaulting to true!
2023-11-23 23:23:53 +13:00
Rob Bygrave
87ad874621
Read the readOnlyDatabase property via loadSettings()
2023-11-23 23:15:58 +13:00
Rob Bygrave
dfe95f6fc0
Version 13.25.1
2023-11-22 17:50:09 +13:00
Rob Bygrave
05feccfeb6
Bump ebean-agent
2023-11-22 17:46:54 +13:00
Rob Bygrave and GitHub
196cb09c66
Merge pull request #3274 from ebean-orm/feature/3269
...
#3268 - @DbComment on @ManyToOne fields are ignored (ddl-generator)
2023-11-21 23:54:26 +13:00
Rob Bygrave
589e198301
#3268 - @DbComment on @ManyToOne fields are ignored (ddl-generator)
2023-11-21 23:53:29 +13:00
Rob Bygrave and GitHub
b2b81677e8
Merge pull request #3273 from ebean-orm/feature/3269
...
#3269 - @JoinColumns set ForeignKey is none in ddl , but is not work
2023-11-21 23:42:06 +13:00
Rob Bygrave
f032aad22e
#3269 - @JoinColumns set ForeignKey is none in ddl , but is not work
2023-11-21 23:40:21 +13:00
Rob Bygrave
c48e5428c5
#3265 Fix for Update Query logging to trim large values in bind log
2023-11-21 22:32:35 +13:00
Rob Bygrave
cbca940611
Merge branch 'FOCONIS-findsingleattribute-beanfindcontroller'
2023-11-21 22:05:12 +13:00
Rob Bygrave
0da3772ae9
#3270 Fix for use with BeanFindController and attribute queries
...
The existence of a BeanFindController should not break the use of
single attribute queries + still allow auto-tuning.
2023-11-21 22:04:47 +13:00
Rob Bygrave
496ef36b11
Merge branch 'findsingleattribute-beanfindcontroller' of github.com:FOCONIS/ebean into FOCONIS-findsingleattribute-beanfindcontroller
2023-11-21 21:40:09 +13:00
Rob Bygrave and GitHub
a4a2aba56f
Merge pull request #3272 from ebean-orm/feature/readOnlyDatabase
...
Refactor tidy internals of DbPrimary, DatabaseFactory, ContainerConfi…
2023-11-21 21:20:35 +13:00
Rob Bygrave
803f1d8642
Refactor tidy internals of DbPrimary, DatabaseFactory, ContainerConfig, ClusterManager
2023-11-20 22:18:53 +13:00
Rob Bygrave and GitHub
ff1c73e20d
Merge pull request #3266 from ebean-orm/feature/readOnlyDatabase
...
Add read only database configuration/builder option
2023-11-17 14:10:51 +13:00
Noemi Praml
7afd37cd98
Failing Tests with CustomerFindController
2023-11-14 17:05:42 +01:00
Rob Bygrave
24bb364d40
Add read only database configuration/builder option
...
When using DatabaseBuilder.readOnlyDatabase(true) then
ebean will:
- Set the DataSourceBuilder to use autoCommit=true and readOnly=true
- Use the same DataSource instance for both dataSource and readOnlyDataSource
This is to simplify the setup/configuration for creating a Database that
will only have read-only use.
Note that readOnly=true is a JDBC hint and for example H2 database effectively
ignores that hint where as Postgres will enforce the read-only true nature.
2023-11-13 23:12:05 +13:00
Rob Bygrave
5d54a238bd
Bump ebean-agent to 13.25.0
2023-11-06 20:09:35 +13:00
Rob Bygrave
b50ce5fc3f
Version 13.25.0
2023-11-06 20:08:00 +13:00
Rob Bygrave
624e92840c
Adjust "for testing purposes" log messages
2023-11-06 12:55:22 +13:00
Rob Bygrave
b03adc412c
Adjust "for testing purposes" log messages
2023-11-06 12:52:35 +13:00
Rob Bygrave and GitHub
e794f5e916
Merge pull request #3264 from ebean-orm/feature/DatabaseBuilder_Settings
...
Fix to return DataSourceBuilder.Settings for getDataSourceConfig() an…
2023-11-06 12:50:37 +13:00
Rob Bygrave
a2551ce718
Bump ebean-datasource to 8.9
2023-11-06 12:50:14 +13:00
Rob Bygrave
5b0a3607f6
Fix to return DataSourceBuilder.Settings for getDataSourceConfig() and getReadOnlyDataSourceConfig()
...
That is, existing code using DataSourceConfig has access to the getter
methods of DataSourceConfig. The DataSourceBuilder interface only has
the setter methods and DataSourceBuilder.Settings has both getters and
setter methods.
That is, the refactor to extract the DataSourceBuilder interface also
split off the getter methods to the DataSourceBuilder.Settings interface
(because most of the time when using the builder we only need the
setter methods and effectively hiding the getter methods behind the settings()
is useful to simplify the API for users).
2023-11-06 12:14:27 +13:00
Rob Bygrave
bcf7bd17be
Version 13.14.0-jakarta
2023-11-05 22:21:20 +13:00
Rob Bygrave and GitHub
102d8d5979
Merge pull request #3263 from ebean-orm/feature/DatabaseBuilder-take-2
...
DatabaseBuilder take 2
2023-11-05 22:11:26 +13:00
Rob Bygrave
3edc232003
Update test BeanDescriptor_registerTest with DatabaseBuilder use
2023-11-05 22:03:25 +13:00
Rob Bygrave
043dc5c51f
Add setters without the set prefix to DatabaseBuilder with deprecation
...
So add `name(String name)` as preferred to `setName(String name)` etc
2023-11-05 22:01:02 +13:00
Rob Bygrave
e2d666df35
Use fluid setters for DatabaseConfig and DatabaseBuilder
2023-11-04 13:05:22 +13:00
Rob Bygrave
314e0a14b8
Move the internal serviceObjectKey() methods back into DatabaseConfig
...
They were incorrectly extracted to the interface as default methods
2023-11-03 23:00:29 +13:00
Rob Bygrave
1f9cf1e4b7
Split DatabaseBuilder interface separating the setters n getters adding DatabaseBuilder.Settings
...
So DatabaseBuilder.Settings has all the getters for code looking to read
the configuration that has been set. So DatabaseBuilder now just has the
setter methods.
Use DatabaseBuilder.settings() to access the settings and read the config
that has been set.
2023-11-03 22:58:11 +13:00
Rob Bygrave
12029ed06e
Refactor extract interface DatabaseBuilder from DatabaseConfig
...
First step in supporting the builder pattern for creating Database
2023-11-03 21:17:55 +13:00
Rob Bygrave and GitHub
89741b9312
Merge pull request #3262 from ebean-orm/feature/improve-javadoc-deprecated
...
Improve the javadoc for deprecated methods (to assist IDE quick-fix actions)
2023-11-03 20:05:41 +13:00
Rob Bygrave
ae962c2e08
Improve the javadoc for deprecated methods (to assist IDE quick-fix actions)
2023-11-03 20:04:25 +13:00
Rob Bygrave and GitHub
4e3501972a
Merge pull request #3260 from ebean-orm/feature/bump-migration2
...
Bump ebean-migration to 13.11.1 (with fastMode option and index file support)
2023-11-03 19:52:00 +13:00
Rob Bygrave
a65ba41850
Bump ebean-migration to 13.11.1 (with fastMode option and index file support)
2023-11-03 18:33:02 +13:00
Rob Bygrave
3b11c1cb6b
Merge branch 'master' of github.com:ebean-orm/ebean
2023-11-03 18:31:31 +13:00
Rob Bygrave
41185eeb5c
Bump ebean-datasource to 8.8 with DataSourceBuilder
...
First step in migrating the ebean-datasource API to use builder pattern.
DataSourceConfig (concrete type) migrating to DataSourceBuilder (interface).
A followup step will deprecate the use of DataSourceConfig.
2023-11-03 18:31:11 +13:00
Rob Bygrave and GitHub
e97ff54ab2
Merge pull request #3259 from ebean-orm/feature/loadMode_safer
...
Change loadMode to be 'safer' (for Grafana etc). e.g. change "(+lazy) " to "__lazy"
2023-11-02 09:00:38 +13:00
robin.bygrave
97fae09c52
Tidy SpiQuery.setProfilePath() internal implementation
2023-11-01 15:48:27 +13:00
robin.bygrave
8b0f58b3c2
Change loadMode to be 'safer' (for Grafana etc). e.g. change "(+lazy)" to "__lazy"
...
The loadMode ends up as a suffix to some query metrics.
For example "foo.findIt_baz(+lazy)", and the (+lazy) part isn't safe/friendly to tools
like Grafana. So change to instead of (+lazy) use __lazy.
2023-11-01 15:20:18 +13:00
Rob Bygrave
70eb557929
Version 13.23.2-jakarta
2023-10-27 22:13:05 +13:00
Rob Bygrave
fdb3a3759b
Bump ebean-agent to 13.23.2
2023-10-27 22:10:40 +13:00
Rob Bygrave and GitHub
7a5e8d0e17
Merge pull request #3256 from ebean-orm/feature/upgrade-antlr4-4_13_1
...
Upgrade ANTLR4 from version 4.8-1 to 4.13.1
2023-10-27 21:45:37 +13:00
robin.bygrave
a0748f8139
Upgrade ANTLR4 from version 4.8-1 to 4.13.1
2023-10-26 13:52:44 +13:00
Rob Bygrave and GitHub
9f65673f54
Merge pull request #3255 from ebean-orm/feature/bump-junit-bytebuddy
...
Bump io.avaje:junit and bytebuddy version to support JDK 22+
2023-10-25 22:12:49 +13:00
Rob Bygrave
8f6a3c59d1
Bump io.avaje:junit and bytebuddy version to support JDK 22+
2023-10-25 21:58:19 +13:00
Rob Bygrave and GitHub
05210ec411
Merge pull request #3254 from ebean-orm/feature/query-plan-capture-yuga
...
Use DIST with query plan capture for Yugabyte plus simplify
2023-10-25 08:23:01 +13:00
Rob Bygrave
faffda8318
Use DIST with query plan capture for Yugabyte plus simplify
...
Change QueryPlanLoggerExplain to take the options for PG, Yugabyte and others
2023-10-25 08:22:25 +13:00
Rob Bygrave and GitHub
af3901ce01
Merge pull request #3253 from ebean-orm/feature/3251
...
#3251 - QueryBeans: Entities can not have same name as some Ebean API…
2023-10-25 08:11:40 +13:00
Rob Bygrave
acd538207f
#3251 - QueryBeans: Entities can not have same name as some Ebean API classes
2023-10-24 23:08:30 +13:00
Rob Bygrave
84f0ef9fce
Use querybean-generator via provided scope rather than maven compiler plugin
...
This is because when releasing both jakarta and javax versions these
need to have their versions adjusted
2023-10-24 23:07:14 +13:00
Rob Bygrave and GitHub
7ab447b21c
Merge pull request #3252 from ebean-orm/feature/querybean-generator-provided
...
Use querybean-generator via provided scope rather than maven compiler plugin
2023-10-24 22:23:56 +13:00
Rob Bygrave
6f8805a6b3
Use querybean-generator via provided scope rather than maven compiler plugin
...
This is because when releasing both jakarta and javax versions these
need to have their versions adjusted
2023-10-24 22:17:28 +13:00
Rob Bygrave
0171c1afef
Version 13.23.1
2023-10-18 15:47:04 +13:00
Rob Bygrave
31c106f604
Bump ebean-agent to 13.23.1
2023-10-18 15:16:20 +13:00
Rob Bygrave and GitHub
20d2838be4
Merge pull request #3250 from ebean-orm/feature/bump-parent
...
Make Jackson a transitive dependency of ebean-jackson-mapper
2023-10-17 23:25:43 +13:00
Rob Bygrave
4238a951ca
Make Jackson a transitive dependency of ebean-jackson-mapper
...
So jackson-core and jackson-databind are both transitive dependencies
of ebean-jackson-mapper.
2023-10-17 23:25:09 +13:00
Rob Bygrave and GitHub
b5d4bed615
Merge pull request #3249 from ebean-orm/feature/bump-parent
...
Support native-image via querybean-generator
2023-10-17 23:18:17 +13:00
Rob Bygrave
3ef715ef64
Support native-image via querybean-generator
2023-10-17 23:09:18 +13:00
Rob Bygrave and GitHub
aea39528ab
Merge pull request #3248 from ebean-orm/feature/bump-parent
...
Bump dependency for avaje-config to 3.9
2023-10-17 22:39:04 +13:00
Rob Bygrave
dd498409e0
Bump dependency for avaje-config to 3.9
2023-10-17 22:38:33 +13:00
Rob Bygrave and GitHub
bae33101df
Merge pull request #3247 from ebean-orm/feature/bump-parent
...
Bump parent pom
2023-10-17 22:37:53 +13:00
Rob Bygrave
e1972ac544
Bump parent pom
2023-10-17 22:37:20 +13:00
Rob Bygrave
c7241ba3dc
Fix test for java 16+ annotation processor version
2023-10-16 23:30:45 +13:00
Rob Bygrave
73416ed65a
For testing java 16+ include JDK 17 and 21 only
2023-10-16 23:19:48 +13:00
Rob Bygrave
cd70c178f1
For testing java 16+ include JDK 17 and 21 only
2023-10-16 23:17:25 +13:00
Rob Bygrave
aa298235f3
For testing java 16+ include JDK 21 and 22
2023-10-16 23:15:32 +13:00
Rob Bygrave and GitHub
8733fed14b
Merge pull request #3246 from ebean-orm/feature/annotation-processing-jdk-22
...
Explicit annotation processors required with JDK 22
2023-10-16 22:06:20 +13:00
Rob Bygrave
169d170247
Explicit annotation processors required with JDK 22
...
JDK 22 changes such that annotation processors are not found by default on
the classpath. As such they either need to be explicitly registered with
the compiler (e.g. maven-compiler-plugin) or use -proc:full
2023-10-16 21:54:32 +13:00
Rob Bygrave
d0ee42e0de
Include <compilerArgument>-proc:full</compilerArgument> for JDK 22 EA build
2023-10-16 20:32:41 +13:00
Rob Bygrave and GitHub
91ecc074a7
Merge pull request #3243 from ebean-orm/feature/postgis-dependency
...
Fix ebean-bom dependencies for ebean-test
2023-10-11 20:04:12 +13:00
Rob Bygrave
c2b381af1e
Fix ebean-bom dependencies for ebean-test
...
Fix by removing the scopes test and provided in the ebean-bom
2023-10-11 20:03:12 +13:00
Rob Bygrave and GitHub
eeb0a15617
Merge pull request #3242 from ebean-orm/feature/postgis-dependency
...
Add missing dependency for ebean-postgis-types to ebean-postgis
2023-10-11 19:59:48 +13:00
Rob Bygrave
6abed0dd73
Add missing dependency for ebean-postgis-types to ebean-postgis
2023-10-11 19:58:12 +13:00
Rob Bygrave and GitHub
1318cd706f
Merge pull request #3241 from ebean-orm/feature/StdOperators-dep
...
Remove the Deprecated(experimental) from StdOperators
2023-10-10 23:43:29 +13:00
Rob Bygrave
1e8c609dec
Remove the Deprecated(experimental) from StdOperators
2023-10-10 23:42:47 +13:00
Rob Bygrave
4506596379
Tidy remove old stylesheet.css from source
2023-10-10 23:41:42 +13:00
Rob Bygrave
0b2c016af2
Version 13.23.0
2023-10-10 22:46:30 +13:00
Rob Bygrave
29d946ec59
Bump ebean-agent
2023-10-10 22:33:35 +13:00
Rob Bygrave
da76b422c8
Fix test with sql logging including executeBatch() for sqlserver
2023-10-10 22:26:25 +13:00
Rob Bygrave
a1a3b33fc6
Fix test with sql logging including executeBatch() for sqlserver
2023-10-10 21:47:14 +13:00
Rob Bygrave and GitHub
7ecd7877d5
Merge pull request #3240 from ebean-orm/feature/OneToOne-softDelete-join
...
OneToOne with SoftDelete join missing deleted predicate
2023-10-10 21:38:50 +13:00
Rob Bygrave
e5f64f4211
Fix test with sql logging including executeBatch()
2023-10-10 21:38:17 +13:00
Rob Bygrave
90a6b71b7e
#3240 followup no functional change, tidy use of ctx.joinAdded()
2023-10-10 21:33:23 +13:00
Rob Bygrave
131d531922
#3240 followup no functional change, tidy use of ctx.joinAdded()
2023-10-10 21:32:28 +13:00
Rob Bygrave
5684919a9f
Fix for OneToOne with SoftDelete join missing deleted predicate
2023-10-10 21:27:26 +13:00
Rob Bygrave
80fc0723c8
Failing test for OneToOne with SoftDelete join missing deleted predicate
2023-10-10 21:24:35 +13:00
Rob Bygrave and GitHub
3ae4c8981e
Merge pull request #3238 from ebean-orm/feature/sql-log-executeBatch
...
Change SQL log to include executeBatch() via BatchedPstmt
2023-10-10 09:15:06 +13:00
Rob Bygrave
b80c67286b
Change SQL log to include executeBatch() via BatchedPstmt
...
Adjustments to tests to support this
2023-10-10 01:02:11 +13:00
Rob Bygrave
0bead4135e
Change SQL log to include executeBatch() via BatchedPstmt
...
Adjustments to tests to support this
2023-10-10 00:59:25 +13:00
Rob Bygrave
ac6473e039
Change SQL log to include executeBatch() via BatchedPstmt
2023-10-10 00:59:06 +13:00
Rob Bygrave and GitHub
32188bdd54
Merge pull request #3237 from ebean-orm/feature/3233
...
#3234 - Query Bean Generator Generates Non-Compilable Code When Entit…
2023-10-09 22:04:05 +13:00
Rob Bygrave
b3a577e3f9
#3234 - Query Bean Generator Generates Non-Compilable Code When Entity Uses @Embeddable Inner Class For Primary Key Type
2023-10-09 22:03:02 +13:00
Rob Bygrave and GitHub
7d1774e2ed
Merge pull request #3236 from ebean-orm/feature/3233
...
In version 13.22 if the entity definition is in a different package, …
2023-10-09 22:01:38 +13:00
Rob Bygrave
395edb62bf
In version 13.22 if the entity definition is in a different package, the generated query bean cannot resolve the symbol erro
2023-10-09 21:10:56 +13:00
Rob Bygrave and GitHub
716b7e7b93
Merge pull request #3232 from ebean-orm/feature/postgis-rename-types-add-composite
...
Add ebean-postgres-types to ebean-bom
2023-10-06 23:16:27 +13:00
Rob Bygrave
9aadc347d7
Add ebean-postgres-types to ebean-bom
2023-10-06 23:15:43 +13:00
Rob Bygrave and GitHub
d2d1423c88
Merge pull request #3231 from ebean-orm/feature/postgis-rename-types-add-composite
...
Rename ebean-postgis -> ebean-postgis-types + add new composite ebean…
2023-10-06 23:07:03 +13:00
Rob Bygrave
73cfea6053
For postgres dependency exclude checker framework dependency
2023-10-06 23:06:41 +13:00
Rob Bygrave
1614166d75
Rename ebean-postgis -> ebean-postgis-types + add new composite ebean-postgis
...
With this, people can depend on ebean-postgis (the composite) and get all the
dependencies they need (which is ebean-platform-postgres + ebean-postgis-types
+ others).
This should just make it easier for people in that currently we need both
ebean-postgis + ebean-postgres which isn't obvious enough.
2023-10-06 22:59:00 +13:00
Rob Bygrave and GitHub
3d9b122a9f
Merge pull request #3230 from ebean-orm/feature/deprecate-servletContextListener
...
Deprecate ServletContextListener (for shutdown in servlet container)
2023-10-06 22:40:07 +13:00
Rob Bygrave
1cc1d29c2f
Deprecate ServletContextListener (for shutdown in servlet container)
...
Deprecated for removal - no intention to replace. Create your own
ServletContextListener if needed for your application.
2023-10-06 22:38:26 +13:00
Rob Bygrave
45467a3358
Bump ebean-agent
2023-10-06 22:07:01 +13:00
Rob Bygrave
bdc236159b
Bump avaje-config to 3.8
2023-10-06 22:03:45 +13:00
Rob Bygrave and GitHub
f0047ffd75
Merge pull request #3228 from ebean-orm/feature/3209
...
#3209 MetricsAsJson escape the SQL string content
2023-10-04 23:43:07 +13:00
Rob Bygrave
429843c358
#3209 MetricsAsJson escape the SQL string content
2023-10-04 23:15:14 +13:00
Rob Bygrave
eab4f9c739
Add Java 21 to Multi-JDK Build
2023-09-20 23:12:04 +12:00
Rob Bygrave and GitHub
b445857227
Merge pull request #3224 from FOCONIS/use-glassfish-jaxb
...
use glassfish jaxb instead of old com.sun jaxb
2023-09-19 23:14:42 +12:00
Rob Bygrave
dc7b73fc25
Follow up #3223 - modify test, could use @Column(insertable = false, updatable = false) instead of @Formula
2023-09-19 23:03:30 +12:00
Rob Bygrave
d5048db2c6
Follow up #3223 - Add @IdClass example test
2023-09-19 23:02:31 +12:00
Rob Bygrave
0b0b7cbc67
Follow up #3223 - tidy test only
...
Make Embedded Id bean more immutable via final fields and constructor
2023-09-19 22:47:23 +12:00
Rob Bygrave and GitHub
008f132453
Merge pull request #3223 from FOCONIS/fix-find-props-for-id-class
...
Regression of #3133 with formula properties
2023-09-19 22:39:29 +12:00
Roland Praml
6d2038355f
use glassfish jaxb instead of old com.sun jaxb
2023-09-19 08:37:20 +02:00
Roland Praml
004f4deae3
Regression of #3133 with formula properties
2023-09-18 14:59:17 +02:00
Rob Bygrave and GitHub
9223796f02
Merge pull request #3221 from ebean-orm/feature/jakarta-master
...
Move source to Jakarta (use ./jakarta-to-javax.sh)
2023-09-11 23:34:15 +12:00
Rob Bygrave
ff43672f4e
Move source to Jakarta (use ./jakarta-to-javax.sh)
...
Moving the master branch to use jakarta based code and
dependencies. Change to use ./jakarta-to-javax.sh to convert
back to javax when releasing that.
2023-09-11 23:31:01 +12:00
Rob Bygrave
811255200e
Update jakarta-to-javax.sh for jakarta.transaction module name
2023-09-11 23:21:55 +12:00
Rob Bygrave and GitHub
6db1b86e12
Merge pull request #3220 from ebean-orm/feature/3216
...
#3216 - Fix querybean generation for @Embedded beans (fix for 13.22.0…
2023-09-11 23:06:31 +12:00
Rob Bygrave
400e840c22
Fix test for MariaDB which does not support delete with subquery with limit
...
like:
delete from bbookmark_user where id in (select t0.id from bbookmark_user t0 where t0.name = ? limit 10)
2023-09-11 23:05:55 +12:00
Rob Bygrave
f03892a4bd
#3216 - Fix querybean generation for @Embedded beans (fix for 13.22.0 change)
...
Version 13.22.0 added a change to query bean generation that has an issue for
embedded beans. This fixes that issue.
2023-09-11 23:01:44 +12:00
Rob Bygrave
0842a3f3e2
Version 13.22.0
2023-08-30 22:17:31 +12:00
Rob Bygrave
bd0cad723d
Add test for Map @OneToMany without orphanRemoval
...
Without orphanRemoval then map.clear() does not invoke any lazy loading.
2023-08-29 22:16:37 +12:00
Rob Bygrave and GitHub
c83c85efc3
Merge pull request #3206 from ebean-orm/feature/3173-beanMap-clear
...
Map.clear() on a @OneToMany orphanRemoval=true invokes 1+N queries du…
2023-08-29 22:10:36 +12:00
Rob Bygrave
b6b8f77213
Map.clear() on a @OneToMany orphanRemoval=true invokes 1+N queries due to MapKey
...
The fix is for LoadManyRequest to detect when a MapKey is on the collection
and include that in the lazy loading query (to avoid the N queries invoked)
2023-08-29 22:08:56 +12:00
Rob Bygrave
770eb06cab
Add test for lazy loading @OneToMany using Map
2023-08-29 22:03:58 +12:00
Rob Bygrave and GitHub
180b4d6e46
Merge pull request #3205 from ebean-orm/feature/3173-beanSet-clear
...
Follow up #3173 - Change BeanSet clear() to lazy load ALL properties
2023-08-29 22:02:07 +12:00
Rob Bygrave
5377454476
Follow up #3173 - Change BeanSet clear() to lazy load ALL properties
...
To avoid the 1+N lazy loading queries that are invoked due to the clear()
when the entity bean in the Set has a hashCode/equals implementation
2023-08-29 21:20:19 +12:00
Rob Bygrave and GitHub
dbbf6dd566
Merge pull request #3204 from ebean-orm/feature/3173-beanSet-clear
...
Follow up #3173 - Add test for BeanSet clear() when hashCode/equals used
2023-08-29 21:16:44 +12:00
Rob Bygrave
4b9d4d0a90
Follow up #3173 - Add test for BeanSet clear() when hashCode/equals used
...
This shows the extra lazy loading that is occurring when clear() is
called on the [Bean]Set DUE to the hashcode/equals implementation that
is present on the entity bean that is in the Set.
2023-08-29 21:13:19 +12:00
Rob Bygrave
90fc4466bf
Follow up #3173 - Add test for BeanSet lazy loading OneToMany with hashCode/equals
2023-08-29 18:43:16 +12:00
Rob Bygrave and GitHub
0d69377f8b
Merge pull request #3203 from ebean-orm/feature/3173-BeanSet
...
#3173 - BeanSet lazy loading / Too many DataSource connections used
2023-08-29 18:32:04 +12:00
Rob Bygrave
359a55d7a5
#3173 - BeanSet lazy loading / Too many DataSource connections used
...
- The error reported was that a DataSource connection pool maxed out
- The symptom was that there was an additional lazy loading queries invoked via the hashCode/equals implementation of ManyToMany Set.
- The fix is for BeanSet init() to lazy load with onlyIds = false, that avoids the extra lazy loading query from being executed
2023-08-29 18:28:09 +12:00
Rob Bygrave and GitHub
b7804e7486
Merge pull request #3197 from ebean-orm/feature/parent-poms
...
Update ebean-agent to 13.22.0, required to support change in query bean generation
2023-08-27 22:48:17 +12:00
Rob Bygrave
febb018036
Update ebean-agent to 13.22.0
2023-08-27 21:59:34 +12:00
Rob Bygrave and GitHub
dc0585246f
Merge pull request #3196 from ebean-orm/feature/parent-poms
...
Use ebean-parent as parent pom for composites and platforms
2023-08-27 21:55:34 +12:00
Rob Bygrave
22c1848f58
Use ebean-parent as parent pom for composites and platforms
2023-08-27 21:53:11 +12:00
Rob Bygrave and GitHub
054ea26893
Merge pull request #3195 from ebean-orm/feature/deprecate-database-commitTransaction
...
Deprecate for removal Database.commitTransaction() and Database.rollb…
2023-08-27 20:32:07 +12:00
Rob Bygrave
8c30b66d39
Add forRemoval = true on existing @Deprecated
2023-08-27 20:31:03 +12:00
Rob Bygrave
14f9fe68f7
Deprecate for removal Database.commitTransaction() and Database.rollbackTransaction()
2023-08-27 20:30:33 +12:00
Rob Bygrave
d56ca5b841
Deprecate for removal Database.commitTransaction() and Database.rollbackTransaction()
...
Migrate to using try-with-resources and transaction.commit() and transaction.rollback()
2023-08-27 20:29:05 +12:00
Rob Bygrave and GitHub
3f97f0f212
Merge pull request #3192 from ebean-orm/feature/spiEbeanServer
...
Refactor internal SpiEbeanServer API - transaction from SpiQuery
2023-08-26 00:19:16 +12:00
Rob Bygrave
60e0c552ab
Fix test for MySql, which does not support delete statement with limit clause
2023-08-26 00:17:57 +12:00
Rob Bygrave
f889628677
No functional change, tidy in persist.dml and dmlbind packages only
2023-08-26 00:15:37 +12:00
Rob Bygrave
128bd171f5
Refactor SpiEbeanServer for SpiSqlQuery with transaction (vs passing transaction)
2023-08-25 23:51:09 +12:00
Rob Bygrave
6402a346a1
Reuse via adding SpiOrmQueryRequest.isGetAllFromBeanCache()
2023-08-25 23:28:07 +12:00
Rob Bygrave
0ab0f9c569
Refactor internal SpiEbeanServer API - transaction from SpiQuery
...
Originally the API took explicit transactions but then the API changed
toward query.usingTransaction(), which means the SpiQuery holds the
explicit transaction.
This change is to update the SpiEbeanServer API to reflect that it can get
explicit transaction from SpiQuery.transaction() rather than pass transaction
around.
Doing this also identified a small bug where L2 cache could be hit when it should
not after there is some update on the transaction (hence the adjustment to the
test TestBeanCache missCount)
2023-08-25 23:15:51 +12:00
Rob Bygrave and GitHub
19e21e17cc
Merge pull request #3191 from ebean-orm/feature/spiEbeanServer
...
#3188 Fix findFutureCount() when there is a current transaction in scope
2023-08-25 21:15:15 +12:00
Rob Bygrave
7e60c66759
Follow up for #3188 Add tests for futures when creating new transaction
2023-08-25 21:05:14 +12:00
Rob Bygrave
4f18dc339f
Follow up for #3188 Fix findFutureList() and findFutureIds() when txn in scope
...
Apply the same fix to findFutureList() and findFutureIds()
2023-08-25 20:56:55 +12:00
Rob Bygrave
60a2626f61
#3188 Fix findFutureCount() when there is a current transaction in scope
2023-08-25 20:32:48 +12:00
Rob Bygrave and GitHub
e3a6f12478
Merge pull request #3190 from ebean-orm/feature/spiEbeanServer
...
Refactor SpiEbeanServer to use SpiQuery
2023-08-25 20:31:29 +12:00
Rob Bygrave
2e980b06f6
Refactor SpiEbeanServer to use SpiQuery
2023-08-25 17:53:23 +12:00
Rob Bygrave and GitHub
b27b5512e3
Merge pull request #3189 from ebean-orm/feature/bump-datasource-dependency
...
Bump to ebean-datasource 8.7
2023-08-25 15:40:39 +12:00
Rob Bygrave
3a013d50d6
Bump to ebean-datasource 8.7
2023-08-25 15:40:09 +12:00
Rob Bygrave
3ebfd2e9e6
Update test only - TestDeleteCascadingOneToMany
2023-08-24 21:01:11 +12:00
Rob Bygrave and GitHub
f51b69445a
Merge pull request #3187 from ebean-orm/feature/3183-deleteQueryIn
...
Update test only - TestDeleteCascadeById
2023-08-24 20:55:14 +12:00
Rob Bygrave
96904d525f
Update test only - TestDeleteCascadeById
2023-08-24 20:54:43 +12:00
Rob Bygrave and GitHub
26fa885adb
Merge pull request #3186 from ebean-orm/feature/3183-deleteQueryIn
...
#3183 - Fix for: Wrong limit using setMaxRows on delete between calls
2023-08-24 20:38:32 +12:00
Rob Bygrave
f4ca4ec476
#3183 - Fix for: Wrong limit using setMaxRows on delete between calls
...
Reproduces when the delete needs to perform a select due to caching or
cascading of the delete
2023-08-24 20:35:11 +12:00
Rob Bygrave
327995526e
Fix tests for Postgres
2023-08-24 20:17:41 +12:00
Rob Bygrave and GitHub
dfbbdc7d58
Merge pull request #3182 from ebean-orm/feature/delete-batch-v2
...
When delete batching, use number of id properties
2023-08-23 10:54:21 +12:00
Rob Bygrave
35894b3d8f
When delete batching, ALSO in deleteManyDetails use number of properties
...
Use int batch = maxDeleteBatch / targetDesc.idBinder().size()
2023-08-22 23:55:55 +12:00
Rob Bygrave
0f219b4cd0
When delete batching, use number of id properties
2023-08-22 23:49:38 +12:00
Rob Bygrave
bfe94786de
Merge branch 'FOCONIS-experimental-elliminate-not-in-with-too-many-params'
2023-08-22 23:43:41 +12:00
Rob Bygrave
6cab2498dc
Merge branch 'experimental-elliminate-not-in-with-too-many-params' of github.com:FOCONIS/ebean into FOCONIS-experimental-elliminate-not-in-with-too-many-params
2023-08-22 23:22:11 +12:00
Rob Bygrave and GitHub
dbe81bdb6e
Merge pull request #3180 from FOCONIS/bugfix/setId-or-idEq-in-subquery
...
BUG: Using a subquery with idEq or setId is missing the bind value
2023-08-22 22:35:31 +12:00
Jonas Pöhler
2e2b3844fe
Tidy test
2023-08-22 11:36:44 +02:00
Jonas Pöhler
78b77dcd82
Potential Fix for using idEq or setId in subquery
2023-08-22 11:04:48 +02:00
Jonas Pöhler
90614adb2b
ADD: Testcase to show missing bind values when using idEq or setId in subquery
2023-08-22 11:04:24 +02:00
Rob Bygrave and GitHub
019ef43fe7
Merge pull request #3177 from ebean-orm/feature/remove-InTuples-literal-mode
...
#3166 Remove InTuples literal mode
2023-08-22 08:23:54 +12:00
Rob Bygrave
cfb6f0a908
#3166 Remove InTuples literal mode, remove related plan useCache()
2023-08-22 08:18:19 +12:00
Roland Praml
77aeda1753
draft: elliminate the "not in" query that may 'explode' on SqlServer
2023-08-21 17:10:23 +02:00
Roland Praml
2a24ec3d49
Added some tests
2023-08-21 16:51:19 +02:00
Roland Praml
d9d09b31b4
Refactored delete-by-id
2023-08-21 15:36:05 +02:00
Rob Bygrave
56550a9534
#3166 Remove InTuples literal mode
2023-08-21 23:16:55 +12:00
Rob Bygrave and GitHub
f40beb8234
Merge pull request #3175 from ebean-orm/feature/ListsPartition
...
For Lists.partition() fix for empty list input
2023-08-21 20:37:32 +12:00
Rob Bygrave
cb06052c86
For Lists.partition() fix for empty list input
...
Fix such that empty list input produces an empty list
2023-08-21 20:19:59 +12:00
Rob Bygrave and GitHub
e09265fbc5
Merge pull request #3174 from FOCONIS/more-char-append
...
Use char-append instead of String-append
2023-08-21 19:58:42 +12:00
Roland Praml
dede93ca62
Use char-append instead of String-append
2023-08-21 08:22:18 +02:00
Rob Bygrave and GitHub
caf8bd0c0f
Merge pull request #3172 from ebean-orm/feature/filterManyRaw
...
Add filterManyRaw() and Deprecate filterMany( <string expressions> )
2023-08-21 11:30:43 +12:00
Rob Bygrave
01d89a01a5
Fix new test in QCustomerTest
2023-08-21 11:22:02 +12:00
Rob Bygrave
b0da647b0e
Fix javadoc for filterManyRaw()
2023-08-21 11:17:29 +12:00
Rob Bygrave
fbcd4c3133
Add filterManyRaw() and Deprecate filterMany( <string expressions> )
...
The filterMany( <string expressions> ) uses the language parser which
ultimately will we probably remove in ebean 15.x
Code can migrate to filterManyRaw() instead or better yet change to
use the improved query beans filterMany( <closure> ) option that will
be included in this same ebean release.
2023-08-21 11:15:39 +12:00
Rob Bygrave and GitHub
3e41c5973b
Merge pull request #3171 from ebean-orm/feature/filterMany-raw-expression
...
FIX for filterMany with raw expression with single SQL query
2023-08-21 09:39:40 +12:00
Rob Bygrave
1933beed9b
Tidy unused import in CQueryPredicates
2023-08-20 23:52:10 +12:00
Rob Bygrave
defb35b258
FIX for filterMany with raw expression with single SQL query
...
Fix for the case where the filterMany is not executed on a separate
query but instead part of the origin query.
The fix is to use the appropriate DeployParser and also fix the path
alias like ${} -> ${contacts}
2023-08-20 23:32:55 +12:00
Rob Bygrave
8a4024ecfc
FIX for filterMany with raw expression with single SQL query
...
Fix for the case where the filterMany is not executed on a separate
query but instead part of the origin query.
The fix is to use the appropriate DeployParser and also fix the path
alias like ${} -> ${contacts}
2023-08-19 13:54:38 +12:00
Rob Bygrave
9756c9133e
Improve existing test for filterMany using raw with separate SQL query for filterMany
2023-08-19 13:46:45 +12:00
Rob Bygrave and GitHub
c07d5e2c97
Merge pull request #3170 from ebean-orm/feature/prefer-char-append
...
Refactor prefer char append
2023-08-19 11:11:35 +12:00
Rob Bygrave
00e594d4fa
Refactor prefer char append
2023-08-19 11:01:15 +12:00
Rob Bygrave
3bf316af2b
Update Test QCustomerTest removing extra space character in the SQL
2023-08-19 10:17:00 +12:00
Rob Bygrave and GitHub
b116d3da28
Merge pull request #3169 from ebean-orm/feature/filterMany-TQAssoc
...
Add Query bean filterMany() taking a closure
2023-08-19 10:11:46 +12:00
Rob Bygrave and GitHub
804618d699
Merge pull request #3168 from ebean-orm/feature/like-extra-space
...
Remove extra space added to the generated SQL via the LIKE expression
2023-08-19 10:05:17 +12:00
Rob Bygrave
0e9fe6a096
Remove extra space added to the generated SQL via the LIKE expression
2023-08-19 09:29:19 +12:00
Rob Bygrave
ded4b94e54
Add Query bean filterMany() taking a closure
...
Query beans also generate a "Assoc" query bean that is used
for the relationships. Previously these were generated into a
.query.assoc package and with this they are generated as an
inner class of the query bean.
This then allows the change where an additional filterMany()
is generated on the "Assoc" bean that takes a closure. This
simplifies the use of query beans for filterMany.
This change to the generated query beans needs a change to the
ebean-agent enhancement.
2023-08-18 22:12:30 +12:00
Rob Bygrave
eb0812df16
Bump to next snapshot
2023-08-17 23:26:26 +12:00
Rob Bygrave
9ccaa824e0
Version 13.21.0
2023-08-17 22:51:00 +12:00
Rob Bygrave and GitHub
d6e46b15a3
Merge pull request #3167 from ebean-orm/feature/InTuples-Literal-skipCache
...
Change Lists.partition() argument order to match Guava's
2023-08-17 15:36:35 +12:00
robin.bygrave
bab9be0228
Change Lists.partition() argument order to match Guava's
...
- May as well match what they have in terms of arg order
- Change from interface to class might be better
2023-08-17 15:36:03 +12:00
Rob Bygrave and GitHub
9331050a43
Merge pull request #3166 from ebean-orm/feature/InTuples-Literal-skipCache
...
InTuples literal mode - don't cache ebean compiled query plan
2023-08-17 15:34:17 +12:00
robin.bygrave
9bcd189730
Test TestInTuplesWithLocalDate does not support SQLServer and DB2 yet
2023-08-17 15:24:28 +12:00
Rob Bygrave and GitHub
428365ceb9
Merge pull request #3164 from FOCONIS/bugfix/drop_foreign_key_without_index
...
BUG: Include drop for foreign keys without index when dropping table
2023-08-17 15:12:19 +12:00
robin.bygrave
76c889c6d9
InTuples literal mode - don't cache ebean compiled query plan
...
- Don't cache ebean compiled query plan when InTuples goes into literal mode
- Postgres maxInBinding = 32_000;
- SQLite maxInBinding = 800;
- Note that not caching the compiled query plan means that metrics visitor isn't
going to see it, we lose collection of that query execution metric. We might
need a plan to fix this later.
2023-08-17 15:08:16 +12:00
Rob Bygrave and GitHub
9e4007d25a
Merge pull request #3165 from ebean-orm/feature/Lists-partitions
...
Add support for literal mode for InTuples with lots of entries
2023-08-17 10:31:03 +12:00
Rob Bygrave
9d7754b92d
Add support for literal mode for InTuples with lots of entries
...
So as to not exceed the limit on bind values, the InTuples expression can
go into literal mode where it uses literal values for supported types -
Numbers, Strings, UUID, and LocalDate.
2023-08-17 00:33:56 +12:00
Rob Bygrave and GitHub
3c80032063
Merge pull request #3163 from ebean-orm/feature/Lists-partitions
...
Add Lists.partition() helper method and use in DefaultPersister batch deletion
2023-08-17 00:32:04 +12:00
Jonas Pöhler
7dae937491
Generate working migration
2023-08-16 12:00:23 +02:00
Jonas Pöhler
6ce5e865ca
FIX: also include foreign keys without index in drop statement
2023-08-16 11:59:50 +02:00
Jonas Pöhler
b0d8fa0286
Generate failing migration
2023-08-16 11:58:57 +02:00
Jonas Pöhler
83c85adbde
ADD: testcase
2023-08-16 11:57:34 +02:00
Rob Bygrave
a1b51fd8ef
For DefaultPersister batch deletion, use more explicit maxDeleteBatch
2023-08-16 17:55:41 +12:00
Rob Bygrave
bcc4034371
Add Lists.partition() helper method and use in DefaultPersister batch deletion
2023-08-16 17:39:10 +12:00
Rob Bygrave and GitHub
3dde07fc9f
Merge pull request #3162 from ebean-orm/feature/3133-postgres
...
Tidy IdBinderEmbedded - merge use of getIdProperty() and idSelect()
2023-08-16 00:17:23 +12:00
Rob Bygrave
87ada9e999
IdBinder - refactor rename methods
2023-08-16 00:11:46 +12:00
Rob Bygrave
ea55f25d44
Tidy IdBinderEmbedded - merge use of getIdProperty() and idSelect() to use idSelect()
...
Means we can remove getIdProperty()
2023-08-15 23:36:59 +12:00
Rob Bygrave and GitHub
2231f723f8
Merge pull request #3161 from ebean-orm/feature/3133-postgres
...
Fix to #3133 changes for Postgres adding back support for MultiValue binding
2023-08-15 23:18:53 +12:00
Rob Bygrave
7c16694d4b
Fix to #3133 changes for Postgres adding back support for MultiValue binding
...
The MultiValue binding that we use for Postgres, Yugabyte etc was lost with
the changes in #3133 and this puts that back.
We desire to use Postgres ANY Array binding for these cases.
2023-08-15 23:17:31 +12:00
Rob Bygrave and GitHub
ea60ff47cf
Merge pull request #3160 from ebean-orm/feature/alsoIf
...
Add Query alsoIf() to conditionally apply changes to a query
2023-08-15 22:25:28 +12:00
Rob Bygrave and GitHub
1f7912dab6
Merge pull request #3159 from ebean-orm/feature/idClass
...
Change IdClass property name to _$IdClass$
2023-08-15 21:59:56 +12:00
Rob Bygrave
ec0c00eb72
Add Query alsoIf() to conditionally apply changes to a query
2023-08-15 21:56:50 +12:00
Rob Bygrave
dd99e32cc6
Change IdClass property name to _$IdClass$
2023-08-15 21:55:09 +12:00
Rob Bygrave and GitHub
1decbe0152
Merge pull request #3147 from FOCONIS/rethrow-error-in-commit
...
FIX: Rethrow error in commit path of callbacks
2023-08-14 23:25:04 +12:00
Rob Bygrave and GitHub
d58e3d023f
Merge pull request #3158 from ebean-orm/feature/tidy-idBinderEmbedded
...
Followup for #3133 - "Embedded id expansion on parentIds" for SQLServer and DB2
2023-08-14 23:06:28 +12:00
Rob Bygrave
1598b40c36
Followup for #3133 - "Embedded id expansion on parentIds" for SQLServer and DB2
2023-08-14 23:00:41 +12:00
Rob Bygrave and GitHub
66ef667a0a
Merge pull request #3157 from ebean-orm/feature/tidy-idBinderEmbedded
...
Tidy IdBinderEmbedded final fields, StringBuilder sizes and reuse code
2023-08-14 22:59:15 +12:00
Rob Bygrave
e821d66268
Tidy IdBinderEmbedded final fields, StringBuilder sizes and reuse code
2023-08-14 15:10:00 +12:00
Rob Bygrave and GitHub
b8e164e04c
Merge pull request #3148 from FOCONIS/fix-recursive-batch-flush
...
FIX: Recursive batch flush can save beans in wrong order
2023-08-14 13:55:50 +12:00
Rob Bygrave and GitHub
9097466a7b
Merge pull request #3145 from FOCONIS/m2m-where-formula
...
FIX: Query on formula m2o-property uses wrong alias:
2023-08-14 13:55:21 +12:00
Rob Bygrave and GitHub
99604d8ec3
Merge pull request #3155 from ebean-orm/feature/3133-IdClass-match-on-name
...
#3133 - For IdClass match on property name
2023-08-14 13:53:58 +12:00
Rob Bygrave
95d37fc3dc
Temporary ignore test TestCompositeForeignKey for DB2 and SQLServer
2023-08-14 13:41:34 +12:00
Rob Bygrave
76d85adc98
Fix tests for #3133 MySql and SQLServer which require column ordering of PK and FK to match
2023-08-14 11:14:43 +12:00
Rob Bygrave
2f233db465
#3133 - For IdClass match on property name
2023-08-10 23:22:57 +12:00
Rob Bygrave
1ca73ca6aa
Test only - Update test IdClass CEPProductCategoryId to match expectations
2023-08-10 23:17:47 +12:00
Rob Bygrave and GitHub
d5e4c13fa8
Merge pull request #3154 from ebean-orm/feature/3134-idClass-delete
...
#3134 - String cannot be cast to class io.ebean.bean.EntityBean" when deleting entities that use cascade = [CascadeType.ALL] with composite keys
2023-08-10 21:15:09 +12:00
Rob Bygrave
b5ac31838c
#3134 Fix for - String cannot be cast to class io.ebean.bean.EntityBean" when deleting entities that use cascade = [CascadeType.ALL] with composite keys
2023-08-10 21:11:58 +12:00
Rob Bygrave
e3e9412eea
#3134 Failing test - String cannot be cast to class io.ebean.bean.EntityBean" when deleting entities that use cascade = [CascadeType.ALL] with composite keys
2023-08-10 20:50:40 +12:00
Roland Praml and Roland Praml
d3427876b7
FIX: Recursive batch flush can save dependant beans in wrong order
2023-08-08 16:59:46 +02:00
Roland Praml
4b2976e31b
Rethrow error in commit path of callbacks
2023-08-08 16:35:25 +02:00
Roland Praml
5720ee65b3
Ignored Postgres Platform
2023-08-08 14:02:49 +02:00
Roland Praml
7f441ce72e
FIX: M2M Where Formula joins
2023-08-08 14:02:34 +02:00
Rob Bygrave and GitHub
83e87b0c67
Merge pull request #3140 from ebean-orm/feature/bump-datasource
...
Bump ebean-datasource to 8.6, increases validation timeout default to 30 secs
2023-07-23 14:35:57 +12:00
Rob Bygrave
578feac87f
Bump ebean-datasource to 8.6, increases validation timeout default to 30 secs
2023-07-21 17:02:08 +12:00
Rob Bygrave and GitHub
42a64e715d
Merge pull request #3138 from ebean-orm/feature/postgres-queryplan-capture-buffers
...
[Postgres] Include buffers in Postgres explain - explain (analyze, buffers)
2023-07-18 14:35:24 +12:00
robin.bygrave
12a3a180f4
[Postgres] Include buffers in Postgres explain - explain (analyze, buffers)
2023-07-18 13:52:21 +12:00
Rob Bygrave and GitHub
8acd5bcb39
Merge pull request #3131 from ebean-orm/feature/h2-nonKeyWords
...
Modify ebean-test H2Database setup to default KEY,VALUE as non-keywords
2023-07-11 12:49:15 +12:00
Rob Bygrave and GitHub
eb71756c65
Merge pull request #3136 from ebean-orm/dependabot/maven/com.h2database-h2-2.2.220
...
Bump h2 from 2.1.214 to 2.2.220
2023-07-11 12:48:04 +12:00
dependabot[bot] and GitHub
8c8cadd471
Bump h2 from 2.1.214 to 2.2.220
...
Bumps [h2](https://github.com/h2database/h2database ) from 2.1.214 to 2.2.220.
- [Release notes](https://github.com/h2database/h2database/releases )
- [Commits](https://github.com/h2database/h2database/compare/version-2.1.214...version-2.2.220 )
---
updated-dependencies:
- dependency-name: com.h2database:h2
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-07 21:57:51 +00:00
Rob Bygrave and GitHub
222c49c59b
Merge pull request #3130 from ebean-orm/feature/3123-root-error-suppressed
...
#3123 Root cause error can be suppressed on initialisation
2023-07-05 23:47:11 +12:00
Rob Bygrave
1e860112e6
Modify ebean-test H2Database setup to default KEY,VALUE as non-keywords
...
H2Database 2.x changed KEY and VALUE to be deemed keywords for SQL compliance. This is actually a bit of a pain as all the other databases we test allow KEY and VALUE as column names.
This changes the setup for H2Database to treat KEY and VALUE as non keywords as before and be more consistent with the other databases.
2023-07-05 23:46:06 +12:00
Rob Bygrave
ffc21daaba
Bump to next snapshot
2023-07-05 23:28:49 +12:00
Rob Bygrave
f9adcb2c5a
#3123 Root cause error can be suppressed on initialisation
2023-07-05 23:16:00 +12:00
Rob Bygrave
d051bba71f
Version 13.20.1
2023-07-04 12:05:30 +12:00
Rob Bygrave
f414f04033
Add note on lack of support for InTuples with SQLServer and DB2
2023-07-04 12:05:10 +12:00
Rob Bygrave
ac466ecd79
#3125 Add query.usingMaster() for query beans
2023-07-03 23:30:02 +12:00
Rob Bygrave
262a7f9bab
Bump ebean-agent version
2023-07-03 22:57:55 +12:00
Rob Bygrave and GitHub
bb02d74005
Merge pull request #3125 from ebean-orm/feature/query-usingMaster
...
Add query.usingMaster() to explicitly choose master data source
2023-07-03 22:48:47 +12:00
Rob Bygrave and GitHub
e9b2b8d266
Merge pull request #3017 from ebean-orm/feature/db2luw9
...
Initial DB2Luw9Platform using row_number() for row limiting sql
2023-07-03 22:43:55 +12:00
Rob Bygrave
fc16bde227
Modify ImplicitReadOnlyTransaction, call deactivate in finally
2023-07-03 22:43:13 +12:00
Rob Bygrave
d1775dfcc4
#3017 Change DB2LegacyPlatform to also use the row_number limiters
2023-07-03 22:35:46 +12:00
3d5937f6da
Update platforms/db2/src/main/java/io/ebean/platform/db2/DB2RowNumberBasicLimiter.java
...
Bump StringBuilder to use 120
Co-authored-by: Roland Praml <roland.praml@foconis.de >
2023-07-03 22:31:01 +12:00
Rob Bygrave and GitHub
adca8cd8fa
Merge branch 'master' into feature/db2luw9
2023-07-03 22:28:43 +12:00
Rob Bygrave and GitHub
6d30e6310b
Merge pull request #3127 from ebean-orm/feature/3126
...
#3126 - Incorrect complex indexes generation
2023-07-03 22:22:32 +12:00
Rob Bygrave
79ed0a5f8e
#3126 - Incorrect complex indexes generation
2023-07-03 22:19:38 +12:00
Rob Bygrave
94b3a020d5
Modify ImplicitReadOnlyTransaction useCommit to check connection.getAutoCommit()
2023-07-03 21:40:21 +12:00
Rob Bygrave
3e241907e6
Modify internal ImplicitReadOnlyTransaction to also support calling commit()
...
Originally, ImplicitReadOnlyTransaction was built to support read-only DataSource where the connections are using autoCommit true. This change modified ImplicitReadOnlyTransaction to also support use with the main DataSource where the connection are not using autoCommit true.
This is also now needed for the query.usingMaster() case where we have an implicit read only transaction but use the main DataSource with underlying connection requiring explicit commit() at the end of the transaction.
2023-07-03 21:27:58 +12:00
Rob Bygrave
c4af1d9b23
Add query.usingMaster() to explicitly choose master data source
...
When we have a read replica with potential for replication lag, and config a read only DataSource to use that read replica, by default a query executed without a current transaction will use the read replica.
We specify usingMaster() when we explicitly want to execute a query and use the master data source.
2023-07-03 16:41:22 +12:00
Rob Bygrave and GitHub
7702169762
Merge pull request #3124 from ebean-orm/feature/InTuples
...
Add InTuples expression for multi-column IN expression
2023-07-03 12:48:21 +12:00
Rob Bygrave
8209d9e229
Add SpiInTuples to hide more details from InTuples
2023-07-03 12:41:31 +12:00
Rob Bygrave
664120f369
Add InTuples expression for multi-column IN expression
2023-07-03 11:54:38 +12:00
Rob Bygrave
e952b555e0
Add InTuples expression for multi-column IN expression
2023-07-03 11:49:53 +12:00
Rob Bygrave and GitHub
d99c50da75
Merge pull request #3122 from ebean-orm/feature/3109-jta-txn-fix
...
#3109 Fix for JtaTransactionManager when no active transaction
2023-06-26 21:30:55 +12:00
Rob Bygrave
d4bec166f7
#3109 Fix for JtaTransactionManager when no active transaction
...
The call to registry() can throw an exception so
pulling that inside the try catch block and handle
that as no active transaction returning null.
2023-06-26 21:30:01 +12:00
Rob Bygrave
9a4b9d4bec
Bump to next snapshot version
2023-06-21 07:08:13 +12:00
Rob Bygrave
68a6e98292
Version 13.20.0
2023-06-20 20:35:04 +12:00
Rob Bygrave
d61bdb028b
Bump ebean-agent to 13.20.0
2023-06-20 20:32:29 +12:00
Rob Bygrave and GitHub
9ddadb1338
Merge pull request #3118 from ebean-orm/feature/3109-JtaTransaction-currentTransaction
...
#3109 JtaTransactionManager - fix getCurrentTransaction()
2023-06-20 19:46:45 +12:00
Rob Bygrave
fa1f225e67
#3109 follow up - refactor rename internal methods
2023-06-20 19:41:00 +12:00
Rob Bygrave
7a72adedfa
#3109 JtaTransactionManager - fix getCurrentTransaction()
...
Fix for JtaTransactionManager to allow Wildfly (or other) to throw an Exception when TransactionSynchronizationRegistry.getResource() is called.
2023-06-20 19:39:08 +12:00
Rob Bygrave and GitHub
3d3e5c2c34
Merge pull request #3117 from ebean-orm/feature/bump-test-containers
...
Bump ebean-test-containers to 7.1
2023-06-20 18:45:06 +12:00
Rob Bygrave
708f429c21
Bump ebean-test-containers to 7.1
2023-06-20 18:40:48 +12:00
Rob Bygrave and GitHub
bca49ed2e2
Merge pull request #3116 from ebean-orm/feature/bump-test-containers
...
Bump ebean-test-containers to 7.0
2023-06-20 17:47:15 +12:00
Rob Bygrave
e103ec7706
Bump ebean-test-containers to 7.0
2023-06-20 17:46:36 +12:00
Rob Bygrave and GitHub
9fc1bec6a9
Merge pull request #3046 from FOCONIS/bugfix/lazy_loading_findEach_garbage_collection
...
Bugfix for NPE when lazyLoading in findEach due to Garbage Collection
2023-06-17 11:56:25 +12:00
Rob Bygrave and GitHub
f712635860
Merge pull request #3107 from FOCONIS/json-tests
...
DB specific length support in JSONs/Varchars/binary data
2023-06-17 11:38:46 +12:00
Rob Bygrave and GitHub
47a0e38eac
Merge pull request #3114 from ebean-orm/feature/3113-followup
...
Followup to #3113 , remove unused first BatchControl queue
2023-06-17 11:36:53 +12:00
Rob Bygrave
870d90d055
Followup to #3113 , remove unused first BatchControl queue
2023-06-17 11:35:51 +12:00
Rob Bygrave and GitHub
ac1b30782a
Merge pull request #3113 from FOCONIS/bugfix/batch_ordering_many2many_intersection
...
Bugfix for wrong batch statement ordering with many2many relations
2023-06-17 11:28:01 +12:00
Jonas Pöhler
b63445e9c9
FIX: Put the delete statements into the correct flush-queue, so they do not conflict with the following inserts
2023-06-16 16:26:14 +02:00
Jonas Pöhler
09f616aae8
ADD: testcase for showing an issue with deleting and re-adding many-to-many elements (size > 20)
...
(cherry picked from commit e6a4bc4e0c31bb35ab5a13c958c7c4b1f68ca037)
2023-06-16 16:16:53 +02:00
Roland Praml
994fb267ad
Merge branch 'master-upstream' into json-tests
2023-06-16 07:40:01 +02:00
Rob Bygrave and GitHub
53b1e4d682
Merge pull request #3111 from ebean-orm/feature/3101-jpa-indexes
...
#3101 - Support JPA Indexes
2023-06-16 13:53:48 +12:00
robin.bygrave
c7f6c508a6
#3101 - Support JPA Indexes
2023-06-16 13:44:03 +12:00
Rob Bygrave and GitHub
9109fd356f
Merge pull request #3108 from FOCONIS/regenerated-scripts
...
No code change: Regenerated scripts
2023-06-15 23:37:51 +12:00
Roland Praml
55477d4fab
No code change: Regenerated scripts
2023-06-15 08:07:51 +02:00
Rob Bygrave and GitHub
340281113f
Merge pull request #3106 from focbenz/patch-1
...
Update CONFIGURATION.md with small corrections and comment for includeGeneratedFileComment
2023-06-15 08:05:26 +12:00
Roland Praml
77610672a9
Regenerated migration scripts again
2023-06-14 18:24:23 +02:00
Roland Praml
d8238735c1
Fix also DbTypeMapTest, which uses the new varbinary type
2023-06-14 18:19:17 +02:00
Roland Praml
f63b013ef9
Added and fixed tests
2023-06-14 18:14:12 +02:00
Roland Praml
6fe3ec9355
Migration scripts
2023-06-14 17:50:26 +02:00
Roland Praml
d1c21bf50a
Hana, NuoDb, SqlAnywhere: add limits (untested!)
2023-06-14 17:50:08 +02:00
Roland Praml
578560c2e2
Oracle: max varchar length = 4000, raw = 2000
2023-06-14 17:49:10 +02:00
Roland Praml
0f9462b7b5
Postgres: max varchar limit = 10MB
2023-06-14 17:32:00 +02:00
Roland Praml
e89891038b
Mysql: max varchar length = 4000, varbinary = 8000. Also refactored MySql(C|B)lob
2023-06-14 17:30:28 +02:00
Roland Praml
2a7a2d4dd4
DB2: max varchar length = 4000, varbinary = 8000
2023-06-14 17:27:58 +02:00
Roland Praml
f499cc8c2c
SQLSERVER: max nvarchar length = 4000, varbinary = 8000 (no longer using deprecated image type by default)
2023-06-14 17:19:48 +02:00
Roland Praml
0dc4c6b11b
NEW: DbPlatformType supports fallback, when length exceeded (removed SqlServer workaround)
2023-06-14 17:18:06 +02:00
Roland Praml
f5d0777b86
Added new test models with lengths
2023-06-14 17:17:31 +02:00
Roland Praml
81443b77bc
Fixes for Clickhouse platform
2023-06-14 17:16:14 +02:00
Roland Praml
2867c50090
Do not convert explicit defined column definitions
2023-06-14 17:16:14 +02:00
Michael Benz and GitHub
c04171c1a5
Update CONFIGURATION.md with small corrections
...
Updated configuration markdown with small corrections and removed TODO for includeGeneratedFileComment
See https://github.com/ebean-orm/ebean/issues/550
2023-06-14 14:34:09 +02:00
Rob Bygrave and GitHub
e19cbdc2f6
Merge pull request #3104 from FOCONIS/dbmigration-fixes
...
Fixed DbMigration classes (put them in the right place)
2023-06-14 07:58:50 +12:00
Roland Praml
3e2e84e8bf
Fixed DbMigration classes (put them in the right place)
2023-06-13 17:20:02 +02:00
Rob Bygrave
462d30bbb7
Version 13.19.0
2023-06-07 17:56:19 +12:00
Rob Bygrave and GitHub
5466b889a7
Merge pull request #3098 from ebean-orm/deprecated/BeanFinder-server
...
Refactor ebean-core internal API - getters -> accessors
2023-06-02 09:06:54 +12:00
Rob Bygrave
d27d20dd1c
Refactor ebean-core internal API - getters -> accessors
2023-06-02 09:03:29 +12:00
Rob Bygrave and GitHub
b6edc54cd9
Merge pull request #3097 from ebean-orm/deprecated/BeanFinder-server
...
Refactor ebean-core internal API - getters -> accessors and tidy
2023-06-01 22:15:52 +12:00
Rob Bygrave
2929483b0d
Refactor ebean-core internal API - getters -> accessors
2023-06-01 22:05:53 +12:00
Rob Bygrave
2ab7c3529a
Tidy ebean-core internal API
...
- Remove unused BeanIdList
2023-06-01 21:27:55 +12:00
Rob Bygrave and GitHub
f409ea2431
Merge pull request #3096 from ebean-orm/deprecated/BeanFinder-server
...
Deprecate order() methods on Query, ExpressionList - migrate to orderBy()
2023-06-01 21:22:54 +12:00
Rob Bygrave
e71be4e1b1
Deprecate order() methods on Query, ExpressionList - migrate to orderBy()
...
Unfortunately we have order() and orderBy() methods which do the
same thing. I have decided to deprecate the order() ones in
favour of the orderBy() methods so that ultimately we will end
up with less methods and I think orderBy() is the correct choice.
Apologies for the migration pain here.
2023-06-01 21:21:39 +12:00
Rob Bygrave and GitHub
507aec20d9
Merge pull request #3095 from ebean-orm/deprecated/BeanFinder-server
...
No functional change, Expr internal reuse of factory() method
2023-06-01 20:57:55 +12:00
Rob Bygrave
6a2d0c233a
No functional change, Expr internal reuse of factory() method
2023-06-01 20:56:13 +12:00
Rob Bygrave and GitHub
a1db8794bb
Merge pull request #3094 from ebean-orm/deprecated/BeanFinder-server
...
Remove deprecated Query Bean fetchAll() - migrate to fetch()
2023-06-01 20:48:50 +12:00
Rob Bygrave
bac7cd1ee7
Remove deprecated Query Bean fetchAll() - migrate to fetch()
...
```java
/**
* Deprecated in favor of fetch().
*/
@Deprecated
public final R fetchAll() {
return fetch();
}
```
2023-06-01 20:48:13 +12:00
Rob Bygrave and GitHub
7ec0c72522
Merge pull request #3093 from ebean-orm/deprecated/BeanFinder-server
...
Remove deprecated Query setLoadBeanCache() - migrate to setBeanCacheM…
2023-06-01 20:45:34 +12:00
Rob Bygrave
430926c5a9
Remove deprecated Query setLoadBeanCache() - migrate to setBeanCacheMode()
...
Typically migrate to `.setBeanCacheMode(CacheMode.PUT)` or `.setBeanCacheMode(CacheMode.OFF)`
```java
/**
* Deprecated - migrate to use setBeanCacheMode(CacheMode.PUT) or other CacheMode.
* <p>
* When set to true all the beans from this query are loaded into the bean cache.
*/
@Deprecated
Query<T> setLoadBeanCache(boolean loadBeanCache);
```
2023-06-01 20:44:31 +12:00
Rob Bygrave and GitHub
a2389be4aa
Merge pull request #3092 from ebean-orm/deprecated/BeanFinder-server
...
Remove deprecated ExpressionList.setOrderBy() - migrate to orderBy()
2023-06-01 20:34:44 +12:00
Rob Bygrave
f21caa0755
Remove deprecated ExpressionList.setOrderBy() - migrate to orderBy()
...
Migrate to `.orderBy(String orderBy)`
```java
/**
* Deprecated migrate to {@link #orderBy(String)}
*/
@Deprecated
Query<T> setOrderBy(String orderBy);
```
2023-06-01 20:34:04 +12:00
Rob Bygrave and GitHub
e42d3dac18
Merge pull request #3091 from ebean-orm/deprecated/BeanFinder-server
...
Remove deprecated DatabaseConfig.defaultOrderById
2023-06-01 20:11:51 +12:00
Rob Bygrave
4c47a84daf
Remove deprecated DatabaseConfig.defaultOrderById
...
Should no longer be used / set to true.
```java
/**
* Deprecated - look to have explicit order by. Sets the default orderById setting for queries.
*/
@Deprecated
public void setDefaultOrderById(boolean defaultOrderById) {
this.defaultOrderById = defaultOrderById;
}
```
2023-06-01 20:09:14 +12:00
Rob Bygrave and GitHub
42aaceaafa
Merge pull request #3090 from ebean-orm/deprecated/BeanFinder-server
...
Remove deprecated methods from ProfileLocation
2023-06-01 20:07:01 +12:00
Rob Bygrave
e5f7a28d80
Remove deprecated methods from ProfileLocation
...
These methods are no longer used.
2023-06-01 20:00:50 +12:00
Rob Bygrave and GitHub
074a3bacc7
Merge pull request #3089 from ebean-orm/deprecated/BeanFinder-server
...
Remove deprecated BeanFinder.server, migrate to BeanFinder.database
2023-06-01 19:56:34 +12:00
Rob Bygrave
f52a18989c
Remove deprecated BeanFinder.server, migrate to BeanFinder.database
2023-06-01 19:54:39 +12:00
Rob Bygrave
f415ee22b8
Update javadoc for ExtendedServer
2023-06-01 19:51:31 +12:00
Rob Bygrave
4878ca47b5
Remove deprecated ExtendedServer query methods - use query.usingTransaction() instead
...
Removing all the deprecated query methods from ExtendedServer. Migrate to passing
the explicit transaction to the query using query.usingTransaction() instead.
2023-06-01 19:45:17 +12:00
Rob Bygrave and GitHub
59a3766a53
Merge pull request #3087 from ebean-orm/deprecated/collectMetricsAsJson
...
Remove deprecated MetaInfoManager.collectMetricsAsJson() - move to co…
2023-06-01 19:36:04 +12:00
Rob Bygrave
15de44eef8
Remove deprecated MetaInfoManager.collectMetricsAsJson() - move to collectMetrics().asJson()
...
Removing these deprecated methods:
- collectMetricsAsJson() -> collectMetrics().asJson();
- collectMetricsAsData() -> collectMetrics().asData()
```java
/**
* Deprecated migrate to collectMetrics().asJson().
*/
@Deprecated
default ServerMetricsAsJson collectMetricsAsJson() {
return collectMetrics().asJson();
}
/**
* Deprecated migrate to collectMetrics().asData().
*/
@Deprecated
default List<MetricData> collectMetricsAsData() {
return collectMetrics().asData();
}
```
2023-06-01 19:35:03 +12:00
Rob Bygrave
5ae9942dd5
Remove unused and empty ebean-kotlin module
...
It never got used, may as well clean up and remove it.
2023-06-01 19:26:17 +12:00
Rob Bygrave and GitHub
bf375f1065
Merge pull request #3086 from ebean-orm/feature/move-components
...
Remove unused and empty ebean-kotlin module
2023-06-01 19:22:45 +12:00
Rob Bygrave
510e129ff6
Remove unused and empty ebean-kotlin module
...
It never got used, may as well clean up and remove it.
2023-06-01 19:22:16 +12:00
Rob Bygrave and GitHub
1c32b9b0bc
Merge pull request #3085 from ebean-orm/feature/move-components
...
Moved - ebean-autotune, ebean-csv-reader, ebean-joda-time, ebean-jack…
2023-06-01 19:19:39 +12:00
Rob Bygrave
f25a20ff90
Moved - ebean-autotune, ebean-csv-reader, ebean-joda-time, ebean-jackson-jsonnode, ebean-externalmapping-xml
...
These modules have all been moved to ebean-component git repo.
These are all optional modules and will be released at a
slower cadence.
2023-06-01 19:17:14 +12:00
Rob Bygrave and GitHub
0ba6753c8c
Merge pull request #3084 from ebean-orm/fix/jakarta-transaction
...
Fix javax-to-jakarta support for jakarta.transaction
2023-06-01 08:26:54 +12:00
Rob Bygrave
7efef027c0
Fix javax-to-jakarta support for jakarta.transaction
2023-06-01 08:24:14 +12:00
Rob Bygrave
3a84695130
Version 13.18.0
2023-05-31 22:06:30 +12:00
Rob Bygrave and GitHub
3f6d6908e2
Merge pull request #3081 from ebean-orm/feature/bump-migration-2
...
Bump ebean-migration to 13.9.0 - changes API for checkState()
2023-05-31 20:53:24 +12:00
Rob Bygrave
9f4bf6103f
Bump ebean-migration to 13.9.0 - changes API for checkState()
...
Code using ebean-migration checkState() methods needs to change
as those methods now return a new MigrationResource interface type
2023-05-31 20:51:28 +12:00
Rob Bygrave and GitHub
ad7bb7063d
Merge pull request #3079 from ebean-orm/feature/bump-migration
...
Bump ebean-migration to 13.8.0 and ebean-ddl-runner to 2.3
2023-05-29 16:28:44 +12:00
Rob Bygrave
04b4fea559
Bump ebean-migration to 13.8.0 and ebean-ddl-runner to 2.3
2023-05-29 16:27:54 +12:00
Rob Bygrave and GitHub
eb824949fe
Merge pull request #3078 from ebean-orm/feature/refactor-renameDtoMethodUsingAccessors
...
Refactor internal dto methods to use accessors
2023-05-26 15:24:40 +12:00
robin.bygrave
34db4d0c1f
Refactor internal dto methods to use accessors
2023-05-26 15:09:11 +12:00
Rob Bygrave and GitHub
54a3113dbc
Merge pull request #3077 from ebean-orm/feature/3062-dtoQuery
...
Use Statement for truncate table and postgres version query
2023-05-26 15:03:52 +12:00
robin.bygrave
7635630808
Use Statement for truncate table and postgres version query
2023-05-26 15:03:13 +12:00
Rob Bygrave and GitHub
e4018864ac
Merge pull request #3075 from ebean-orm/feature/3062-dtoQuery
...
#3062 - DtoQuery may match the wrong constructor
2023-05-25 21:58:52 +12:00
robin.bygrave
75e69a0a23
#3062 - DtoQuery may match the wrong constructor
...
When 2 or more Dto constructors clash by argument count
then we need to ignore those constructors.
2023-05-25 21:57:54 +12:00
Rob Bygrave and GitHub
6061f80dcc
Merge pull request #3074 from ebean-orm/feature/toString_roundBrackets
...
Change toString to use (trimmed) with round brackets
2023-05-25 21:15:31 +12:00
robin.bygrave
c60525a685
Change toString to use (trimmed) with round brackets
...
Change from use <> angle brackets as with json logger these are escaped which is a little ugly
2023-05-25 21:14:51 +12:00
Rob Bygrave and GitHub
eef628531a
Merge pull request #3073 from ebean-orm/feature/bump-yugabyte
...
Bump yugabyte version to 2.18.0.0
2023-05-25 21:04:07 +12:00
robin.bygrave
33d9257a61
Bump yugabyte version to 2.18.0.0
2023-05-25 20:56:10 +12:00
robin.bygrave
7b032351b1
Bump yugabyte version to 2.18.0.0
2023-05-25 20:48:50 +12:00
robin.bygrave
265f865a7d
Postgres DDL - Use IF NOT EXISTS with ADD COLUMN
...
Update generated hashes
2023-05-25 20:30:47 +12:00
Rob Bygrave and GitHub
73d30310fd
Merge pull request #3072 from ebean-orm/feature/postgres-dll-addColumn-ifNotExists
...
Postgres DDL - Use IF NOT EXISTS with ADD COLUMN
2023-05-25 20:28:41 +12:00
Rob Bygrave and GitHub
e26fbbb11f
Merge branch 'master' into feature/postgres-dll-addColumn-ifNotExists
2023-05-25 20:25:54 +12:00
Rob Bygrave and GitHub
a548c16789
Merge pull request #3071 from ebean-orm/feature/postres-ddl-varchar-changeSize
...
Postgres DDL - Don't use cast when just changing varchar column size
2023-05-25 20:23:04 +12:00
robin.bygrave
ecf650c9bc
Postgres DDL - Use IF NOT EXISTS with ADD COLUMN
2023-05-25 20:22:18 +12:00
robin.bygrave
b27b4e7038
Postgres DDL - Don't use cast when just changing varchar column size
2023-05-25 20:00:36 +12:00
Rob Bygrave and GitHub
58d190ef12
Merge pull request #3070 from ebean-orm/dependabot/maven/ebean-test/org.xerial-sqlite-jdbc-3.41.2.2
...
Bump sqlite-jdbc from 3.36.0.3 to 3.41.2.2 in /ebean-test
2023-05-24 09:28:05 +12:00
dependabot[bot] and GitHub
bffc9108f9
Bump sqlite-jdbc from 3.36.0.3 to 3.41.2.2 in /ebean-test
...
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc ) from 3.36.0.3 to 3.41.2.2.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases )
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG )
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.36.0.3...3.41.2.2 )
---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-23 20:15:29 +00:00
Rob Bygrave and GitHub
114a715432
Merge pull request #3068 from FOCONIS/throw-exceptions
...
DB.refrence throws EntityNotFoundException instead returning null
2023-05-23 19:29:51 +12:00
Rob Bygrave and GitHub
67d98954b2
Merge pull request #3069 from ebean-orm/feature/bump-avaje-config
...
Bump avaje-config to 3.4
2023-05-23 19:28:47 +12:00
Rob Bygrave
53e7aafb06
Bump avaje-config to 3.4
2023-05-23 19:26:29 +12:00
Roland Praml
e207b4720b
DB.refrence throws EntityNotFoundException instead returning null
2023-05-23 08:37:52 +02:00
Rob Bygrave and GitHub
af6da23411
Merge pull request #3067 from ebean-orm/feature/2064-jakarta-transaction
...
#3064 - JtaTransaction does not use jarkarta prefix for javax.transaction classes
2023-05-23 17:11:38 +12:00
robin.bygrave
21f274fd34
#3064 - JtaTransaction does not use jarkarta prefix for javax.transaction classes
2023-05-23 17:09:53 +12:00
Rob Bygrave and GitHub
1b8df12a01
Merge pull request #3066 from ebean-orm/feature/3060-part2
...
From #3060 - Add missing @Nullable to ExpressionList.findSingleAttribute()
2023-05-23 17:00:14 +12:00
robin.bygrave
b210d1a6a7
From #3060 - Add missing @Nullable to ExpressionList.findSingleAttribute()
2023-05-23 16:12:13 +12:00
Rob Bygrave and GitHub
d53ca87d43
Merge pull request #3057 from FOCONIS/property-value-intercept
...
Property.value use intercept to trigger lazy load
2023-05-23 13:36:09 +12:00
Rob Bygrave and GitHub
635820cab5
Merge pull request #3058 from ebean-orm/feature/BeanProperty-value-to-getValue
...
No functional change, change use of BeanProperty.value() to BeanProperty.getValue()
2023-05-19 16:09:37 +12:00
Rob Bygrave and GitHub
aedb0fdcac
Merge pull request #3063 from ebean-orm/feature/improve-error-message-no-join-columns
...
Use DeployBeanProperty toString() removing getFullBeanName()
2023-05-19 16:08:54 +12:00
robin.bygrave
4db1925328
No functional change, change use of BeanProperty.value() to BeanProperty.getValue()
...
Noting that value() currently calls through to getValue() hence
this is no real change. This is done because value() is also
a public method Property.value() [and this should probably
change to use getValueIntercept() rather than getValue()]
2023-05-17 15:31:52 +12:00
Roland Praml
6f2a444954
Property.value use intercept
2023-05-16 15:28:30 +02:00
Rob Bygrave and GitHub
59b6621077
Merge pull request #3055 from ebean-orm/feature/queryPlanCaptureMicros
...
ENH: Add captureMicros and whenCaptured to MetaQueryPlan
2023-05-16 15:38:05 +12:00
Rob Bygrave and GitHub
15a39f62e6
Merge pull request #3056 from ebean-orm/bump/yugabyte
...
Testing - Bump YugabyteDB version for testing to 2.17.3.0-b152
2023-05-16 15:37:29 +12:00
robin.bygrave
40489706ce
Testing - Bump YugabyteDB version for testing to 2.17.3.0-b152
2023-05-16 14:39:46 +12:00
robin.bygrave
742f3b6dc4
ENH: Add captureMicros and whenCaptured to MetaQueryPlan
...
- captureMicros is the time taken to capture the specific query plan
- whenCaptured is the time when the bind values were taken
The DefaultQueryPlanListener logging will include these in the
output it logs
2023-05-16 13:47:27 +12:00
Rob Bygrave and GitHub
753617a616
Merge pull request #3039 from FOCONIS/detailed-error-message
...
Throw excepction when trying to create unregistered bean
2023-05-10 16:37:18 +12:00
Rob Bygrave and GitHub
114da00d98
Merge pull request #3040 from FOCONIS/correct-quotes
...
FIX: Use correct quotes when logging
2023-05-10 16:36:27 +12:00
Rob Bygrave and GitHub
283ab7a1ac
Merge pull request #3038 from FOCONIS/fix-javadoc-plugin
...
FIX build on system without JAVA_HOME set
2023-05-10 16:35:39 +12:00
Rob Bygrave and GitHub
096988c19f
Merge pull request #3052 from ebean-orm/feature/dep-config
...
Bump jackson dependency to 2.15.0
2023-05-10 16:34:06 +12:00
Rob Bygrave
baf727e8ea
Bump jackson dependency to 2.15.0
2023-05-10 16:33:38 +12:00
Rob Bygrave and GitHub
2eb6558145
Merge pull request #3051 from ebean-orm/feature/dep-config
...
Bump avaje-config dependency to 3.2
2023-05-10 16:30:39 +12:00
Rob Bygrave
d946504503
Bump avaje-config dependency to 3.2
2023-05-10 16:30:03 +12:00
Rob Bygrave
ed94edd96b
Bump to next snapshot version
2023-05-10 16:26:03 +12:00
Rob Bygrave and GitHub
6441030161
Merge pull request #3030 from ebean-orm/feature/bump-avaje-config
...
Included ebean-migration as a dependency of ebean, ebean-postgres etc
2023-05-10 16:24:54 +12:00
Rob Bygrave
588527a5b9
Version 13.17.4
2023-05-10 00:34:53 +12:00
Rob Bygrave
06cad500c1
#3031 Improve error message
2023-05-10 00:34:27 +12:00
Rob Bygrave
e29b57811b
Update README add end
2023-05-10 00:30:07 +12:00
Rob Bygrave
e6bf46e8c4
Improve error message for #3031
2023-05-09 23:37:05 +12:00
Rob Bygrave and GitHub
646f8cc66b
Merge pull request #3050 from ebean-orm/feature/LoadBeanRequest
...
Fix SqlTreeLoadBean to only register new beans into load context
2023-05-09 23:23:31 +12:00
Rob Bygrave
4c9f0f23f0
Fix SqlTreeLoadBean to only register new beans into load context
...
Additionally, refactor LoadBeanRequest moving the MarkedAsDeleted logging
2023-05-09 22:49:17 +12:00
Rob Bygrave
ecfd831603
#3049 - Support for ebean.test.containers.mirror
2023-05-08 17:22:41 +12:00
Rob Bygrave and GitHub
b8324905ae
Merge pull request #3036 from Ryszard-Trojnacki/postgis
...
Implemented missing cache functions for Postgis module.
2023-05-08 17:15:14 +12:00
Rob Bygrave and GitHub
8cbcd1afad
Merge pull request #3049 from ebean-orm/feature/ebean.test.containers.mirror
...
[ebean-test] Add support for ebean.test.containers.mirror
2023-05-08 17:12:22 +12:00
Rob Bygrave
7970ea39f3
Bump to next snapshot version
2023-05-08 17:11:24 +12:00
robin.bygrave
a399d4f2cd
[ebean-test] Add support for ebean.test.containers.mirror
...
Can use this property to specify a mirror to use for test images when running in CI
Currently, we assume that for local builds we actually prefer to not use the mirror (for Arm64 support etc)
2023-05-08 14:35:14 +12:00
Jonas Pöhler
edb3759b3d
Potential fix for NPE in lazyLoad under HeapPressure
...
(cherry picked from commit 5aa163bb75 )
2023-05-05 09:58:01 +02:00
Jonas Pöhler
7ee0610db1
ADD: Test for reproducing NPE with lazyloaing in findEach under HeapPressure
...
(cherry picked from commit 96f071e08b )
2023-05-05 09:57:43 +02:00
Rob Bygrave
5b91e671dd
Version 13.17.3
2023-05-01 14:51:33 +12:00
Rob Bygrave
547843fd52
Bump ebean-agent to 13.17.3 (no effective change)
2023-05-01 13:30:39 +12:00
Rob Bygrave and GitHub
21e9c5c3d4
Merge pull request #3044 from ebean-orm/feature/markedAsDeleted-v3
...
Modify MarkedAsDeleted to ignore beans added during load
2023-05-01 13:21:36 +12:00
Rob Bygrave
05ab1ba25e
Modify MarkedAsDeleted to ignore beans added during load
...
Adds the additional queryIds.contains(id) check
2023-05-01 13:11:03 +12:00
Roland Praml
82a6ec6957
Fix also other places
2023-04-26 11:11:12 +02:00
Roland Praml
cf1c08c4ac
FIX: Use correct quotes when logging
2023-04-26 10:59:41 +02:00
Roland Praml
d32df16137
Throw excepction when trying to create unregistered bean
2023-04-26 10:56:14 +02:00
Roland Praml
2bcbc6fa07
FIX also other plugin versions
2023-04-26 10:39:18 +02:00
Roland Praml
ba9158ec9c
Javadoc POM fixes
2023-04-26 10:22:27 +02:00
Ryszard Trojnacki
40a6693a4c
Implemented missing cache functions for Postgis module.
2023-04-21 08:58:44 +02:00
Rob Bygrave
e04f33aaf0
Bump to next snapshot version
2023-04-21 16:53:12 +12:00
Rob Bygrave
e4162a5b03
Version 13.17.2
2023-04-21 16:14:48 +12:00
Rob Bygrave and GitHub
23e6b18262
Merge pull request #3035 from ebean-orm/feature/markedAsDeleted-mutateAfterLoadingFlag
...
Update MarkedAsDeleted logging to included check for loadingStarted
2023-04-21 02:44:39 +12:00
Rob Bygrave
c8852c521e
Update MarkedAsDeleted logging to included check for loadingStarted
2023-04-21 02:43:34 +12:00
Rob Bygrave
7351258d99
Bump ebean-agent to 13.17.2 (no functional change)
2023-04-21 00:51:57 +12:00
Rob Bygrave and GitHub
af9f9585fb
Merge pull request #3034 from ebean-orm/feature/3033
...
#3033 - Fix for ConcurrentModificationException introduced in 13.17.1
2023-04-21 00:50:23 +12:00
Rob Bygrave
d7f9dd40a0
#3033 - Fix for ConcurrentModificationException introduced in 13.17.1
...
java.util.ConcurrentModificationException
at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1493)
at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1516)
at java.base/java.util.AbstractCollection.toString(AbstractCollection.java:472)
at java.base/java.lang.String.valueOf(String.java:2951)
at io.ebeaninternal.server.core.DefaultBeanLoader.loadBean(DefaultBeanLoader.java:134)
at io.ebeaninternal.server.core.DefaultServer.loadBean(DefaultServer.java:475)
at io.ebeaninternal.server.loadcontext.DLoadBeanContext$LoadBuffer.loadBean(DLoadBeanContext.java:217)
at io.ebean.bean.InterceptReadWrite.loadBeanInternal(InterceptReadWrite.java:742)
at io.ebean.bean.InterceptReadWrite.loadBean(InterceptReadWrite.java:724)
at io.ebean.bean.InterceptReadWrite.preGetter(InterceptReadWrite.java:837)
at ...
2023-04-21 00:49:41 +12:00
Rob Bygrave
1ec389864d
Included ebean-migration as a dependency of ebean, ebean-postgres etc
...
Include ebean-migration as a dependency of all the composites. The thinking here is that we now expect to prefer ebean-migration over flyway or liquibase as the migration runner of choice. Including it means one less thing for folks to worry about in terms of syncing the versions to use etc.
2023-04-18 00:12:44 +12:00
Rob Bygrave and GitHub
d353b98307
Merge pull request #3029 from ebean-orm/feature/bump-avaje-config
...
Bump avaje-config to version 3.1
2023-04-18 00:04:14 +12:00
Rob Bygrave
3ddd7b4b2b
Bump avaje-config to version 3.1
2023-04-18 00:03:35 +12:00
Rob Bygrave
3960e1deb5
Bump test tile use to 13.17.1
2023-04-17 23:56:20 +12:00
Rob Bygrave
84af78e43c
Bump parent pom to 3.10
2023-04-17 23:52:36 +12:00
Rob Bygrave
cbdbf6d2e0
Bump to next snapshot version
2023-04-17 23:51:58 +12:00
Rob Bygrave
548bf871a9
Version 13.17.1
2023-04-17 23:31:00 +12:00
Rob Bygrave and GitHub
b5245544d2
Merge pull request #3028 from ebean-orm/feature/markedAsDeleted-beforeState
...
Change MarkedAsDeleted to log batch before state
2023-04-17 22:40:29 +12:00
Rob Bygrave
a986d0c8cd
Change MarkedAsDeleted to log batch before state
2023-04-17 22:18:33 +12:00
Rob Bygrave and GitHub
0e02449f67
Merge pull request #3027 from rvowles/docs/update-ebean-test
...
Update the documentation for test tenants
2023-04-17 17:52:48 +12:00
Richard Vowles
19389fb9d4
Update the documentation for test tenants
...
The existing docs for test tenants is no
longer correct and additional class level
docs point users in the right direction.
2023-04-17 16:22:06 +12:00
Rob Bygrave
63a23904ac
Update for DB2Luw9 with rn column as last column
2023-04-13 21:52:09 +12:00
Rob Bygrave and GitHub
ab1a79281b
Merge pull request #3023 from ebean-orm/feature/profileLabel-withQueryType
...
Add the [+query,+cache,+lazy] query type to the profile label
2023-04-13 19:46:27 +12:00
Rob Bygrave and GitHub
073669d312
Merge pull request #3025 from ebean-orm/fix/3024
...
Fix for #3024 NPE when lazy loading after deserialising an entity bean
2023-04-13 19:46:08 +12:00
Rob Bygrave
f66662fdfa
Fix for #3024 NPE when lazy loading after deserialising an entity bean
2023-04-13 19:42:14 +12:00
Rob Bygrave
04b0d23932
Update tiles-maven-plugin to version 2.34
2023-04-11 10:34:52 +12:00
Rob Bygrave
af613d3096
Add the [+query,+cache,+lazy] query type to the profile label
2023-04-06 21:59:51 +12:00
Rob Bygrave
ecd27e145e
bump to next snapshot version
2023-04-06 17:07:52 +12:00
Rob Bygrave
5f6b4a7795
Version 13.17.0
2023-04-06 15:34:50 +12:00
Rob Bygrave
3d890f5383
Bump ebean-agent to 13.17.0
2023-04-06 15:06:05 +12:00
Rob Bygrave
31a0d9b6a6
Add test only - add PathStackTest
2023-04-06 15:03:14 +12:00
Rob Bygrave and GitHub
95fbdf37c6
Merge pull request #3021 from ebean-orm/feature/3020-forUpdateRefresh
...
#3020 Query.forUpdate() works like REFRESH
2023-04-06 14:11:43 +12:00
Rob Bygrave and GitHub
1d09c0864d
Merge pull request #3019 from ebean-orm/refactor/method-names-ObjectGraphOrigin
...
Refactor rename getters to accessors for ObjectGraphOrigin etc
2023-04-06 14:11:23 +12:00
Rob Bygrave and GitHub
02f7815e73
Merge pull request #3018 from ebean-orm/refactor/add-final-remove-public-platformHelpers
...
Refactor platforms adding final and removing public from sequence, history, encryption helpers
2023-04-06 14:11:02 +12:00
Rob Bygrave and GitHub
85b700757d
Merge pull request #3010 from ebean-orm/feature/support-dynamicFormulaWithIncludes
...
Add support for dynamic formula with includes
2023-04-06 14:10:26 +12:00
Rob Bygrave and GitHub
d5838e3d64
Merge pull request #3009 from ebean-orm/build/13-16
...
Build 13.17.0
2023-04-06 14:09:53 +12:00
Rob Bygrave
01e9eb81cf
For testing PostGIS use ghcr.io/baosystems/postgis:15 docker image
...
This is a fork of the official PostGIS docker that support multi-architectures
and more specifically ARM
2023-04-04 22:40:02 +12:00
Rob Bygrave
1daad7af06
#3020 Query.forUpdate() works like REFRESH
...
Query.forUpdate() will load data into beans existing in the persistence context.
In discussion the thinking is that we can think of this as a bug fix.
2023-04-01 13:24:37 +13:00
Rob Bygrave
e51d6984fe
Refactor rename getters to accessors for BeanCollection, EntityBeanIntercept etc
2023-03-31 10:42:21 +13:00
Rob Bygrave
c2777b0e27
Refactor rename getters to accessors for ObjectGraphOrigin etc
2023-03-30 23:58:22 +13:00
Rob Bygrave
505f87c524
Refactor platforms adding final and removing public from sequence, history, encryption helpers
...
In theory no is customising these classes and probably should have their own copy of them if
they are doing do. Thus making these types final and package protected.
2023-03-30 23:40:53 +13:00
Rob Bygrave
1807fc201e
Initial DB2Luw9Platform using row_number() for row limiting sql
2023-03-30 22:56:55 +13:00
Rob Bygrave
4a372a5dc8
Remove unused import
2023-03-30 13:13:09 +13:00
Rob Bygrave
8e864897bd
Bump to next snapshot version
2023-03-30 13:00:55 +13:00
Rob Bygrave
87b12cff93
Version 13.16.0
2023-03-29 22:48:06 +13:00
Rob Bygrave and GitHub
14ea5521c4
Merge pull request #3015 from ebean-orm/fix/3012-shutdown-leak
...
Fix for #3012 Manual server shutdown leads to memory leak
2023-03-29 21:11:07 +13:00
Rob Bygrave
e1522df8a5
Fix for #3012 Manual server shutdown leads to memory leak
...
The issue being that shutdown() // with no args was
not calling ShutdownManager.unregisterDatabase(this)
noting that shutdown(boolean, boolean) did.
This change merges the old shutdownInternal(boolean, boolean)
method into shutdown(boolean, boolean) and simplifies
shutdown() to just call shutdown(boolean, boolean).
2023-03-29 20:59:23 +13:00
Rob Bygrave
b4f309c219
Bump ebean-agent to 13.16.0
2023-03-29 20:33:40 +13:00
Rob Bygrave and GitHub
181c6a9d4b
Merge pull request #3014 from ebean-orm/fix/autotune-key
...
[autotune] Fix key on CallStack - regression from introduction of StackWalker.StackFrame
2023-03-29 20:00:06 +13:00
Rob Bygrave and GitHub
203aa52c2f
Merge pull request #3013 from ebean-orm/feature/update-autotune-test
...
Update tests for Autotune
2023-03-29 19:36:42 +13:00
Rob Bygrave
ad3e88c562
Update tests for Autotune
2023-03-29 19:31:46 +13:00
Rob Bygrave
adb302059b
[autotune] Fix key on CallStack - regression from introduction of StackWalker.StackFrame
2023-03-29 19:30:56 +13:00
Rob Bygrave
2d03421de4
Use DeployBeanProperty toString() removing getFullBeanName()
2023-03-28 18:44:00 +13:00
Rob Bygrave and GitHub
9506e6456c
Merge pull request #3011 from ebean-orm/feature/improve-error-message-no-join-columns
...
Improve the error message "No join columns found" to include the relationship
2023-03-27 21:45:46 +13:00
Rob Bygrave
4617ea2c1c
Improve the error message "No join columns found" to include the relationship
2023-03-27 21:44:23 +13:00
Rob Bygrave
55d7eb55d2
Add support for dynamic formula with includes
...
e.g.
DB.find(ChildPerson.class)
.select("name, coalesce(someBean, parent.someBean) as effectiveBean") // include parent
.findList();
2023-03-25 15:49:17 +13:00
Rob Bygrave and GitHub
7feb193e95
Merge pull request #3007 from ebean-orm/refactor/rename-loadContext-methods
...
Refactor rename methods in LoadContext
2023-03-25 15:39:40 +13:00
Rob Bygrave and GitHub
ab8915b374
Merge pull request #3008 from ebean-orm/feature/expressionRequest-refactor
...
Refactor SpiExpressionRequest
2023-03-25 15:31:09 +13:00
Rob Bygrave
79fd689e9a
Add support for raw SQL SubQuery expressions IN,EQ,NE,GT,GE,LT,LE,EXISTS,Not IN, Not EXISTS
...
For these expressions the SQL SubQuery is not parsed by ebean and
just used as is.
2023-03-24 22:38:52 +13:00
Rob Bygrave
a68665a37e
Refactor rename methods on SpiExpressionRequest, DeployParser etc
2023-03-24 19:57:21 +13:00
Rob Bygrave
9ff240dc10
Refactor SpiExpressionRequest split parse() into property() and path() to have fast path
...
property() uses a fast path for the common case that the expression is a bean property path.
This will then fall back to using parse() when that isn't the case.
2023-03-24 19:35:11 +13:00
Rob Bygrave
9982fa3682
Refactor SpiExpressionRequest split append() into append() and parse()
...
- append() adds to the sql with NO parsing
- parse() adds to the sql with parsing to replace logical bean paths into table alias placeholder + db column
2023-03-24 17:37:34 +13:00
Rob Bygrave
f7a11135a5
Refactor rename methods in LoadContext
...
Rename internal methods only
2023-03-23 22:11:02 +13:00
Rob Bygrave
c29a81248a
Remove internal asserts on DLoadBeanContext bufferLock
2023-03-23 22:07:59 +13:00
Rob Bygrave
ef6d1dbca3
Bump to next snapshot version
2023-03-23 01:12:10 +13:00
Rob Bygrave
60a84b7a38
Version 13.15.2
2023-03-22 23:33:48 +13:00
Rob Bygrave
fa3e9e6fc6
Bump ebean-agent to 13.15.2
2023-03-22 23:30:28 +13:00
Rob Bygrave and GitHub
8ca44edf9c
Merge pull request #3006 from ebean-orm/fix/3005-rawSql-select
...
Fix for #3005 - Regression, Invalid SQL with RawSql in 13.15.0 due o #2996
2023-03-22 23:25:33 +13:00
Rob Bygrave
fcefd94086
Fix for #3005 - Regression, Invalid SQL with RawSql in 13.15.0 due to #2996
2023-03-22 23:18:18 +13:00
Rob Bygrave
70e5d57b7e
Bump to next snapshot version
2023-03-21 23:32:21 +13:00
Rob Bygrave
cc3b9c9508
Version 13.15.1
2023-03-21 21:17:08 +13:00
Rob Bygrave
be49be38d0
Bump ebean-agent to 13.15.1
2023-03-21 20:45:59 +13:00
Rob Bygrave and GitHub
dca13db945
Merge pull request #3002 from ebean-orm/feature/improveLogging-markedAsDeleted
...
Improve the logging around MarkedAsDeleted
2023-03-21 20:43:12 +13:00
Rob Bygrave
bd318a5d85
Improve the logging around MarkedAsDeleted
2023-03-21 20:30:39 +13:00
Rob Bygrave and GitHub
4c2be2986a
Merge pull request #3000 from FOCONIS/bugfix-fix-json-import
...
FIX: DB.json().toBean(target) can update existing lists (#85 )
2023-03-18 10:22:18 +13:00
3d7bebd244
FIX: DB.json().toBean(target) can update existing lists ( #85 )
...
* FIX: DB.json().toBean(target) can update existing lists
* remove sys.print, typo
---------
Co-authored-by: Roland Praml <roland.praml@foconis.de >
Co-authored-by: Juri Skrobko <juri.skrobko@foconis.de >
2023-03-17 11:04:53 +01:00
Rob Bygrave
e23bbf5f94
Revert test sqlserver docker image to 2017-CU28-ubuntu-16.04
2023-03-17 19:18:53 +13:00
Rob Bygrave
27b0c33a4b
Adjustments for SqlServer using BIGINT
2023-03-17 18:51:33 +13:00
Rob Bygrave
53ef159d06
Bump Postgres docker image to 15
2023-03-17 18:50:52 +13:00
Rob Bygrave
a7d778d98b
Merge branch 'master' of github.com:ebean-orm/ebean
2023-03-17 18:14:17 +13:00
Rob Bygrave
19580ff83d
Bump SqlServer docker image to 2022-RTM-CU2-ubuntu-20.04
2023-03-17 18:14:02 +13:00
Rob Bygrave and GitHub
a79a44c513
Merge pull request #2999 from ebean-orm/feature/2998-sqlserver-bigint
...
#2998 - SQLServer, map java long to BIGINT for bitwise expressions
2023-03-17 18:04:32 +13:00
Rob Bygrave
184b82e1b2
Fix test TestRawSqlQuerySelect for SqlServer
...
The order by not supported here by SqlServer
2023-03-17 18:03:37 +13:00
Rob Bygrave
04e935acd0
#2998 - SQLServer, map java long to BIGINT for bitwise expressions
2023-03-17 17:54:25 +13:00
Rob Bygrave
142ffe925c
Fix test TestRawSqlQuerySelect to support multiple databases
2023-03-16 09:06:09 +13:00
Rob Bygrave
395505ec0d
Bump to 13.15.1-SNAPSHOT
2023-03-14 16:57:17 +13:00
Rob Bygrave
c21a76fa5b
Version 13.15.0
2023-03-14 12:54:53 +13:00
Rob Bygrave
a2690fdccd
#2995 - Change DatabaseConfig.getClasses() to return a Set
...
The thinking is that it is safer to make this API change
rather than to return a shallow copy which you won't be
able to detect.
2023-03-14 11:56:01 +13:00
Rob Bygrave and GitHub
4039c20462
Merge pull request #2996 from ebean-orm/buchtajz-query_select_bugs
...
Add support for specifying select clause with RawSql
2023-03-14 11:48:40 +13:00
Rob Bygrave and GitHub
6d43028fba
Merge pull request #2995 from ebean-orm/feature/config-isLoadModuleInfo
...
Change such that querybean generated class registration can be used with explicit class registration
2023-03-14 11:48:09 +13:00
Rob Bygrave
efcee7e739
Improve test asserts for lazy loading element collection
2023-03-10 21:33:58 +13:00
Rob Bygrave
523fe6ae54
#2946 - Support specify select clause for RawSql
2023-03-10 20:31:54 +13:00
Rob Bygrave
8ec031bfde
Merge branch 'query_select_bugs' of github.com:buchtajz/ebean into buchtajz-query_select_bugs
2023-03-10 19:38:26 +13:00
Rob Bygrave
cd938fd659
Bump github actions versions on all build.yml
2023-03-10 14:17:38 +13:00
Rob Bygrave
837e296451
Bump github actions versions on build.yml
2023-03-10 14:14:31 +13:00
Rob Bygrave
52b0bd7b7d
Bump kotlin version to 1.8.10
2023-03-10 13:57:14 +13:00
Rob Bygrave
a8cad4f3d9
Change such that querybean generated class registration can be used will explicit class registration
...
In DatabaseConfig.isAutoLoadModuleInfo() it only used the querybean generated class registration is classes.isEmpty(). Changing this so that it only uses the loadModuleInfo flag.
This means, unless loadModuleInfo is set to false the classes that register with ebean will be a combination of both the explicitly registered ones plus the classes from the querybean generated EbeanEntityRegister.
In addition, this changes the classes from List to Set.
2023-03-10 11:01:46 +13:00
Rob Bygrave
e4cb81cbba
Bump to 13.14.2-SNAPSHOT
2023-03-10 00:26:34 +13:00
Rob Bygrave
08cd0aa4b7
Fix the jakarta <-> javax scripts with space after sed -i
2023-03-10 00:22:13 +13:00
Rob Bygrave
b565a5843e
Version 13.14.1
2023-03-09 21:38:47 +13:00
Rob Bygrave
79c96c9ec1
Improve error message in InterceptReadWrite when lazy loading and no default server registered
2023-03-09 17:14:36 +13:00
Rob Bygrave and GitHub
b703b683d8
Merge pull request #2994 from ebean-orm/feature/ErrorNoAttributeConverter
...
Throw IllegalStateException when @Convert on property but there is no…
2023-03-09 16:28:20 +13:00
Rob Bygrave
456eb3aca9
Throw IllegalStateException when @Convert on property but there is no AttributeConverter registered for that type
2023-03-09 16:27:41 +13:00
Rob Bygrave and GitHub
54c35300d4
Merge pull request #2992 from ebean-orm/feature/iae-batch-lazy-load
...
Fix for IndexOutOfBoundsException: The size must be at least 1
2023-03-09 09:59:12 +13:00
Rob Bygrave
dfc5963e35
Fix for IndexOutOfBoundsException: The size must be at least 1
...
Stack trace observed:
java.lang.IndexOutOfBoundsException: The size must be at least 1
at io.ebeaninternal.server.deploy.id.IdBinderSimple.getIdInValueExpr(IdBinderSimple.java:135)
at io.ebeaninternal.server.deploy.BeanDescriptor.parentIdInExpr(BeanDescriptor.java:1634)
at io.ebeaninternal.server.deploy.BeanPropertyAssocManySqlHelp.addWhereParentIdIn(BeanPropertyAssocManySqlHelp.java:121)
at io.ebeaninternal.server.deploy.BeanPropertyAssocMany.addWhereParentIdIn(BeanPropertyAssocMany.java:342)
at io.ebeaninternal.api.LoadManyRequest.createQuery(LoadManyRequest.java:90)
at io.ebeaninternal.server.core.DefaultBeanLoader.loadMany(DefaultBeanLoader.java:39)
at io.ebeaninternal.server.core.DefaultServer.loadMany(DefaultServer.java:475)
at io.ebeaninternal.server.loadcontext.DLoadManyContext$LoadBuffer.loadMany(DLoadManyContext.java:215)
at io.ebean.common.AbstractBeanCollection.lazyLoadCollection(AbstractBeanCollection.java:90)
at io.ebean.common.BeanList.init(BeanList.java:141)
at io.ebean.common.BeanList.iterator(BeanList.java:327)
2023-03-09 09:57:41 +13:00
Rob Bygrave
36777d5a3d
No effective change - static import for log level
2023-03-09 09:41:20 +13:00
Rob Bygrave and GitHub
12b028fc43
Merge pull request #2991 from ebean-orm/feature/bom-add-spring-txn
...
Add ebean-spring-txn to ebean-bom
2023-03-07 20:33:07 +13:00
Rob Bygrave
72b2f30f2d
Add ebean-spring-txn to ebean-bom
2023-03-07 20:23:34 +13:00
Rob Bygrave
1de74ac366
Change ebean-spring-txn to be a submodule and use junit5
2023-03-07 01:13:06 +13:00
Rob Bygrave
07cb243db3
Merge remote-tracking branch 'ebean-spring-txn/master'
2023-03-07 01:00:07 +13:00
Rob Bygrave
9a02618b67
Move into ebean-spring-txn subdirectory
2023-03-07 00:56:28 +13:00
Rob Bygrave
801cb6fa73
Bump to 13.14.0
2023-03-07 00:36:46 +13:00
Rob Bygrave
1c8a416de0
Use ebean-core as provided dependency
...
- ebean-core as provided dependency
- ebean-h2 as test dependency
2023-03-07 00:21:19 +13:00
Rob Bygrave and GitHub
c30a8c79a2
Merge pull request #2990 from ebean-orm/feature/move-kotlin-tests
...
Move tests from kotlin-querbean-generator to the test-kotlin module
2023-03-03 23:38:36 +13:00
Rob Bygrave
35cb4356c5
Move tests from kotlin-querbean-generator to the test-kotlin module
2023-03-03 23:34:51 +13:00
Rob Bygrave
a73c985315
Bump to next snapshot version
2023-03-01 12:50:53 +13:00
Rob Bygrave
b5fbfbf1b6
Version 13.14.0
2023-03-01 00:08:52 +13:00
Rob Bygrave and GitHub
4471607b2d
Merge pull request #2989 from ebean-orm/fix/queryBeans-inheritance-parentOnlyHasDiscriminatorValue
...
[QueryBeans] Generate the query beans as final classes
2023-02-28 23:16:14 +13:00
Rob Bygrave
e4c4b0b43d
[QueryBeans] Generate the query beans as final classes
2023-02-28 23:15:42 +13:00
Rob Bygrave and GitHub
d7ffc4bbb5
Merge pull request #2988 from ebean-orm/fix/queryBeans-inheritance-parentOnlyHasDiscriminatorValue
...
[QueryBeans] Fix for missing inherited properties when parent only has @DiscriminatorValue
2023-02-28 23:06:03 +13:00
Rob Bygrave
0bb2f104a4
[QueryBeans] Fix for missing inherited properties when parent only has @DiscriminatorValue
...
A parent in the Inheritance hierarchy has @DiscriminatorValue but not the @Inheritance annotation. The bug means the inherited properties are not included on the generated query bean.
The fix is to the querybean-generator to pick up inherited properties for this case.
2023-02-28 23:02:19 +13:00
Rob Bygrave and GitHub
ac3ca8113d
Merge pull request #2987 from ebean-orm/feature/querybeans-refactor-assoc
...
[QueryBeans] Refactor splitting TQAssocBean into TQAssoc & TQAssocBean
2023-02-28 21:56:35 +13:00
Rob Bygrave
4ec46e3008
[QueryBeans] Refactor splitting TQAssocBean into TQAssoc & TQAssocBean
...
- Requires ebean-agent to be up-to-date (13.13.2 or greater)
- Split TQAssocBean into 2, one for embeddable beans and the other for the reset
- The eq(), in() etc expressions go to TQAssoc
- Add fetch() methods to TQAssocBean
- No longer generate the fetch() methods as we now have them on TQAssocBean
2023-02-27 17:46:11 +13:00
Rob Bygrave
e9ab0f34f3
Next snapshot version
2023-02-27 16:57:38 +13:00
Rob Bygrave
2143ebc21c
Bump ebean-agent to 13.13.2
2023-02-27 15:49:41 +13:00
Rob Bygrave and GitHub
7dd25344ef
Merge pull request #2986 from ebean-orm/feature/querybeans-assoc-supportInterfaceUse
...
[querybeans] Add support for using interface types with querybean expressions eq() in() etc WHEN entity beans implement an interface
2023-02-27 15:29:07 +13:00
Rob Bygrave
c381464316
querybean-generation - cast for varargs use and use wildcard collections
2023-02-27 15:24:59 +13:00
Rob Bygrave
a5d5549f2c
[querybeans] Add support for using interface types with querybean expressions eq() in() etc WHEN entity beans implement an interface
...
- For the case where entity beans implement an interface
- Adds these expressions to the "associated" querybeans (not the root querybeans).
- The expressions added use of the interface type
2023-02-27 13:12:52 +13:00
Rob Bygrave and GitHub
d7d144b908
Merge pull request #2985 from ebean-orm/feature/querybean-assoc-eqIfPresent
...
For querybean associated beans, add missing eqIfPresent() + in() + notIn() + expressions
2023-02-26 19:28:55 +13:00
Rob Bygrave
25416a3cda
For querybean associated beans, add missing eqIfPresent() + in() + notIn() + expressions
2023-02-26 19:24:00 +13:00
Rob Bygrave
e6b0306bde
Fix test TestStdFunctions for Oracle which only supports 2 parameters with concat()
2023-02-25 01:06:40 +13:00
Rob Bygrave
2d6ca4bb1e
Fix build of test-java16 module for JDK 16+
2023-02-25 00:25:05 +13:00
Rob Bygrave
99d5f4f01c
Bump to next version 13.13.2
2023-02-24 23:56:44 +13:00
rob
8ea0936da8
Tighten Javax to Jakarta escaping the periods
2023-02-23 20:43:50 +13:00
Rob Bygrave and GitHub
f8fc94c694
Merge pull request #2984 from ebean-orm/feature/jakarta-javax-sed-conversion
...
Javax to Jakarta (+ reverse) conversion via sed
2023-02-23 12:28:40 +13:00
rob
bac3fd6874
Javax to Jakarta (+ reverse) conversion via sed
2023-02-23 01:28:50 +13:00
Rob Bygrave and GitHub
0659d7604c
Merge pull request #2980 from FOCONIS/fix-logger
...
FIX: do not format log messages, when no parameter was specified
2023-02-22 23:38:08 +13:00
Rob Bygrave and GitHub
a825e50584
Merge pull request #2983 from ebean-orm/feature/profileLocationWithLineNumbers
...
ENH: Add profile-line-number-mode with options none | all | auto ... to control adding line numbers to profile locations
2023-02-22 23:35:42 +13:00
Rob Bygrave and GitHub
94f24f054e
Merge pull request #2982 from ebean-orm/feature/revert-revision
...
Revert the use of ${revision} in poms to plain old version dur to issues not being able to use mvn --rf --resume-from ... as it complains about the parent pom version
2023-02-22 23:19:15 +13:00
rob
989d82813b
Revert the use of ${revision} in poms to plain old version dur to issues not being able to use mvn --rf --resume-from ... as it complains about the parent pom version
2023-02-22 23:17:42 +13:00
rob
2e0dba3741
#2981 - ENH: Add profile-line-number-mode with options none | all | auto ... to control adding line numbers to profile locations
2023-02-22 23:02:42 +13:00
Roland Praml
56360f0fb3
use captureLogger
2023-02-22 09:20:04 +01:00
Roland Praml
d84f2eea58
FIX: do not format log messages, when no parameter was specified
2023-02-22 09:07:49 +01:00
rob
34dc4375da
Tidy existing given that lineNumber in SpiProfileLocationFactory always comes in as 0
...
The history behind this is that originally there was a "profileId" concept where that was a int value that could be used as an "id" for a transactional method that we wanted to profile.
That went away and then the idea was that bytecode enhancement would determine the line number and we would use that but that was a bad idea and we ended up with lineNumber always as 0.
These days with StackWalker and DProfileLocation we can do this better that way so yeah. A followup to this is to add to the api a boolean flag as to whether a profile location should be with line numbers (which can change frequently due to refactoring etc)
2023-02-22 15:22:58 +13:00
Rob Bygrave and GitHub
9e186698fe
Merge pull request #2979 from ebean-orm/feature/ifPresentExpressions
...
ENH: Add _ifPresent() expressions for GT, GE, LT, LE (follow up from #2768 )
2023-02-22 14:11:50 +13:00
rob
0b615a79cc
Add _ifPresent() expressions for GT, GE, LT, LE (follow up from #2768 )
2023-02-22 14:04:26 +13:00
Rob Bygrave and GitHub
6e98486a03
Merge pull request #2978 from ebean-orm/feature/stackWalker
...
Use StackWalker for ProfileLocation and CallOrigin
2023-02-21 14:35:58 +13:00
rob
b0364f3c42
Use StackWalker for ProfileLocation and CallOrigin
2023-02-21 14:21:18 +13:00
buchtajz and GitHub
8c47ba89d1
Merge branch 'ebean-orm:master' into query_select_bugs
2023-02-21 00:04:39 +01:00
Rob Bygrave and GitHub
8ed871f116
Merge pull request #2977 from ebean-orm/feature/pom-versioning
...
Modify poms to use ${revision} for parent pom version
2023-02-20 10:23:59 +13:00
rob
f493c7e8cf
Modify poms to use ${revision} for dependencies versions and annotation processor versions
2023-02-20 10:19:14 +13:00
rob
0e596fd87f
Modify poms to use ${revision} for parent pom version
2023-02-20 10:09:41 +13:00
Rob Bygrave and GitHub
37154cf4d4
Merge pull request #2975 from ebean-orm/feature/config-getOptional
...
Tidy internals, use Config.getOptional() when reading datasource.default / ebean.default.datasource
2023-02-20 09:17:45 +13:00
rob
fe241d8cce
Tidy internals, use Config.getOptional() when reading datasource.default / ebean.default.datasource
2023-02-20 09:07:45 +13:00
Rob Bygrave
efaa771bb4
Modify test-kotlin to use ebean maven plugin 13.13.0 (for jakarta)
2023-02-20 01:15:10 +13:00
Rob Bygrave
4094b1e345
Remove ebean-api optional dependency on javax.transaction as it isn't required here
...
Note that it is an optional dependency of ebean-core via the JtaTransaction/JtaTransactionManager that are in ebean core
2023-02-20 00:53:14 +13:00
Rob Bygrave
8bb9ec0cfe
Bump the maven tiles used in tests to 13.12.0
2023-02-19 23:21:39 +13:00
rob
a9575048b4
Change to support Ebean 13.13.0
...
FYI: Also put the provided slf4j-api back to 1.7.x to see the logs when running tests
2023-02-17 21:02:46 +13:00
rob
86bcfa804b
Remove github wf build for jdk 18 EA as that has been replaced by the other EA build
2023-02-15 11:17:12 +13:00
rob
b6a3c54e99
Add build badge for DB2 LUW
2023-02-15 11:12:35 +13:00
rob
6753e36327
Bump versions after release
2023-02-15 10:54:18 +13:00
rob
e78ac677f6
[maven-release-plugin] prepare for next development iteration
2023-02-15 10:22:46 +13:00
rob
19d2b04175
[maven-release-plugin] prepare release ebean-parent-13.13.0
2023-02-15 10:22:38 +13:00
rob
d1844c9b5a
Use kotlin-querybean-generator 13.13.0-RC1 for release
2023-02-15 10:18:01 +13:00
rob
93803eade4
Put the test kotlin-querybean-generator version back 1 for release plugin
2023-02-15 10:07:30 +13:00
rob
82fd6dc65f
Add badges to README
2023-02-14 23:24:09 +13:00
rob
ca6171f697
Ignore TestStdFunctions.concatEq for DB2
2023-02-14 22:39:26 +13:00
rob
5b4ff2627c
Bump provided spring dependency to latest in 5.3 to avoid security pings on the older dependency
2023-02-14 22:36:27 +13:00
rob
2aa92d63fd
Bump test dependency Jackson
2023-02-14 22:32:04 +13:00
rob
658b5b7e06
Bump version to 13.10.0
2023-02-14 22:29:45 +13:00
rob
4e3cd83e36
#33 - Update internals from using deprecated TransactionSynchronizationAdapter to TransactionSynchronization
2023-02-14 22:29:02 +13:00
rob
aa80bc0c10
Bump version to 13.13.0-SNAPSHOT
2023-02-14 20:28:45 +13:00
rob
638cfbca5e
Bump ebean-agent to 13.13.0
2023-02-14 20:27:29 +13:00
rob
afa9d89cfe
#2971 - Bump ebean-datasource to 8.5 - use connection.setSchema() rather than connection Properties
2023-02-14 19:48:03 +13:00
Rob Bygrave and GitHub
22a433997e
Merge pull request #2970 from ebean-orm/feature/bump-ebean-migration
...
Bump ebean-migration to 13.7.0 - DB2 uses logical lock due to reorg tables
2023-02-14 19:44:39 +13:00
rob
b9d8a9c532
Bump ebean-migration to 13.7.0 - DB2 uses logical lock due to reorg tables
2023-02-14 19:43:41 +13:00
rob
1f0191b9e4
Tidy ebean-test internals, final classes and whitespace
2023-02-14 19:41:45 +13:00
Rob Bygrave and GitHub
2d78c5c5e8
Merge pull request #2969 from ebean-orm/feature/registerTestTenantProvider-default-false
...
#2968 - [ebean-test] - Default ebean.test.registerTestTenantProvider = false ... by default not auto register a test TenantProvider
2023-02-14 19:40:15 +13:00
rob
7c54d21760
#2968 - [ebean-test] - Default ebean.test.registerTestTenantProvider = false ... by default not auto register a test TenantProvider
2023-02-14 19:34:35 +13:00
Rob Bygrave and GitHub
b9a502ca85
Merge pull request #2957 from FOCONIS/detailed-evict-stats
...
ENH: add statistics trimmedByGC/LRU/TTL/Idle to ServerCacheStatistics?
2023-02-14 16:29:35 +13:00
rob
b622d85292
#2967 - [ebean-joda] Joda JSON ISO8601 format for DateMidnight includes timezone
2023-02-14 15:56:45 +13:00
rob
320ffb4a2d
#2966 - DateTimeParseException when ScalarTypeJodaLocalDateTime parsing Json ISO8601
2023-02-14 15:50:13 +13:00
Rob Bygrave and GitHub
0292b4b558
Merge pull request #2912 from ebean-orm/wip/spi-txn-logging
...
Refactoring SpiLogger to better support conditional logging
2023-02-14 15:03:47 +13:00
rob
2c8ae16179
Update to use String format and Object varargs
2023-02-14 14:54:23 +13:00
Rob Bygrave and GitHub
381ac58eed
Merge pull request #2936 from FOCONIS/mem-leak-streaming-queries
...
BUG: Memory-leak on streaming queries when LoadBuffers are not aligned
2023-02-14 11:45:29 +13:00
rob
af9459e41e
Fix build for kotlin-querybean-generator annotation processor version, didn't get bumped after release
2023-02-14 11:42:47 +13:00
rob
5882169641
Merge branch 'feature/StdExpressions'
2023-02-14 11:35:31 +13:00
rob
f694f2946a
Rename test to StdOperatorsTest
2023-02-14 11:34:00 +13:00
rob
4c0144de61
Fix SqlOperators for sql injection
2023-02-14 11:33:28 +13:00
rob
5e70ea5095
Bump test version after release
2023-02-14 08:24:30 +13:00
rob
acb28925f2
[maven-release-plugin] prepare for next development iteration
2023-02-14 08:07:15 +13:00
rob
3d2a68782c
[maven-release-plugin] prepare release ebean-parent-13.12.0
2023-02-14 08:07:07 +13:00
rob
8c97d4d0fe
Bump version to 13.12.0-SNAPSHOT
2023-02-14 08:02:35 +13:00
rob
eb7de343a8
#2963 - [ebean-agent] By default enable @DbArray to be nullable and @Transient field initialisation when generating default constructors
2023-02-14 08:01:48 +13:00
Rob Bygrave
4ca1645f9f
#2963 - [ebean-agent] By default enable @DbArray to be nullable and @Transient field initialisation when generating default constructors
2023-02-13 22:08:30 +13:00
Rob Bygrave
d1fe79005c
bump test versions after release
2023-02-13 15:51:31 +13:00
Rob Bygrave
015ee44de3
[maven-release-plugin] prepare for next development iteration
2023-02-13 13:34:22 +13:00
Rob Bygrave
714bbadbc0
[maven-release-plugin] prepare release ebean-parent-13.11.4
2023-02-13 13:34:14 +13:00
Rob Bygrave
9e811e9aef
bump ebean-agent to 13.11.4
2023-02-13 13:25:33 +13:00
Rob Bygrave
f97dcb60c0
Improve test only, QCustomerTest using AttributeConverter
2023-02-13 08:08:16 +13:00
Michal Buchtík
1af3d0bcf3
remove unnecessary replace
2023-02-10 12:27:10 +01:00
Michal Buchtík
01a0cee3c2
patch RawSql query builder, fix tests
2023-02-10 12:17:40 +01:00
Michal Buchtík
f26feec3d9
Merge remote-tracking branch 'origin/master' into query_select_bugs
2023-02-10 09:33:28 +01:00
Rob Bygrave
65c76cb2c0
Fix test to support SqlServer using sequences
2023-02-10 14:22:11 +13:00
Rob Bygrave
874427dac1
Fix test to also support Postgres ANY
2023-02-10 14:19:35 +13:00
Rob Bygrave and GitHub
1176c2e97a
Merge pull request #2962 from ebean-orm/feature/2961
...
#2961 - Followup for #2952 - @OneToMany + orphanRemoval + @SoftDelete + non-BeanCollection collection results in hard deletes
2023-02-10 13:10:01 +13:00
Rob Bygrave
44e0585fb7
#2961 - Followup for #2952 - @OneToMany + orphanRemoval + @SoftDelete + non-BeanCollection collection results in hard deletes
...
As noted in comments in #2952
In the internals of SaveManyBeans we have:
- BUG: the deleteByParentId is hard delete and does not care for soft delete
- YUK: internally we have 3 ways of performing the orphan removal when we really want 2
This change fixes the BUG and fixes the YUK. It does this by removing the special case at: https://github.com/ebean-orm/ebean/blob/ebean-parent-13.11.3/ebean-core/src/main/java/io/ebeaninternal/server/persist/SaveManyBeans.java#L347-L350 ... and replacing it with the more common orphan removal code used when we do not have BeanCollection modifications.
The result of this change is that in SaveManyBeans internals we get back to have 2 ways to remove orphans.
- A BeanCollection with modifications: Orphans explicitly deleted using the known elements removed from the collection
- All other cases: Orphans as everything NOT in the collection that is going to be updated
2023-02-10 13:08:44 +13:00
Rob Bygrave and GitHub
889c0f12e0
Merge pull request #2960 from ebean-orm/buchtajz-one2many_setArraylist
...
Fix for @OneToMany orphanRemoval not occurring for #2952 #2953
2023-02-10 13:01:55 +13:00
Rob Bygrave
0135263dbd
Style only for SaveManyBeans switching order in if/else
2023-02-09 23:45:27 +13:00
Rob Bygrave
564194042b
No effective change, BeanCollectionUtil perform the instanceof Collection before instanceof Map check
2023-02-09 23:44:13 +13:00
Rob Bygrave
244d45674a
#2952 #2953 - Fix for @OneToMany orphanRemoval not occurring
...
orphanRemoval was not occurring when a loaded bean had a collection
replaced by a new BeanCollection (as opposed to a vanilla collection
like java.util.ArrayList).
Json marshalling a collection puts beans into BeanCollection and this
is part of the test that reproduced this issue.
2023-02-09 23:29:13 +13:00
Rob Bygrave
4722f10f5e
Bump versions after release
2023-02-07 22:46:08 +13:00
Rob Bygrave
3f5140e7f3
[maven-release-plugin] prepare for next development iteration
2023-02-07 22:10:29 +13:00
Rob Bygrave
43dec17d08
[maven-release-plugin] prepare release ebean-parent-13.11.3
2023-02-07 22:10:16 +13:00
Rob Bygrave
f1ee45d7d1
Bump ebean-agent to 13.11.3
2023-02-07 22:06:16 +13:00
Rob Bygrave
3263e7bfc3
#2959 - Improve logging for lazy loading error due to "markAsDeleted"
2023-02-07 22:05:34 +13:00
Rob Bygrave
e01f19b3aa
Merge branch 'one2many_setArraylist' of github.com:buchtajz/ebean into buchtajz-one2many_setArraylist
2023-02-07 20:09:01 +13:00
Rob Bygrave
20f6a659fe
#2959 - Improve logging for lazy loading error due to "markAsDeleted"
2023-02-07 19:59:33 +13:00
Michal Buchtík
09fe923770
Merge remote-tracking branch 'origin/one2many_setArraylist' into one2many_setArraylist
2023-02-05 09:28:11 +01:00
buchtajz and GitHub
e6f5e42c2d
Merge branch 'ebean-orm:master' into one2many_setArraylist
2023-02-05 09:25:29 +01:00
Roland Praml
010f73fea2
ENH: add statistics trimmedByGC/LRU/TTL/Idle to ServerCacheStatistics?
2023-02-02 14:10:54 +01:00
Rob Bygrave
5150ecba62
#2948 - SoftDelete entities are hard deleted on orphan removal
2023-02-02 23:15:22 +13:00
Rob Bygrave
978b1dbe02
Merge branch 'master' of github.com:ebean-orm/ebean
2023-02-02 23:06:49 +13:00
Rob Bygrave
9813703ce5
Merge branch 'Ichtil-hard_delete_instead_of_soft_delete_2'
2023-02-02 23:03:28 +13:00
Rob Bygrave
09001e80b5
#2948 - SoftDelete entities are hard deleted on orphan removal
2023-02-02 23:02:44 +13:00
Rob Bygrave and GitHub
4aa3ca6d95
Merge pull request #2941 from FOCONIS/expressionlist-clear
...
NEW: ExpressionList has clear() method
2023-02-02 01:13:28 +13:00
Rob Bygrave and GitHub
5ec8469ddc
Merge pull request #2940 from FOCONIS/fix-bom
...
FIX: Removed non existent modules from BOM
2023-02-02 00:42:43 +13:00
Michal Buchtík
39099bbcc9
print sql
2023-01-31 23:01:52 +01:00
Michal Buchtík
cb2ca0de11
setArrayListDoInsertInsteadUpdate
2023-01-30 23:47:18 +01:00
Jan Klička
b25233b0b9
Merge branch 'master' into hard_delete_instead_of_soft_delete_2
...
# Conflicts:
# ebean-test/pom.xml
2023-01-27 16:28:03 +01:00
Jan Klička
743f1b10e3
#2948
2023-01-27 16:17:01 +01:00
Michal Buchtík
6055a33dc8
fix changes
2023-01-27 12:11:01 +01:00
Michal Buchtík
230d18e48f
failing test for rawSql select .asDto query
2023-01-27 11:39:37 +01:00
Roland Praml
371f50fb4d
NEW: ExpressionList has clear() method
2023-01-23 11:33:29 +01:00
Roland Praml
a3be2041c8
FIX: Removed non existent modules from BOM
2023-01-23 11:31:45 +01:00
Rob Bygrave
09a831f2d6
Bump versions after release
2023-01-21 22:35:40 +13:00
Rob Bygrave
27d9e03691
[maven-release-plugin] prepare for next development iteration
2023-01-21 20:37:02 +13:00
Roland Praml
61d6cccbcb
FIX: Using weak references in load buffer for streaming queries
2023-01-20 16:51:51 +01:00
Roland Praml
a3540057b7
BUG: Memory-leak on streaming queries when LoadBuffers are not aligned
2023-01-18 09:24:47 +01:00
Rob Bygrave
9720cd8189
Add SpiTxnLogger as main point to log SQL, SUM and TXN messages on a per transaction basis
2022-12-02 02:34:14 +13:00
Rob Bygrave
bc4d9837c6
Modify SpiLogger removing isTrace(), trace() and the 2 uses
...
- Not bothered to log when changing isolation level
- Not bothering to log at end of query only transaction
2022-12-01 23:45:40 +13:00
Rob Bygrave
4a0f8931a0
Add parameter type for Query.Property with DefaultUpdateQuery and TQRootBean
2022-11-09 23:41:42 +13:00
Rob Bygrave
3c8c52ca7f
Simplify to use single type (not use another different type for Query.Property)
2022-11-09 23:30:51 +13:00
Rob Bygrave
d29ef8934d
Add more operators to StdOperators
...
- stricter use of UpdateQuery.set()
- Numbers just use their own type - PBaseNumber
- PEnum just uses its own type
- Expr.factory() to expose factory
2022-11-09 17:47:16 +13:00
Rob Bygrave
a4c3949cfc
Merge branch 'master' into feature/StdExpressions
2022-11-08 21:58:34 +13:00
Rob Bygrave
97bbce321d
Make Query.Property parameterised with <BT> "Base Type" as Number, String, Temporal, Boolean or Object
...
These types then determine which functions are valid for the types. So:
- Number functions
- String/varchar functions
- Temporal Date, DateTime, Time functions
- Boolean functions
- Object being everything else
2022-11-08 21:57:36 +13:00
Rob Bygrave
0b9d199829
#2774 - Postgres ANY / MultiValueSupport with byte[]/binary data
...
Add Postgres specific support for binding an array of byte[] with ANY(?)
which is used as with client side encryption where the bind values are
implicitly converted to byte[].
Fixes Postgres specific failure running TestEncryptClientSide.java
2022-11-07 17:36:04 +13:00
Rob Bygrave
3da924b943
Add Query.Property.of(), Move StdFunctions to ebean-api
2022-11-07 12:57:39 +13:00
Rob Bygrave
5ad313d290
Rename TQColumn -> Query.Property, fix compile for DefaultOrmQuery use of OrderBy.Property
2022-11-03 17:46:30 +13:00
Rob Bygrave
8565f5f807
Rename TQColumn -> Query.Property and move to api + use with UpdateQuery.set()
...
- Refactor rename TQColumn to Query.Property and move to ebean-api module
- Add UpdateQuery.set() methods to use Query.Property (as per #2849 )
2022-11-03 17:33:11 +13:00
Rob Bygrave
96e79248dc
Add StdFunctions, StdExpressions, TQColumn marker interface
2022-11-03 11:16:30 +13:00
Rob Bygrave
e00e490e73
Update use example in README
2022-09-07 14:09:49 +12:00
Rob Bygrave
dd95081e63
Update use example in README
2022-09-07 14:03:37 +12:00
Rob Bygrave
03bd31677a
Bump to 13.9.1
2022-09-07 13:35:26 +12:00
Rob Bygrave
4619c56b09
#31 - Explicitly add Apache 2 License text (it got missed when ebean changed from LGPL to Apache2)
2022-09-07 13:34:23 +12:00
Rob Bygrave
c3dc57f0fb
Bump the spring dependency versions used in testing
2022-09-07 13:21:04 +12:00
Rob Bygrave and GitHub
50ba20289b
Merge pull request #30 from ebean-orm/feature/final-txn-manager
...
Make SpringJdbcTransactionManager final, SpringJdbcTransaction not public
2022-09-07 12:51:48 +12:00
Rob Bygrave
6b73072982
Make SpringJdbcTransactionManager final, SpringJdbcTransaction not public
2022-09-07 12:48:45 +12:00
Rob Bygrave
6e340bd149
Bump parent and version
2022-09-05 19:40:21 +12:00
Rob Bygrave and GitHub
65f551650f
Merge pull request #29 from ebean-orm/feature/bump-flush
...
Use System.Logger and transaction.flush()
2022-09-05 19:38:30 +12:00
Rob Bygrave
3be3741db6
Change to use System.Logger + transaction.flush()
2022-09-05 19:35:52 +12:00
Rob Bygrave
610afd3717
Update tests
2022-09-05 19:33:40 +12:00
Rob Bygrave
4084822d2c
Bump to 13.0.0 and Java 11
2022-03-31 14:38:41 +13:00
Rob Bygrave
a2c82263ee
Bump to 12.12.0
2021-09-24 11:29:50 +12:00
rbygrave
30f3d542b3
Bump to 12.11.4
2021-09-09 13:10:13 +12:00
rbygrave
56cb2c69aa
Bump to 12.11.1
2021-08-16 19:49:02 +12:00
rbygrave
bd1dd43cbf
Bump to 12.11.0
2021-08-16 19:43:28 +12:00
rob bygrave
5caae29df9
[maven-release-plugin] prepare for next development iteration
2020-12-23 20:46:33 +13:00
rob bygrave
9713b607b5
[maven-release-plugin] prepare release ebean-spring-txn-12.6.4
2020-12-23 20:46:10 +13:00
rob bygrave
0e46558cae
Bump ebean to 12.6.4 for #22
2020-12-23 20:45:33 +13:00
Rob Bygrave and GitHub
2386f1034b
Merge pull request #24 from spinachomes/master
...
add fail situation for transaction Propagation.REQUIRES_NEW
2020-12-21 16:30:02 +13:00
李清波
ddf9f5c508
add fail situation for transaction Propagation.REQUIRES_NEW
2020-12-21 11:23:00 +08:00
rob bygrave
559867294f
Add test for transaction Propagation.REQUIRES_NEW
2020-12-21 14:47:23 +13:00
rob bygrave
bf0c8d8dab
Add test for transaction Propagation.REQUIRES_NEW
2020-12-21 14:45:13 +13:00
rob bygrave
7077e92cb0
[maven-release-plugin] prepare for next development iteration
2020-12-18 15:29:36 +13:00
rob bygrave
035c5570c3
[maven-release-plugin] prepare release ebean-spring-txn-12.6.3
2020-12-18 15:29:25 +13:00
rob bygrave
0be0fd1e05
Bump to 12.6.3-SNAPSHOT
2020-12-18 15:28:31 +13:00
rob bygrave
bdfd380687
#23 - Use updated PostCommit to send ChangeLog changes. Use PreCommit to flush last ChangeLog changes at PreCommit
2020-12-18 14:55:57 +13:00
rob bygrave
d1a4c73cd6
[maven-release-plugin] prepare for next development iteration
2020-12-18 10:01:04 +13:00
rob bygrave
7133c81fc5
[maven-release-plugin] prepare release ebean-spring-txn-12.4.2
2020-12-18 10:00:52 +13:00
rob bygrave
c6b4de39e8
Merge branch 'master' of github.com:ebean-orm/ebean-spring-txn
2020-12-18 09:58:30 +13:00
rob bygrave
94f367af70
#22 - Spring @Transactional with batch mode not invoking ebean batch flush
2020-12-18 09:58:16 +13:00
Rob Bygrave and GitHub
dc6c393300
Merge pull request #21 from ebean-orm/dependabot/maven/junit-junit-4.13.1
...
Bump junit from 4.12 to 4.13.1
2020-10-13 22:55:00 +13:00
dependabot[bot] and GitHub
239f3a0a54
Bump junit from 4.12 to 4.13.1
...
Bumps [junit](https://github.com/junit-team/junit4 ) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases )
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md )
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-13 07:51:29 +00:00
rob bygrave
d3e78ab54e
[maven-release-plugin] prepare for next development iteration
2020-09-18 01:15:35 +12:00
rob bygrave
c6483535bd
[maven-release-plugin] prepare release ebean-spring-txn-12.4.1
2020-09-18 01:15:24 +12:00
rob bygrave
95bb2a5d56
Bump to 12.4.1
2020-09-18 01:14:52 +12:00
rob bygrave
23649ed840
[maven-release-plugin] prepare for next development iteration
2020-03-13 17:12:25 +13:00
rob bygrave
3ee4034a76
[maven-release-plugin] prepare release ebean-spring-txn-12.2.1
2020-03-13 17:12:15 +13:00
rob bygrave
21d377546e
Bump to 12.2.1
2020-03-13 17:10:21 +13:00
rob bygrave
8c9dccc6a3
[maven-release-plugin] prepare for next development iteration
2019-10-14 14:53:28 +13:00
rob bygrave
6fdf681993
[maven-release-plugin] prepare release ebean-spring-txn-12.1.1
2019-10-14 14:53:19 +13:00
rob bygrave
7e8f413578
No effective change - sync to Ebean 12.1.1
2019-10-14 14:52:46 +13:00
rob bygrave
6705e5a962
Bump Ebean provided dependency to 11.42.1
2019-08-08 22:14:44 +12:00
Rob Bygrave
d9126a936d
[maven-release-plugin] prepare for next development iteration
2018-03-12 21:45:57 +13:00
Rob Bygrave
4ee024b1ce
[maven-release-plugin] prepare release ebean-spring-txn-11.10.4
2018-03-12 21:45:45 +13:00
Rob Bygrave
19491d5ae6
#19 - java.lang.IllegalStateException: Transaction is Inactive ... when using Ebean transactions with Ebean's Spring transaction manager
2018-03-12 21:45:14 +13:00
Rob Bygrave
db816594c5
No effective change - tidy tests
2018-02-23 10:50:51 +13:00
Rob Bygrave
fa73b7791f
[maven-release-plugin] prepare for next development iteration
2018-02-09 23:49:03 +13:00
Rob Bygrave
c61da5b0e5
[maven-release-plugin] prepare release ebean-spring-txn-11.10.3
2018-02-09 23:48:50 +13:00
Rob Bygrave
49d724ad65
Bump pom version to align with Ebean version
2018-02-09 23:48:01 +13:00
Rob Bygrave
3ee2410a79
#18 - SpringJdbcTransactionManager inifinite recursion (Ebean #1254 )
...
Update pom ebean version
2018-02-09 23:46:38 +13:00
Rob Bygrave
c2ddc70565
#18 - SpringJdbcTransactionManager inifinite recursion (Ebean #1254 )
2018-02-09 23:05:27 +13:00
Rob Bygrave
2f66e07c25
Add test for https://github.com/ebean-orm/ebean/issues/1254
2018-02-09 22:20:57 +13:00
Rob Bygrave
0807569ee2
Update readme
2018-02-03 00:14:00 +13:00
Rob Bygrave
206dec1bf8
[maven-release-plugin] prepare for next development iteration
2018-02-03 00:05:12 +13:00
Rob Bygrave
0e852f5bb5
[maven-release-plugin] prepare release ebean-spring-txn-11.10.1
2018-02-03 00:04:59 +13:00
Rob Bygrave
a272fb4e02
#17 - Refactor to use the better internals in Ebean 11.10.1
2018-02-03 00:04:22 +13:00
Rob Bygrave
cbdc6e09aa
[maven-release-plugin] prepare for next development iteration
2018-01-30 23:53:23 +13:00
Rob Bygrave
211087f636
[maven-release-plugin] prepare release ebean-spring-txn-11.5.1
2018-01-30 23:53:10 +13:00
Rob Bygrave
dca824b431
#16 - Bump to support Ebean 11.5.1+
2018-01-30 23:52:40 +13:00
Rob Bygrave
6bcc8eb0f2
Update Readme
2016-12-21 21:11:00 +13:00
Rob Bygrave
844df4d5c9
Update scm due to rename to ebean-spring-txn
2016-12-21 21:04:47 +13:00
Rob Bygrave
6360d5fe1c
[maven-release-plugin] prepare for next development iteration
2016-12-21 20:59:11 +13:00
Rob Bygrave
e57a074b68
[maven-release-plugin] prepare release ebean-spring-txn-10.1.1
2016-12-21 20:59:00 +13:00
Rob Bygrave
052632239e
pom - update name
2016-12-21 20:58:28 +13:00
Rob Bygrave
16aa4caceb
#15 - Rename artifact to ebean-spring-txn ... (as this is specific and only for integration with spring transactions)
2016-12-21 20:57:28 +13:00
Rob Bygrave
83d84f6079
#14 - Remove agent loading feature for spring boot as it has been moved to ebean-spring-agent
2016-12-21 20:53:33 +13:00
Rob Bygrave
23c278d878
pom dependencies - ebean and slf4j-api as provided (versions expected to be controlled externally)
2016-12-21 20:44:47 +13:00
Rob Bygrave
7074b0de71
No effective change - use enhanced for
2016-12-19 16:40:00 +13:00
Rob Bygrave and GitHub
2a9b025e88
Merge pull request #12 from ksperling/agent-autoconfig
...
Agent autoconfig and misc changes
2016-12-19 13:07:30 +13:00
Karsten Sperling
16b3a0b1c1
Rename from springtxn to spring since boot support is included as well (and Environment configuration support to come)
2016-12-16 23:38:36 +13:00
Karsten Sperling
e0c4f73600
POM tidying
2016-12-16 23:38:36 +13:00
Karsten Sperling
6eb1947a6e
Add EbeanAgentAutoConfiguration for Spring Boot
2016-12-16 23:38:36 +13:00
Rob Bygrave
2f793c29dc
#11 - Repackage to io.ebean.springtxn ... remove factory bean support (move it to src/test as example)
2016-12-13 21:50:11 +13:00
Rob Bygrave
326fc221bf
pom - modify scm to use ssh
2016-11-17 12:29:02 +13:00
Rob Bygrave
d49018363c
[maven-release-plugin] prepare for next development iteration
2016-11-17 12:19:27 +13:00
Rob Bygrave
2a2a0ad1f4
[maven-release-plugin] prepare release ebean-spring-7.2.1
2016-11-17 12:19:12 +13:00
Rob Bygrave
463b03ef7c
bump pom to 7.2.1-SNAPSHOT
2016-11-17 12:18:01 +13:00
Rob Bygrave and GitHub
80d39775ba
Merge pull request #10 from ksperling/logging-tidyup
...
Use slf4j for logging and tidy up dependencies.
2016-11-17 12:14:08 +13:00
Karsten Sperling
92cdd25ca9
Use slf4j for logging and tidy up dependencies.
2016-11-17 09:37:41 +13:00
Rob Bygrave and GitHub
53680ba53b
Merge pull request #8 from ksperling/spring-tx-flush
...
Propagate 'flush' calls from Spring TX synchronization to the ebean
2016-11-14 15:23:26 +13:00
Karsten Sperling
aa85c5fa3b
Propagate 'flush' calls from Spring TX synchronization to the ebean transaction.
2016-11-14 13:30:03 +13:00
Robin Bygrave
a1ce6f8a81
[maven-release-plugin] prepare for next development iteration
2016-08-03 17:46:37 +12:00
Robin Bygrave
7480904792
[maven-release-plugin] prepare release ebean-spring-7.1.2
2016-08-03 17:46:18 +12:00
Robin Bygrave
b12cfafc21
Change groupId to ... org.avaje.ebean, and artifactId to ... ebean-spring
2016-08-03 17:45:51 +12:00
Robin Bygrave
f07727651e
[maven-release-plugin] prepare for next development iteration
2016-05-18 08:33:54 +12:00
Robin Bygrave
6090eaa167
[maven-release-plugin] prepare release avaje-ebeanorm-spring-7.1.1
2016-05-18 08:33:34 +12:00
Robin Bygrave
40eada4e80
#6 - Modify POM dependencies, change to provided scope for Ebean and Spring context
2016-05-18 08:33:04 +12:00
Robin Bygrave
2d375b3596
[maven-release-plugin] prepare for next development iteration
2015-11-04 08:34:33 +13:00
Robin Bygrave
d864e2c723
[maven-release-plugin] prepare release avaje-ebeanorm-spring-6.1.1
2015-11-04 08:34:08 +13:00
Robin Bygrave
e50c372562
Bump pom to 6.1.1-SNAPSHOT
2015-11-04 08:33:37 +13:00
Robin Bygrave
e2cb033119
#5 - Error creating bean with name 'serverConfig' defined in class path resource [init-database.xml]: Cannot create inner bean 'com.avaje.ebean.config.AutofetchConfig#2e385cce' of type [com.avaje.ebean.config.AutofetchConfig] while setting bean property 'autofetchConfig'
2015-11-04 08:33:16 +13:00
Robin Bygrave
9620c57f19
[maven-release-plugin] prepare for next development iteration
2015-07-30 05:03:49 +12:00
Robin Bygrave
07cc0fcbb6
[maven-release-plugin] prepare release avaje-ebeanorm-spring-4.5.3
2015-07-30 05:03:28 +12:00
Robin Bygrave
6d1beb5c03
Add javadoc-plugin to pom
2015-07-30 05:03:05 +12:00
Robin Bygrave
1667107422
Update spring xsd to spring-beans-4.1.xsd
2015-07-30 04:57:03 +12:00
Robin Bygrave
de5cf1df2c
No effective change - format
2015-07-30 04:54:25 +12:00
Robin Bygrave
a83114ced2
Update tests and dependencies
2015-07-30 04:53:25 +12:00
Rob Bygrave
d6983422bf
Merge pull request #3 from abguorui0928/master
...
Create AgentLoaderSupport.java
2015-05-14 22:45:43 +12:00
guor
6d4b3ad84e
Create AgentLoaderSupport.java
...
add support for setup enhancement in spring
2015-05-11 21:01:58 +08:00
Eddie Mc Greal
a3df7919b5
Updated to correct ebeanorm dependency range
2015-01-20 09:54:21 +01:00
Rob Bygrave
6f1aa39cc9
Merge pull request #2 from nedge/master
...
Update Version to 4.1.9 and edited MANIFEST for OSGi
2014-10-15 19:56:11 +13:00
Eddie Mc Greal
f18c24c1d1
Update Version to 4.1.9 and edited MANIFEST for OSGi
2014-10-14 08:11:32 +02:00
Rob Bygrave
068401c29c
[maven-release-plugin] prepare for next development iteration
2014-04-02 22:15:51 +13:00
Rob Bygrave
6fbbd8b107
[maven-release-plugin] prepare release avaje-ebeanorm-spring-3.3.1
2014-04-02 22:15:25 +13:00
Rob Bygrave
6379bd9e5d
Set pom to 3.3.1-SNAPSHOT, ready for release
2014-04-02 22:12:31 +13:00
Rob Bygrave
94d58dfa7c
Merge pull request #1 from nedge/develop
...
Changed to correct version and removed old logging config stuff
2014-04-02 22:08:21 +13:00
Eddie Mc Greal
035fb80959
Changed to correct version and removed old logging config stuff
2014-03-06 22:17:55 +01:00
Robin Bygrave
3b97f77083
[maven-release-plugin] prepare for next development iteration
2013-04-29 21:27:36 +12:00
Robin Bygrave
a7d47202e6
[maven-release-plugin] prepare release avaje-ebeanorm-spring-3.2.1
2013-04-29 21:27:19 +12:00
Robin Bygrave
199a9d3118
Opps, fixed scm location
2013-04-29 21:26:37 +12:00
Robin Bygrave
5df3ac4b04
Change package of test beans etc for enhancement
2013-04-29 21:13:37 +12:00
Robin Bygrave
782f77b688
[maven-release-plugin] prepare for next development iteration
2012-09-15 01:32:05 +12:00
Robin Bygrave
1d570a233e
[maven-release-plugin] prepare release avaje-ebeanorm-spring-3.1.1
2012-09-15 01:31:49 +12:00
Robin Bygrave
4a6b58bd9b
Remove commons logging from dependency
2012-09-15 01:30:21 +12:00
rbygrave
d64073bef0
Change license to Apache2, clean up dependencies
2012-09-15 01:15:37 +12:00
rbygrave
6d8a9236f8
initial add of EbeanORM spring from v2.8.1
2012-09-14 01:06:56 +12:00
Rob Bygrave
1665b4f2fa
Initial commit
2012-09-13 05:59:29 -07:00