Package com.scooterframework.orm.activerecord

Examples of com.scooterframework.orm.activerecord.ActiveRecord.freeze()


     */
    protected ActiveRecord generateActiveRecordHomeInstance(String connName, String model, String table) {
        ActiveRecord record = (ActiveRecord)modelHomes.get(model);
        if (record == null) {
          record = ActiveRecordUtil.generateActiveRecordInstance(ActiveRecordUtil.DEFAULT_RECORD_CLASS, connName, model, table);
          if (record != null) record.freeze();
          ActiveRecordUtil.setHomeInstance(record);
          modelHomes.put(model, record);
        }
        return record;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.