public Map getBulkUpdateValues() { Column[] cols = vers.getColumns(); Map map = new HashMap(cols.length); Date d = new Date(); for (int i = 0; i < cols.length; i++) map.put(cols[i], d); return map; } }
public Map getBulkUpdateValues() { Column[] cols = vers.getColumns(); Map map = new HashMap(cols.length); Object d = nextVersion(null); for (int i = 0; i < cols.length; i++) map.put(cols[i], d); return map; } }
public Map<Column,String> getBulkUpdateValues() { Column[] cols = vers.getColumns(); Map<Column,String> map = new HashMap<Column,String>(cols.length); for (int i = 0; i < cols.length; i++) map.put(cols[i], cols[i].getName() + " + 1"); return map; } }
public Map<Column,String> getBulkUpdateValues() { Column[] cols = vers.getColumns(); Map<Column,String> map = new HashMap<Column,String>(cols.length); for (int i = 0; i < cols.length; i++) map.put(cols[i], cols[i].getName() + " + 1"); return map; } }
public Map getBulkUpdateValues() { Column[] cols = vers.getColumns(); Map map = new HashMap(cols.length); Object d = nextVersion(null); for (int i = 0; i < cols.length; i++) map.put(cols[i], d); return map; } }
public Map<Column,String> getBulkUpdateValues() { Column[] cols = vers.getColumns(); Map<Column,String> map = new HashMap<Column,String>(cols.length); for (int i = 0; i < cols.length; i++) map.put(cols[i], cols[i].getName() + " + 1"); return map; } }
public Map getBulkUpdateValues() { Column[] cols = vers.getColumns(); Map map = new HashMap(cols.length); Object d = nextVersion(null); for (int i = 0; i < cols.length; i++) map.put(cols[i], d); return map; } }
public Map<Column,String> getBulkUpdateValues() { Column[] cols = vers.getColumns(); Map<Column,String> map = new HashMap<Column,String>(cols.length); for (int i = 0; i < cols.length; i++) map.put(cols[i], cols[i].getName() + " + 1"); return map; } }
public Map getBulkUpdateValues() { Column[] cols = vers.getColumns(); Map map = new HashMap(cols.length); for (int i = 0; i < cols.length; i++) map.put(cols[i], cols[i].getName() + " + 1"); return map; } }
public Map getBulkUpdateValues() { Column[] cols = vers.getColumns(); Map map = new HashMap(cols.length); Object d = nextVersion(null); for (int i = 0; i < cols.length; i++) map.put(cols[i], d); return map; } }
public boolean select(Select sel, ClassMapping mapping) { sel.select(vers.getColumns()); return true; }
public boolean select(Select sel, ClassMapping mapping) { sel.select(vers.getColumns()); return true; }
public boolean select(Select sel, ClassMapping mapping) { sel.select(vers.getColumns()); return true; }
public boolean select(Select sel, ClassMapping mapping) { sel.select(vers.getColumns()); return true; }
public boolean select(Select sel, ClassMapping mapping) { sel.select(vers.getColumns()); return true; }
@Override public void initialize() { if (_initials == null) { Column[] cols = vers.getColumns(); _initials = new Number[cols.length]; for (int i = 0; i < cols.length; i++) { _initials[i] = nextValue(0, getJavaType(i)); } } super.initialize(); }
@Override public void initialize() { if (_initials == null) { Column[] cols = vers.getColumns(); _initials = new Number[cols.length]; for (int i = 0; i < cols.length; i++) { _initials[i] = nextValue(0, getJavaType(i)); } } super.initialize(); }
@Override public void initialize() { if (_initials == null) { Column[] cols = vers.getColumns(); _initials = new Number[cols.length]; for (int i = 0; i < cols.length; i++) { _initials[i] = nextValue(0, getJavaType(i)); } } super.initialize(); }
@Override public void initialize() { if (_initials == null) { Column[] cols = vers.getColumns(); _initials = new Number[cols.length]; for (int i = 0; i < cols.length; i++) { _initials[i] = nextValue(0, getJavaType(i)); } } super.initialize(); }
public Column[] getColumns() { // pcl: 6 July 2007: this seems a bit hacky, but if the mapping is a // version, it will have a NoneFieldMapping (since the version strategy // for the class takes care of it's mapping), and NoneFieldStrategies // do not have columns. if (isVersion()) return getDeclaringMapping().getVersion().getColumns(); else return _val.getColumns(); }