Renamed .groupby option to .group, according to spec, in the

parsing of db mapping when using the new format.
This commit is contained in:
hns 2002-04-02 13:30:50 +00:00
parent 337928ee4a
commit 1108e386e0

View file

@ -377,14 +377,14 @@ public class Relation {
maxSize = 0;
}
// get group by property
groupby = props.getProperty (propName+".groupby");
groupby = props.getProperty (propName+".group");
if (groupby != null && groupby.trim().length() == 0)
groupby = null;
if (groupby != null) {
groupbyorder = props.getProperty (propName+".groupby.order");
groupbyorder = props.getProperty (propName+".group.order");
if (groupbyorder != null && groupbyorder.trim().length() == 0)
groupbyorder = null;
groupbyprototype = props.getProperty (propName+".groupby.prototype");
groupbyprototype = props.getProperty (propName+".group.prototype");
if (groupbyprototype != null && groupbyprototype.trim().length() == 0)
groupbyprototype = null;
// aggressive loading and caching is not supported for groupby-nodes