Revision 20420 trunk/libraries/libDataSourceDBBaseDrivers/src-test/org/gvsig/data/datastores/vectorial/db/jdbc/JDBCTest.java
JDBCTest.java | ||
---|---|---|
40 | 40 |
} catch (OpenException e2) { |
41 | 41 |
e2.printStackTrace(); |
42 | 42 |
fail(); |
43 |
} catch (IsNotFeatureSettingException e) { |
|
44 |
e.printStackTrace(); |
|
45 |
fail(); |
|
46 | 43 |
} |
47 | 44 |
|
48 | 45 |
if (fs.isEditable() && testEdit) { |
... | ... | |
70 | 67 |
|
71 | 68 |
fs.insert(feature1); |
72 | 69 |
fs.insert(feature2); |
73 |
|
|
74 |
fs.update(feature3,feature1); |
|
70 |
feature1.editing(); |
|
71 |
feature1.set(1,111111); |
|
72 |
fs.update(feature1); |
|
75 | 73 |
fs.delete(feature3); |
76 | 74 |
fs.delete(feature2); |
77 | 75 |
}catch (IsNotFeatureSettingException e) { |
... | ... | |
91 | 89 |
} catch (ReadException e2) { |
92 | 90 |
// TODO Auto-generated catch block |
93 | 91 |
e2.printStackTrace(); |
94 |
} catch (IsNotFeatureSettingException e) { |
|
95 |
// TODO Auto-generated catch block |
|
96 |
e.printStackTrace(); |
|
97 | 92 |
} |
98 | 93 |
|
99 | 94 |
PrintlnFeaturesVisitor visitor=new PrintlnFeaturesVisitor(ft); |
... | ... | |
115 | 110 |
} catch (ReadException e) { |
116 | 111 |
e.printStackTrace(); |
117 | 112 |
fail("Exception: "+e); |
118 |
} catch (IsNotFeatureSettingException e) { |
|
119 |
e.printStackTrace(); |
|
120 |
fail("Exception: "+e); |
|
121 | 113 |
} |
122 | 114 |
} |
123 | 115 |
try { |
Also available in: Unified diff