mirror of
https://github.com/jlengrand/exposed-imdb.git
synced 2026-03-10 08:11:18 +00:00
2e372db8dffbd4992ee8c76e549b023d462ace9d
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
Author
Description
Languages
Kotlin
100%