private String createCompareRecordsMethod( String variable ) {
        StringBuilder sb = new StringBuilder();

        sb.append( "\n\n" + TAB + "public static void compareRecords( " + variable + " " + toJavaCase( variable )
                + ", " + variable + " readRecord ) {\n\n" );

        for ( Column column : table.getColumns() ) {
            if ( column.isKey() ) {
                continue;
            }
            if ( column.getClass().getSimpleName().equals( "VirtualStringColumn" ) ) {
                continue;
            }
            else if ( column.getSqlType().equalsIgnoreCase( "DATE" ) || column.getSqlType().equalsIgnoreCase( "BLOB" )
                    || column.getSqlType().equalsIgnoreCase( "CLOB" ) ) {
                sb.append( TAB + TAB + "assertNotSame( " + toJavaCase( variable ) + ".get"
                        + toCamelCase( column.getFldName() ) + "(), readRecord.get" + toCamelCase( column.getFldName() )
                        + "() );\n" );

            }
            else {
                sb.append( TAB + TAB + "assertEquals( " + toJavaCase( variable ) + ".get"
                        + toCamelCase( column.getFldName() ) + "(), readRecord.get" + toCamelCase( column.getFldName() )
                        + "() );\n" );
            }
        }

        sb.append( "\n" + TAB + "}\n" );
        return sb.toString();
    }