title: Is it safe to use a static method to update a database?
body: <p>I am currently working on a Java project that scrapes data off of a website periodically and then stores it in a MySQL database. I am currently using a static method to do this, but I read online that using static methods can be unsafe. I don't entirely understand why. Should I refactor my code to replace these static methods, or is it safe leave it as is? If I should change it, can you explain why?</p>