Since the QueryBuilder is not thread-safe, it cannot be set as a member variable -- instead, use this factory and call {@link #getInstance()}whenever you need a new QueryBuilder.
This class can be extended, for example, if you need to always return the same value for some query parameter.
@author Support @todo Move this class into the data-model project.
|
|
|
|