https://kotlinlang.org logo
t

tapac

09/10/2018, 9:02 AM
Exposed 0.10.5 released (https://bintray.com/kotlin/exposed/exposed/0.10.5). Changes (https://github.com/JetBrains/Exposed/blob/master/ChangeLog.md#0105): Features: * Added
DOUBLE
column type (#358). Thanks go to Jonathan Shore (@tr8dr). *
Entity.refresh()
introduced to update its state from database (see kdoc) * All statements classes become open to allowing inheritance (#350) * where part made optional in UPDATE statement (#115) *
andWhere
function introduced to help in constructing complex queries (#375). See "Conditional where" section on Wiki. Bug fixes: * Varchar column doesn't validate length / Validate length only before execute update (#300) * sqlState doesn't available on
ExposedSQLException
(#331) * [SQLite]
ClassCastException
when reading from VARCHAR column (#369) * Use ::class instead of ::class.java for enumerations (#370) Previous functions `enumeration`/`enumerationByName` were deprecated with quick fix to new ones. Both functions will be removed on next releases. * Multiple join produce "DSL SYNTAX ERROR" (#366) * Entities flush to a database after a DROP table (#112) * Entity id is not generated properly when using
clientDefault
on related column (#313) *
ClassCastExpection
when using alias on a expressions (#379) * [MySQL] Entity ids were not generated properly with
rewriteBatchedStatements
flag is on. * [Oracle]
LONG
type replaced with
CLOB
for text columns (#382)
👍 3