We are using a mix of EJB 2.1 and JDBC to access our Database.
I just had a co-worker mention the idea to put his SQL Queries into a .properties file.
How and Where do you put your SQL Queries?
EDIT:
Do you inline it with the code, put into the class instantiation?
In DAOs since I consider them part of my application and not a configurable (changeable by a sysadmin) element of the application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With