@Override
	public String[] getTableRenameStatements(String oldTableName, Class<?> oldClass, String newTableName,
			Class<?> newClass)
	{
		// get a comma-separated list of implemented fields
		ObjectStack oldStack = new ObjectStack(this, oldClass);
		ObjectRepresentation oldRep = oldStack.getActualRepresentation();
		StringBuilder paramList = new StringBuilder(Defaults.ID_COL);
		paramList.append(",").append(Defaults.REAL_CLASS_COL);
		for (int x = 0; x < oldRep.getPropertyCount(); x++)
		{
			String prop = oldRep.getPropertyName(x);
			paramList.append(",");
			paramList.append(prop);
		}
		String params = paramList.toString();

		String[] res = new String[3];
		res[0] = "INSERT INTO " + newTableName + "(" + params + ") SELECT " + params + " FROM " + oldTableName;
		res[1] = "DROP TABLE " + oldTableName;
		// remove old entries in TYPE_TABLENAME
		res[2] = "DELETE FROM " + Defaults.TYPE_TABLENAME + " WHERE OWNER_TABLE = '" + oldTableName + "'";

		return res;
	}