Package com.save4j.model.database

Examples of com.save4j.model.database.Field


    StringBuffer buff = new StringBuffer();
   
    buff.append("CREATE TABLE " + table.getName() + "(");
   
    for (String key : table.getFields().keySet()) {
      Field field = table.getFields().get(key);
     
      buff.append(field.getName() + " char(50),");
    }
   
    // Remove the extra comma at the end
    if (buff.charAt(buff.length() - 1) == ',') {
      buff.substring(0, buff.length() - 1);
View Full Code Here

TOP

Related Classes of com.save4j.model.database.Field

Copyright © 2018 www.massapicom. 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.