rob bygrave
7ea6f16207
Javadoc update using "DB" vs "Ebean"
2019-03-07 10:56:56 +13:00
rob bygrave
197852857d
#1646 - Ensure that java.sql.Array.free() is called
2019-03-07 09:25:48 +13:00
rob bygrave
e7e6e00473
No effective change - Finder javadoc to use "Database"
2019-03-07 09:08:34 +13:00
rob bygrave
933c791d33
No effective change - Finder javadoc to use "Database"
2019-03-06 23:13:24 +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
e195f20981
#1645 - ENH: Add expression rawOrEmpty() ... as a convenience for conditionally added a raw expression
2019-03-05 22:13:38 +13:00
rob bygrave
86d0216159
#1644 - ENH: Improve batch flush when multiple "top level" (unrelated) types are persisted
2019-03-04 12:42:08 +13:00
rob bygrave
a4698ea1b6
#1643 - ENH: Add expression inOrEmpty() ... as a convenience for conditionally added a IN expression
2019-03-01 18:24:00 +13:00
rob bygrave
888384f7db
No effective change (change to DB from Ebean for TestSubQuery)
2019-03-01 18:12:36 +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
03a42f7f6e
No effective change - update test DefaultProfileHandlerTest to output profiling files to target
2019-02-21 09:37:14 +13:00
Roland Praml and Rob Bygrave
6b83800a83
FIX: Proper sort of migration versions (possible regression due #1577 ) ( #1639 )
2019-02-17 17:40:07 +13:00
Roland Praml and Rob Bygrave
fc7fae35c9
FIX: When saving multiple m2m beans, only last m2m wins (Regression due #1630 ) ( #1638 )
...
* provide test case, that shows problem on multiple-m2m
* FIX: When saving multiple m2m beans, only last m2m wins (Regression due #1630 )
2019-02-12 09:31:04 +13:00
rob bygrave
7929d8c0b8
Fix test data ordering
2019-02-11 23:17:54 +13:00
rob bygrave
058766dd92
No effective change - adjust test to use DB and try with resources
2019-02-11 23:13:57 +13:00
rob bygrave
4fdb8a77b4
Fix test data
2019-02-11 23:08:50 +13:00
Manuel Polo and Rob Bygrave
56be1fc047
Fixed missing EBEAN_PROPS_FILE loading ( #1635 )
2019-02-11 23:02:10 +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
aa7b15fd6e
#1637 - build on jdk11
2019-02-11 22:48:10 +13:00
Roland Praml and Rob Bygrave
cb74ef01e0
build on jdk11 ( #1637 )
2019-02-11 22:42:05 +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
e41da2f995
#1632 - ENH: Add bind parameter expansion for SqlUpdate
...
Fix test with bind type.
2019-02-07 23:35:44 +13:00
rob bygrave
ea60e42a4d
#1633 - ENH: Add bind parameter expansion for raw() expressions
2019-02-07 23:29:42 +13:00
rob bygrave
efce6b57e1
#1632 - ENH: Add bind parameter expansion for SqlUpdate
2019-02-07 23:19:00 +13:00
rob bygrave
988e4c7386
WIP Bind parameter expansion
2019-02-07 21:10:57 +13:00
rob bygrave
9e1d7ab722
#1631 - Change logging for SqlUpdate ... such that it is more consistent with other SQL logging wrt JDBC batch
2019-02-07 17:20:49 +13:00
rob bygrave
0c03a8b925
#1630 - ENH: Improve jdbc batch use when persisting ManyToMany intersection changes
2019-02-05 17:35:58 +13:00
rob bygrave
37a66f1ee2
Playing around with SqlUpdate and bind expansion for ?1 etc
2019-02-04 14:24:47 +13:00
rob bygrave
a02673359d
No effective change - tidy BindParams
2019-02-04 12:34:02 +13:00
rob bygrave
f9d13cbba7
Merge branch 'master' of github.com:ebean-orm/ebean
2019-02-04 11:55:04 +13:00
rob bygrave
f787483e30
#1629 - ENH: Add sqlQuery(sql) and sqlUpdate(sql) ... as alias for createSqlQuery(sql) and createSqlUpdate(sql)
2019-02-04 11:54:45 +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
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
c3f586c461
Merge branch 'feature/1624-Database'
2019-02-03 22:21:36 +13:00
rob bygrave
961a7ef7ea
#1626 - ENH: Add SqlUpdate.setParams(Object ... ) and SqlQuery.setParams(Object ... ) ... as convenient alternative to many setParameter() calls
2019-02-02 22:17:07 +13:00
rob bygrave
5cef1ad017
#1625 - Populate UUID via database column default value / impossible to disable automatic generation for @Id fields of type UUID.
2019-02-02 20:16:05 +13:00
rob bygrave
a24e6b6064
#1623 - DbOrderByTrim doesn't remove asc/desc if you're sorting by a function called on a column
...
This fix removes the word boundary check prior to the blank space for asc and desc (allowing the preceeding char to be a brace or anything)
2019-02-02 00:40:56 +13:00
rob bygrave
b751823abb
#1624 - ENH: Create io.ebean.DB as alias for Ebean and io.ebean.Database as alias for EbeanServer
...
Adjust Model and Finder to use DB and Database
2019-02-01 23:20:53 +13:00
rob bygrave
f3cb7e2cfd
#1624 - ENH: Create io.ebean.DB as alias for Ebean and io.ebean.Database as alias for EbeanServer
2019-02-01 22:53:41 +13:00
rob bygrave
41abf34ef6
#1621 - Consider clean up white space in generated SQL (as in remove unneeded extra spaces)
2019-01-25 01:52:23 +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
5052afbd07
#1620 - Support case statement in order by clause
2019-01-23 22:28:53 +13:00
rob bygrave
d89a58482c
no effective change - tidy test order by parse
2019-01-23 21:48:49 +13:00
rob bygrave
eb1bca805e
#1619 - Support aggregation formula on fetch clause e.g. query.fetch("machineUsage", "sum(totalKms)")
2019-01-23 16:45:47 +13:00
rob bygrave
396fb49acd
#1618 - ENH: Add @Sum ... as short hand for @Aggregation("sum(<property name>)")
2019-01-23 00:29:51 +13:00
rob bygrave
a83896f1ff
#1617 - save() on a reference bean causes insert to occur ... results in duplicate key exception
...
Fix
2019-01-22 21:59:17 +13:00
rob bygrave
3483372ae3
#1617 - save() on a reference bean causes insert to occur ... results in duplicate key exception
...
Tests broken by fix as the test inserts only included id value in the insert
2019-01-22 21:59:04 +13:00
rob bygrave
4e1f817ade
#1617 - save() on a reference bean causes insert to occur ... results in duplicate key exception
...
Tests that reproduce the issue (supplied by Andre - thanks for that)
2019-01-22 21:54:03 +13:00
rob bygrave
d4139aa8ef
#1616 - Enhance EQL grammer 1) Allow select without ( and ) 2) support aggregate functions min,max,sum,count,avg 3) support quoting fetch paths (that are keywords)
...
Fix test for Postgres any()
2019-01-22 21:23:16 +13:00