public String generateID (DbMapping map) { try { if (map == null || (map.getIDgen() == null && map.getSQLIDgen() == null)) return nmgr.idgen.newID (); else { if ("true".equalsIgnoreCase (map.getSQLIDgen())) return nmgr.generateSQLID (map); else return nmgr.generateID (map); } } catch (Exception x) { throw new RuntimeException (x.toString ()); }
public String generateID () { return nmgr.idgen.newID ();
    public String generateID (DbMapping map) {	try {            if (map == null || (map.getIDgen() == null && map.getSQLIDgen() == null))	        return nmgr.idgen.newID ();	    else {	        if ("true".equalsIgnoreCase (map.getSQLIDgen()))                    return nmgr.generateSQLID (map);                else                    return nmgr.generateID (map);	    }	} catch (Exception x) {	    throw new RuntimeException (x.toString ());	}    }