Account acct = (Account)p;
int account_id = acct.getId();
int cust_id = acct.getCustomerId();
String type = acct.getAccountType();
float balance = acct.getBalance();
return "INSERT INTO t_accounts (account_id, cust_id, " +
"account_type, balance) " +
"VALUES( " + account_id + ", " + cust_id + ", '" + type + "', " +
balance + ")";