Commit Graph

1490 Commits

Author SHA1 Message Date
Tapac
d21140063d Fire EntityChange events immediately 2020-01-11 11:14:51 +03:00
Tapac
179142f816 Update event wasn't fired on Entity.flush() 2020-01-11 11:09:32 +03:00
Tapac
762ba32504 Update event wasn't fired on Entity.flush() 2020-01-11 11:07:53 +03:00
Tapac
f50fcae2d0 Change string length check to use codePointCount (#745, #743)
SQLServer excluded from test
2020-01-10 02:08:39 +03:00
Tapac
a960350ab4 Flushing a new entity fails with an exception #761 2020-01-10 00:21:35 +03:00
Tapac
5c4b1e11f9 Custom enumeration not working with default value #750 / PostgreSQL test fixed 2020-01-07 16:31:53 +03:00
kenta.koyama
c435a2bc8d Add size property on ColumnMetadata class (#747)
* test getting column metadata correctly
* add size property on ColumnMetadata
2020-01-07 15:08:50 +03:00
hichem-fazai
3af66148d7 [SQLite] fixing a bug that happens when creating table with autoInc column and custom primarykey constraint name (#755) 2020-01-07 15:04:30 +03:00
Tapac
c897fdb455 Custom enumeration not working with default value #750 2020-01-04 00:20:36 +03:00
Tapac
d2db2c2ac8 Can't load implementation for DatabaseConnectionAutoRegistration #748 2020-01-03 23:26:02 +03:00
Tapac
53ff36250b Change string length check to use codePointCount (#745, #743)
Test enabled
2020-01-03 23:19:30 +03:00
(´⌣`ʃƪ)
f27b6c0199 Change string length check to use codePointCount (#745) 2020-01-02 15:32:32 +03:00
Andrey.Tarashevskiy
b417bc6fdc Exposed 0.20.2 release 2019-12-28 18:32:04 +03:00
Andrey.Tarashevskiy
05447ec198 Predefinded IntIdTable/LongIdTable/UUIDTable should respect deprecated primaryKey declaration. 2019-12-28 18:18:16 +03:00
Andrey.Tarashevskiy
0271b91a00 Add table name in warn message regarding of having both new and old primary key declarations 2019-12-28 18:16:45 +03:00
Tapac
0552e48d56 Slack badge and link to channel added 2019-12-27 16:27:16 +03:00
Tapac
0dad98edc0 Exposed 0.20.1 released 2019-12-27 15:48:23 +03:00
Tapac
f9547ed10e SamplesSQL in README.md was actualized 2019-12-27 15:47:03 +03:00
Tapac
f6b0beef7b Batch insert throws irrelevant exception #741 2019-12-27 12:43:39 +03:00
Tapac
142a84e13d Exclude SQLServer from EntityTests.test new(id) with get test 2019-12-26 14:39:31 +03:00
Tapac
b811b8a8ce More verbose error in BatchInsertStatement 2019-12-26 13:17:07 +03:00
hichem-fazai
cfa7bb5200 Primary key tests (#740) 2019-12-26 00:46:01 +03:00
Tapac
9142e64d7d Adding the feature of defining the primarykey constraint name (#725)
Minor code improvements
2019-12-25 02:12:57 +03:00
Tapac
391a8bf659 Bintray latest version badge actualized 2019-12-24 19:42:47 +03:00
Tapac
6e3853e030 Test to check update on custom enumeration column added #738 2019-12-24 19:32:20 +03:00
hichem-fazai
ec25b1d44c Adding the feature of defining the primarykey constraint name (#725)
* Adding the feature of defining the primarykey constraint name

* building primarykey constraint from PrimaryKey class columns

* resolve failed test (coding of this feature is not complete)

* enhancement
2019-12-24 19:25:58 +03:00
mpe85
2c45676458 Added transaction id to entity change event (#734) 2019-12-24 19:22:10 +03:00
Toshiaki Kameyama
2e74c0f414 NoSuchElementException: List is empty on EntityClass.new(id) with EntityClass.get (#733) 2019-12-24 15:22:25 +03:00
Frank
1c5a2cd77e Removed unnecessary special treatment for SQLite (#729) 2019-12-20 01:10:36 +03:00
Jamie Visker
cbe347d55e ADBA project terminated (#732)
Oracle announced that they have stopped work on ADBA. https://mail.openjdk.java.net/pipermail/jdbc-spec-discuss/2019-September/000529.html
2019-12-18 22:37:01 +03:00
hichem-fazai
3a5d0edb79 [BugFix] Prevent defining duplicated colum name in a table (#719)
* [BugFix] Prevent defining duplicated colum name in a table
* Update exposed-core/src/main/kotlin/org/jetbrains/exposed/sql/Table.kt
Co-Authored-By: Andrey.Tarashevskiy <fantocci@gmail.com>
* adding table name to error message of duplicate column name
* moving tests to seperate files
2019-12-18 00:06:55 +03:00
hichem-fazai
e636a4425d Enable the use of binary type without length in oracle and postgresql… (#716) 2019-12-17 22:40:49 +03:00
Lukáš Křečan
c01948158c Do not use INSTANCE for column types (#727) 2019-12-17 22:22:54 +03:00
Lukáš Křečan
618e55a682 Support for java.time.Instant for timestamp columns (#724)
* Support for java.time.Instant for timestamp columns
* Add CurrentTimestamp function
2019-12-15 19:37:28 +03:00
Tapac
c7d9d7ef49 Change log for 0.19.3 actualized 2019-12-14 19:03:05 +03:00
Tapac
de47adaa46 Exposed 0.19.3 Release 2019-12-14 17:53:02 +03:00
Tapac
b7e6111827 query.empty() shouldn't add LIMIT 1 if query is marked as forUpdate() #684 2019-12-14 17:52:43 +03:00
Tapac
f09852ebb3 Kotlin 1.3.61
kotlin-coroutines 1.3.3
2019-12-14 11:59:16 +03:00
Tapac
59f4c9f349 Exposed 0.19.2 Release 2019-12-14 11:56:55 +03:00
Tapac
593cd3f37f query.empty() shouldn't add LIMIT 1 if query is marked as forUpdate() #684 2019-12-14 11:55:17 +03:00
Tapac
dbe547c507 Deprecated Query.orderBy functions with boolean sort parameter were removed 2019-12-14 11:50:28 +03:00
Tapac
98aa8252a1 Delayed DAO update flush causes unique constraint violation #717 / SQLServer tests fixed 2019-12-14 11:05:12 +03:00
Tapac
7e3c742324 Fix blinking MultipleDatabaseBugTest 2019-12-12 00:18:09 +03:00
Tapac
22d7125fb1 Delayed DAO update flush causes unique constraint violation #717 2019-12-11 23:59:18 +03:00
Andrey.Tarashevskiy
317c441879 Replace using H2 in MySQL mode doesn't work when using pool (Hikari) #178
Failed after spliting into modules
2019-12-10 17:46:02 +03:00
Tapac
f7dd832f02 NoSuchElementException: List is empty on updating not flushed entities #708 2019-12-10 03:04:45 +03:00
mpe85
f33807acb6 Added refresh test (#721) 2019-12-10 02:54:46 +03:00
Tapac
5e4559125b Some documentation on Table.references 2019-12-10 02:12:40 +03:00
Tapac
7af8ebd2c5 Adding sql datetime functions year, day, hour, minute, second (#707) / SQLServer SECOND support 2019-12-07 12:13:41 +03:00
Tapac
ef36138614 Adding sql datetime functions year, day, hour, minute, second (#707) / SQLServer support 2019-12-07 12:04:25 +03:00