T
T
thatmaniscool2021-12-06 21:12:31
Java
thatmaniscool, 2021-12-06 21:12:31

Is it possible to use the Lazy Singleton pattern to access a SQLite DB?

So, I am writing a program, the peculiarity of the program is the constant access to the database.
I found it very convenient for me to use the Lazy Singlenton design pattern, but I heard that this approach is not correct, is it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question