Nice post: http://amitsavm.blogspot.com/2012/03/dynamic-placeholder-substitution-in.html#comment-form
Basically, to use java.text.MessageFormat to replace the placeholder runtime
GET_TABLE_COUNT = select count(1) from {0}
@SuppressWarnings(“all”)
public static String getProperty(final String key, final String[] arguments){
return MessageFormat.format(prop.get(key), arguments);
}