mirror of
https://github.com/jlengrand/exposed-imdb.git
synced 2026-03-10 08:11:18 +00:00
0f7efc510b248362a62e95476a365ef956083d86
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=-1if 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=falseto 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=truewhen inserting large volumes of data to have your driver rewrite your query .mapkeeps stack of memory whileforloop doesn't? I get a OME when running with map- reason to use partitions
- dsl loading copy paste prone
- Cross Join
Author
Description
Languages
Kotlin
100%