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

Timur Atakishiev

01/30/2020, 8:53 AM
Hi huys, I am a bit confusing, I am trying to use BatchInsert in exposed, however amount of insert that loger shows are equals to the size of collection that I am trying to insert. I visited https://github.com/JetBrains/Exposed/issues/617 and still could not get answer, what should I do in order to make work batchInsert. Is separate inserts that exposed logger shows is okay? Has someone experience with batchInsert statement?
t

tapac

01/30/2020, 9:23 PM
Did you read comments? You could enable insert batching via driver parameters.
t

Timur Atakishiev

01/31/2020, 2:36 AM
Yes I did, I did everything that you suggested, however, at the end of the day I according to the log I can not understand whether batch insert is working or not. If I did everything that you suggested there, does it mean, that batch insert is working?
t

tapac

02/03/2020, 12:06 PM
It should. To be sure - try to enable driver related logginig to see what exactly were executed.
t

Timur Atakishiev

02/03/2020, 12:07 PM
Okay, I will try and will give you my feedback
3 Views