https://kotlinlang.org logo
#exposed
Title
# exposed
d

dave08

11/11/2021, 4:23 PM
@tapac How could I be running into this issue https://github.com/JetBrains/Exposed/issues/186 when I'm currently holding by
com.h2database:h2:{require 1.4.200; reject _} -> 1.4.200
...?
t

tapac

11/11/2021, 4:27 PM
Did you get exact the same exception?
d

dave08

11/11/2021, 4:28 PM
I pasted part of the stack trace in the channel
🙏 1
Maybe it's because of the
isMysqlMode
?
I'm using this to create `Database`:
Database.connect("jdbc:h2:mem:oro;DB_CLOSE_DELAY=-1;", "org.h2.Driver")
You might want to change the error message in such a case... it seems like
Database.connect("jdbc:h2:mem:oro;DB_CLOSE_DELAY=-1;MODE=MYSQL", "org.h2.Driver")
works. You could let the user know that they have to add that mode in the connection url to enable this feature in h2...
👍 1
Otherwise, just having those functions available in all implementations sounds to the user like they all work. And h2 is used for testing, not everybody really learned it in depths to know this beforehand.
6 Views