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?
We store our SQL queries as string literals in DAOs. The DAOs hide the potentially ugly SQL syntax from the rest of the application. When you do dig down into the DAO code, having the SQL queries in the context in which they will be used helps make code easier to understand.