2020-03-11 09:06:06 +01:00
2020-03-04 13:25:21 +01:00
2020-03-04 13:25:21 +01:00
2020-03-04 13:25:21 +01:00
2020-03-04 13:25:21 +01:00
2020-03-04 18:05:59 +01:00
2020-03-05 20:55:53 +01:00
2020-03-04 13:25:21 +01:00
2020-03-04 13:25:21 +01:00
2020-03-04 13:25:21 +01:00
2020-03-04 13:25:21 +01:00
2020-03-04 13:25:21 +01:00
2020-03-11 09:06:06 +01:00
2020-03-04 13:25:21 +01:00

Exposed Imdb

A simple project to learn more about exposed, using the imdb datasets.

Please note that if you use this project, you have to comply with the Imbd license.

LICENSE

In short, CC BY-NC-SA 4.0.

See LICENSE

Learnings

  • Use ;DB_CLOSE_DELAY=-1 if you want to persist the in-memory database information over more than a single transaction.
    • Database.connect("jdbc:h2:mem:test;DB_CLOSE_DELAY=-1", driver = "org.h2.Driver", user = "root", password = "")
  • Use ?useSSL=false to avoid SSL exceptions (for dev only!) on MySQL.
    • Database.connect("jdbc:mysql://localhost:3308/imdb?useSSL=false", driver = "com.mysql.jdbc.Driver", user = "root", password = "aRootPassword")
  • Use rewriteBatchedStatements=true when inserting large volumes of data to have your driver rewrite your query
  • .map keeps stack of memory while for loop doesn't? I get a OME when running with map
  • reason to use partitions
  • dsl loading copy paste prone

Author

Description
No description provided
Readme 156 KiB
Languages
Kotlin 100%