rob bygrave
eb69499ca3
#1835 Fix with Refactor batch escalation for deferred imported Id
2019-10-10 15:13:21 +13:00
rob bygrave
6621c5dfbb
Refactor detection of deferred persist relationship (circular imported ids)
2019-10-08 21:49:22 +13:00
rob bygrave
1c6c812d4d
Update tests change AssertJ StrictAssertions to Assertions
2019-10-06 16:34:44 +13:00
rob bygrave
c640524bfc
#1788 - ENH: Add support for NuoDB database platform
2019-08-11 16:24:37 +12:00
rob bygrave
0663a97941
No effective change - update test for TestTransientMap
2019-07-17 13:48:12 +12:00
rob bygrave
1cdf68f1c0
#1727 - No effective change, tests with static imports
2019-06-10 16:13:19 +12:00
jonasPoehler and Rob Bygrave
2923dd1d96
Bugfix/create entity bean unload ( #1729 )
...
* #1726 Add a testcase to reveal wrong behaviour of createEntityBean
* #1726 FIX: createEntityBean must not unload properties for "new" beans
(cherry picked from commit 270721bdb54373a83ef00b19a3c35da50f2a2bf5)
2019-06-10 16:09:12 +12:00
rob bygrave
c61e6b04a2
Update sql server testing
2019-05-12 11:41:24 +12:00
rob bygrave
856a3a6fdd
#1689 - ENH: Add query usingTransaction() and usingConnection()
2019-04-30 20:13:12 +12:00
rob bygrave
bfeb0cd667
No effective change - update to using "Database" and DB
2019-03-12 14:29:28 +13:00
rob bygrave
27f86548a6
#1645 - ENH: Add expression rawOrEmpty() ... as a convenience for conditionally added a raw expression
2019-03-05 23:03:22 +13:00
rob bygrave
e5f98f1b7a
#1640 Additionally add expression eq and in support for Inet and Postgres any
2019-02-24 15:29:07 +13:00
Rob Bygrave and GitHub
5975694538
#1640 - For Postgres support mapping InetAddress to INET db column ( #1641 )
...
* #1640 - For Postgres support mapping InetAddress to INET db column
* #1640 - For Postgres support mapping InetAddress to INET db column
Support for Inet and Cdir types + offlineMigrationGeneration + PlatformConfig.databaseInetAddressVarchar for turning off InetAddress mapping on Postgres
2019-02-21 22:14:21 +13:00
rob bygrave
192a946cf6
#1634 ENH: Add convenience expressions "equal to or null" eqOrNull()
2019-02-11 22:59:47 +13:00
rob bygrave
829dfcb013
#1634 - ENH: Add convenience expressions "greater than or null" gtOrNull(), ltOrNull() and inRangeWith()
2019-02-09 00:30:55 +13:00
rob bygrave
9e33f36808
#1629 - ENH: Add sqlQuery(sql) and sqlUpdate(sql) ... as alias for createSqlQuery(sql) and createSqlUpdate(sql)
2019-02-04 11:14:54 +13:00
rob bygrave
89beaee0f6
#1621 - Consider clean up white space in generated SQL (as in remove unneeded extra spaces)
2019-01-25 01:47:21 +13:00
rob bygrave
471691c747
#1611 - ENH: Add inRange expression (as half open expression) ... (property >= lowerValue and property < upperValue)
2019-01-21 20:01:57 +13:00
Roland Praml and Rob Bygrave
5fe532c393
Refactor: relpaced system-property "ebean.ignoreExtraDdl" with serverConfig flag ( #1597 )
2019-01-09 16:17:11 +13:00
Rob Bygrave and GitHub
94591954b3
1476 - Query plan capture, initial wip capturing bind params ( #1477 )
...
* 1476 - Query plan capture, initial wip capturing bind params
* No effective change - Reset test default db to H2
* #1476 - Query plan capture, initial wip capturing bind params #1477
Update with consumer
* #1476 - Query plan capture, initial wip capturing bind params #1477
Update with query plan request
* #1476 - Query plan capture, initial wip capturing bind params #1477
Extract interface
* #1476 - Query plan capture, initial wip capturing bind params #1477
Extract interface
2018-12-19 16:04:28 +13:00
rob bygrave
55e4c7bc26
#1548 add global configuration disableLazyLoading
...
Fix tests
2018-11-19 22:03:51 +13:00
ooknight and Rob Bygrave
b3584a81b4
add global configuration disableLazyLoading ( #1548 )
2018-11-19 21:45:05 +13:00
rob bygrave
c074b7c457
#1547 - Revert for - FIX for the limit query #1540
2018-11-14 09:29:36 +13:00
Roland Praml and Rob Bygrave
e4cb5f0443
FIX for the limit query ( #1540 )
2018-11-13 21:08:53 +13:00
Roland Praml and Rob Bygrave
61eedb4e9a
Fixed tests that modify BasicData ( #1530 )
2018-11-03 16:38:26 +13:00
rob bygrave
f14c3e8cb4
Merge branch 'master' of github.com:ebean-orm/ebean
2018-10-26 01:34:36 +13:00
rob bygrave
b9ca8be95a
#1517 - Update for ebean-datasource maven groupId change to io.ebean
2018-10-26 01:34:16 +13:00
Roland Praml and Rob Bygrave
fecb5fa731
There should be only one "Rob" in o_customer ( #1515 )
...
* FIX: CsvReader-Test
* Fixes for tests
* reversed changes
* tidy TestCsvReaderWithCallback
2018-10-25 10:35:02 +13:00
Jonathan Bregler and Rob Bygrave
158ee9a081
Add SAP HANA support ( #1511 )
2018-10-24 21:38:17 +13:00
Michael Benz and Rob Bygrave
68649d0e98
Failing unit test to demonstrate the bug that deleting an entity via … ( #1445 )
...
* Failing unit test to demonstrate the bug that deleting an entity via an Ebean query does not respect the cascade setting.
(here a mapped optional OneToOne entity is not deleted using an Ebean query even if the CascadeType.ALL was used)
* moved init and cleanup code to @Before and @After JUnit methods and added another test that shows Ebean.delete() works as expected
2018-07-05 19:52:40 +12:00
rob bygrave
dd8607b072
#1436 - PersistenceException: Query threw SQLException:No ScalarType registered for class java.util.Arrays$ArrayList Query was:select id, name from o_customer where id = any(?)
2018-06-19 15:30:19 +12:00
rob bygrave
3a64cf6952
#1434 - Remove deprecated API from EbeanServer - finder methods that take explicit transaction. Migrate to use ebeanServer.extended()
2018-06-18 21:34:51 +12:00
rob bygrave
ffa8268125
#1405 - ENH: Add SqlQuery.findSingleAttribute() ... for returning single scalar values via SqlQuery
2018-06-07 22:17:01 +12:00
rob bygrave
e9faef2692
#1401 - FOR UPDATE queries inside a transaction are not honored when beans are already cached (in the persistence context)
2018-06-01 11:33:41 +12:00
rob bygrave
11e3649b85
#1398 - Support EQ / "Equal to" predicate on client side encrypted entity property - @Encrypted(dbEncryption = false)
2018-05-31 16:02:49 +12:00
Rob Bygrave
eb96c726fd
No effective change - Modify some tests to use transaction try with resources
2018-03-27 10:47:24 +13:00
Rob Bygrave
74a9019535
#115 - Mapping - Add support for @ElementCollection enhancement
...
Initial support - simple List.
2018-03-20 14:22:29 +13:00
Rob Bygrave
e182190f96
#1339 - Regression: Fix for not throwing OptimisticLockException when loaded bean has @Version property set
2018-03-07 20:19:48 +13:00
Roland Praml and Rob Bygrave
11e180aa3f
FIX: introduced TransactionalTestCase, so that changes to DB are not persisted ( #1298 )
...
* FIX: introduced TransactionalTestCase, so that changes to DB are not persisted
* removed license header
2018-03-02 09:10:21 +13:00
Roland Praml and Rob Bygrave
e3425a8850
FIX: possible resource leaking in testcases (all created transactions are closed by followed try statement) ( #1273 )
2018-02-26 08:40:53 +13:00
Rob Bygrave
8b18e907af
#1063 - Add Event Listeners capable of being notified for delete by query or update by query
...
Adds QueryType and adds method query.getQueryType() which then can be used in a BeanQueryAdapter
2018-02-23 14:04:36 +13:00
Rob Bygrave
40704e2ef7
No Effective change - change test to use assertJ
2018-02-23 13:37:43 +13:00
Rob Bygrave
f9404639d7
Fix test for H2 select for update - my bad.
2018-02-02 23:36:12 +13:00
Rob Bygrave
823cb45221
Cleanup tests for Oracle
2018-02-02 23:17:03 +13:00
Rob Bygrave
8cff85fdda
#1233 - Remove deprecated CacheMode.RECACHE (migrate to CacheMode.PUT)
2018-01-09 19:50:26 +13:00
Rob Bygrave
932986a6b5
#1232 - Performance: Add support for a second read-only DataSource (for implicit query-only transactions)
2018-01-09 16:35:22 +13:00
Rob Bygrave
7ff3d703f7
#1215 - ENH: Add Query setBeanCacheMode(CacheMode) ... with a view to it replacing the existing setUseCache(boolean) and setLoadBeanCache(boolean)
2017-11-19 20:16:40 +13:00
Rob Bygrave
a4b9354e43
#1206 - NPE when using @Encrypted with Enum property that is null
2017-11-13 19:12:57 +13:00
Roland Praml and Rob Bygrave
2263d31f46
Improved the performance of findAnnotation ( #1177 )
2017-10-19 09:34:57 +13:00
Rob Bygrave
1005f177fd
#1170 - ENH: Add isIn() methods as alias to in() on ExpressionList (for use with Kotlin where in is a keyword)
2017-10-16 23:13:49 +13:00