Skip to content

Instantly share code, notes, and snippets.

@qmx
Created January 29, 2011 18:09
Show Gist options
  • Save qmx/802058 to your computer and use it in GitHub Desktop.
Save qmx/802058 to your computer and use it in GitHub Desktop.
ResourceBundle bundle = ResourceBundle.getBundle("queries");
String query = bundle.getString("Usuario.all"); // select u from Usuario u
Usuario.all=select u from Usuario u
@qmx
Copy link
Author

qmx commented Jan 30, 2011

yep - best way when having lots of sql / jpql queries IMHO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment