Revision 9833
trunk/applications/appgvSIG/.cvsignore | ||
---|---|---|
2 | 2 |
dist |
3 | 3 |
gvSIG*.zip |
4 | 4 |
build-doc |
5 |
bin-test |
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/TableFieldOperations.java | ||
---|---|---|
70 | 70 |
}else{ |
71 | 71 |
sql += " desc;"; |
72 | 72 |
} |
73 |
DataSource ds = sds.getDataSourceFactory().executeSQL(sql, DataSourceFactory.AUTOMATIC_OPENING);
|
|
73 |
DataSource ds = sds.getDataSourceFactory().executeSQL(sql, DataSourceFactory.MANUAL_OPENING);
|
|
74 | 74 |
table.setOrder(ds.getWhereFilter()); |
75 | 75 |
} catch (DriverException e) { |
76 | 76 |
NotificationManager.addError("No se pudo ordenar", e); |
trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/table/ProjectTableFactory.java | ||
---|---|---|
95 | 95 |
|
96 | 96 |
DataSource dataSource = LayerFactory.getDataSourceFactory() |
97 | 97 |
.createRandomDataSource(name, |
98 |
DataSourceFactory.AUTOMATIC_OPENING);
|
|
98 |
DataSourceFactory.MANUAL_OPENING);
|
|
99 | 99 |
SelectableDataSource sds = new SelectableDataSource(dataSource); |
100 | 100 |
EditableAdapter auxea = new EditableAdapter(); |
101 | 101 |
auxea.setOriginalDataSource(sds); |
... | ... | |
143 | 143 |
user = null; |
144 | 144 |
password = null; |
145 | 145 |
} |
146 |
|
|
147 |
name = name + " Table:" + dbod.getTable(); |
|
146 | 148 |
|
147 | 149 |
LayerFactory.getDataSourceFactory().addDBDataSourceByTable(name, |
148 | 150 |
dbod.getHost(), port, user, password, |
... | ... | |
150 | 152 |
|
151 | 153 |
DataSource dataSource = LayerFactory.getDataSourceFactory() |
152 | 154 |
.createRandomDataSource(name, |
153 |
DataSourceFactory.AUTOMATIC_OPENING);
|
|
155 |
DataSourceFactory.MANUAL_OPENING);
|
|
154 | 156 |
SelectableDataSource sds = new SelectableDataSource(dataSource); |
155 | 157 |
EditableAdapter auxea = new EditableAdapter(); |
156 | 158 |
|
trunk/applications/appgvSIG/build.xml | ||
---|---|---|
4 | 4 |
</description> |
5 | 5 |
<!-- set global properties for this build --> |
6 | 6 |
<!-- <property name="buildDate" value="20041018"/> --> |
7 |
<property name="version" value="1.0 beta ${eclipse.startTime}"/>
|
|
7 |
<property name="version" value="1.0 ${eclipse.startTime}"/> |
|
8 | 8 |
<property name="src" location="src"/> |
9 | 9 |
<property name="build" location="bin"/> |
10 | 10 |
<property name="dist" location="dist"/> |
11 | 11 |
trunk/extensions/extCAD/src/com/iver/cit/gvsig/writers/WriterGT2.java | ||
---|---|---|
52 | 52 |
AttributeType[] types; |
53 | 53 |
Transaction t; |
54 | 54 |
int numReg = 0; |
55 |
private boolean bWriteAll; |
|
56 |
|
|
57 |
public static Class getClassBySqlTYPE(int type) |
|
55 |
public static Class getClassBySqlTYPE(int type) |
|
58 | 56 |
{ |
59 | 57 |
switch (type) |
60 | 58 |
{ |
Also available in: Unified diff