Tag : hibernate

I have a ‘for’ loop that gets some data from the database for each element in the List. And sometimes the query executes tolerably fast (0.015s), but sometimes it takes about 6 seconds, which makes me wait forever for the loop to finish (there can be several hundred elem..

Read more

Our system uses hibernate to automatically create tables and indexes during startup, but I found that on the first startup, federated indexes cannot be created because there are no tables. I looked at the logs and found that hibernate attempted to create a federated index before creating a table in a single threaded situation.
Here are some logs that I have selected.
I hope you’ve enjoyed a goo..

Read more