Revision 45914 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.prov/org.gvsig.exportto.swing.prov.jdbc/src/main/java/org/gvsig/export/jdbc/service/ExportJDBCService.java

View differences:

ExportJDBCService.java
131 131
                    pk = targetEditableFeatureType.add(pkname, DataTypes.LONG);
132 132
                    pk.setIsPrimaryKey(true);
133 133
                    pk.setIsAutomatic(true);
134
                    pk.setIsReadOnly(true);
134 135
                } else {
135 136
                    pk.setIsPrimaryKey(true);
137
                    pk.setIsReadOnly(true);
136 138
                }
137 139
            }
138 140

  
......
360 362
                        //attr2.setIsPrimaryKey(attr.isPrimaryKey());
361 363
                        attr2.setIsIndexed(attr.isIndexed());
362 364
                        attr2.setIsAutomatic(attr.isAutomatic());
365
                        attr2.setIsReadOnly(attr.isReadOnly());
363 366
                    }
364 367
                }
365 368
                target.update(ft);

Also available in: Unified diff