Rob Bygrave and GitHub
de22b7bf27
Refactor SQL generation - remove excess whitespace (double spaces before where, join and order by) ( #2065 )
2020-10-07 21:28:33 +13:00
rob bygrave
2ac19bea1a
Support for @Identity - with start, increment, cache
2020-03-04 16:59:42 +13:00
Rob Bygrave and GitHub
907d36123d
OraclePlatform update (ANSI row limiting with OFFSET), Oracle11Platform for old behaviour ( #1951 )
...
* #1947 - Oracle change to use concat operator rather than function
* #1947 - setMaxRows(1).findIds() under Oracle returns wrong result
* #1950 - Change OraclePlatform to use ANSI row limiting - OFFSET and NEXT ROWS, old platform as Oracle11Platform
* Revert test default to H2
* #1947 - Oracle & Oracle11 platform
2020-02-22 09:28:34 +13:00
rob bygrave
de42655bbd
Refactor tests using assertSql() helper method
...
This helper method trims column alias from the sql (for Oracle)
2020-02-20 15:08:43 +13:00
rob bygrave
80a764a448
#1835 Refactor JDBC batch escalation
2019-10-09 00:17:34 +13:00
rob bygrave
9f19ed5376
#1743 - When using @PrimaryKeyJoinColumn, FK constraint generation cannot be disabled
2019-07-01 00:07:14 +12:00
rob bygrave
9fdb375229
#1691 - Refactor io.ebean.Model to use a named database - support for use with non-default named database
2019-04-30 23:42:59 +12:00
rob bygrave
276e865f72
#1647 - Change ServerConfig.updateAllPropertiesInBatch to default to false
2019-03-12 14:49:00 +13:00
Roland Praml and Rob Bygrave
6a7e6caa66
Test fixes ( #1628 )
...
* FIX: mysql index sizes
* FIX: osolete whitespace in sqlserver tests
* Updated mssql-jdbc, this fixes problems in the batch insert (https://github.com/Microsoft/mssql-jdbc/pull/912 )
* fix tablename (reserved word in mariadb)
* ignored failing tests for sqlserver
2019-02-04 09:20:09 +13:00
rob bygrave
c86e6b3cf9
#1610 - Refactor: Change SQL logging such that jdbc batch use is more obvious
2019-01-21 19:31:28 +13:00
Roland Praml and Rob Bygrave
7ed4435ccc
Fix some testcases fof MySql/SqlServer ( #1591 )
...
* FIX testcases for MariaDB+utf8mb4 (Failure was: "Specified key was too long; max key length is 767 bytes")
* Excluded tests that won't work on SqlServers generated ids
2019-01-08 22:13:55 +13:00
rob bygrave
7d35789db4
#1573 - Incorrect CamelCase conversion when number proceeds uppercase letter
2018-12-16 16:12:34 +13:00
Jonathan Bregler and Rob Bygrave
158ee9a081
Add SAP HANA support ( #1511 )
2018-10-24 21:38:17 +13:00
rob bygrave
de9823b69b
#1505 - Unidirectional @OneToOne orphanRemoval=true ... does not delete orphan that is replaced
2018-10-12 22:30:06 +13:00
Rob Bygrave
bb164a0763
OneToOne inserts with idType=SEQUENCE will fail #1480
2018-09-20 21:32:48 +12:00
rob bygrave
55a9ba7170
#1475 - @OneToOne child with @SoftDelete that is deleted is still loaded by parent
2018-08-27 21:35:00 +12:00
rob bygrave
2df2224286
No effective change - add a new test for OneToOne with fetchType LAZY
2018-08-27 20:00:44 +12:00
rob bygrave
29c5a17202
#1472 - Cascade insert with managed id ... results in update rather than insert statement
2018-08-15 23:12:06 +12:00
rob bygrave
340b100a1a
No effective change - Add test for OneToOne orphanRemoval=true and String Ids (non generated ids)
2018-08-14 22:09:01 +12:00
rob bygrave
8789709fb8
No effective change - tidy test code
2018-07-05 22:40:09 +12: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
ae58d9223a
No effective change - add test for PrimaryKeyJoinColumn - insertWithoutExtra
2018-05-24 00:07:30 +12:00
Roland Praml and Rob Bygrave
0e3f47ee82
No effective code change: Fixwarnings, overrides, generics etc. ( #1285 )
2018-02-27 10:15:19 +13:00
Rob Bygrave
20bd2241e4
Test only change - fix test assert to support sequence and identity insert
2018-02-22 22:11:36 +13:00
Rob Bygrave
3e8b06e38e
#994 - @OneToOne cacade does not honor orphanRemoval = true
2018-02-20 16:59:55 +13:00
Rob Bygrave
40634412f5
#323 - DDL Generation support for foreign key cascade options
2018-02-19 22:24:37 +13:00
Rob Bygrave
31cac60393
#107 - Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
...
Adds Bi-directional support
2018-02-15 00:49:51 +13:00
Rob Bygrave
6a067c0cf7
#107 - Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
...
Extra test with UUID and optional OneToOne so has left join
2018-02-14 23:09:10 +13:00
Rob Bygrave
842292ef6b
#107 - Mapping - Add support for @PrimaryKeyJoinColumn/@PrimaryKeyJoinColumns
2018-02-14 22:59:57 +13:00
Rob Bygrave
6db9a60f4f
#107 - Fix existing test - Ah ??? ... this PrimaryKeyJoinColumn was ignored and should never have been in this test.
2018-02-14 17:24:14 +13:00
Rob Bygrave
cc5f3689f3
No effective change - modify tests for SqlServer
2018-02-09 21:10:18 +13:00
Rob Bygrave
b83412281e
#1251 - Delete cascade with 11+ and Postgres throws exception
...
Failing test
2018-02-07 16:39:58 +13:00
rob bygrave
1e1c518641
#1186 - ENH: Support using TableValues / Array for select prop in (?) queries
...
Use Postgres Array ANY and ALL without select unnest
2017-10-31 22:09:35 +13:00
rob bygrave
6e62b72fb9
#1186 - ENH: Support using TableValues / Array for select prop in (?) queries
2017-10-31 02:53:20 +13:00
Roland Praml and Rob Bygrave
e4eca4bbe9
FIX: Oto relations must match datatype ( #1161 )
2017-10-06 09:44:06 +13:00
rob bygrave
8c0232fdb8
#1114 - Deprecate findUnique() - please migrate to findOne() - update tests
2017-09-08 22:48:46 +12:00
rob bygrave
1d1fde61be
#1101 - findNative() on a bean with an associated @OneToOne (with the PK being derived from the parent) maps incorrectly
2017-08-30 21:58:33 +12:00
Roland Praml and Rob Bygrave
0413c22e6e
no effective code change - fixed warnings about serialization, override, raw-types ( #1032 )
2017-06-23 19:33:03 +12:00
Rob Bygrave
67ef0cd5d9
Refactor - repackage / move test code only
2017-05-01 20:39:49 +12:00
Rob Bygrave
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00