As stated here, it is a good practice to keep the SQL statements out of the code, as this allows for external help from people specialized on database related stuff, rather than forcing them to understand a piece of complex code. And it is also good to have the option to alter things on the fly, if necessary.
A good option for such would be to simply add those as a properties file. Or we could use some sort of specialized solution, such as this.
As stated here, it is a good practice to keep the SQL statements out of the code, as this allows for external help from people specialized on database related stuff, rather than forcing them to understand a piece of complex code. And it is also good to have the option to alter things on the fly, if necessary.
A good option for such would be to simply add those as a properties file. Or we could use some sort of specialized solution, such as this.