Laarryy / Anti-VPN

Get the best; save money on overpriced plugins and block VPN users!
MIT License
88 stars 43 forks source link

Warn on server start. #88

Closed andrewkm closed 3 years ago

andrewkm commented 3 years ago

[08:12:46] [main/WARN] [me.egg82.antivpn.external.io.ebean.internal.DefaultContainer]: DataSource [engine1] has autoCommit defaulting to true!

Can't seem to figure out why I'm getting this. Thoughts? Would be nice to have a clean start log.

egg82 commented 3 years ago

Related: https://github.com/ebean-orm/ebean/blob/9d706056c614bcc60255c5730f7ed70fb0ab69bb/ebean-core/src/main/java/io/ebeaninternal/server/core/DefaultContainer.java#L265 https://groups.google.com/forum/embed/#!topic/ebean/opqF1nXxLoA https://github.com/ebean-orm/ebean/issues/168 https://ebean.io/docs/transactions/

This may be an issue with autoCommit set to true when loading the initial file.

egg82 commented 3 years ago

Resolved in 2b4152f