Revision 45717
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DefaultFeatureStore.java | ||
---|---|---|
3699 | 3699 |
public DataTransaction getTransaction() { |
3700 | 3700 |
return transaction; |
3701 | 3701 |
} |
3702 |
|
|
3703 |
@Override |
|
3704 |
public String toString() { |
|
3705 |
try { |
|
3706 |
return String.format("%s %x %s", this.getClass().getSimpleName(), this.hashCode(), this.getFullName()); |
|
3707 |
} catch (Exception e) { |
|
3708 |
return super.toString(); |
|
3709 |
} |
|
3710 |
} |
|
3702 | 3711 |
|
3703 | 3712 |
} |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/FeatureStoreFactory.java | ||
---|---|---|
37 | 37 |
(DataStoreParameters)parameters |
38 | 38 |
); |
39 | 39 |
return store; |
40 |
} catch (InitializeException ex) {
|
|
40 |
} catch (Exception ex) { |
|
41 | 41 |
throw new RuntimeException(ex); |
42 | 42 |
} |
43 | 43 |
} |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/main/java/org/gvsig/fmap/dal/store/jdbc2/spi/JDBCStoreProviderBase.java | ||
---|---|---|
706 | 706 |
this.helper.setTransaction(transaction); |
707 | 707 |
} |
708 | 708 |
|
709 |
@Override |
|
710 |
public String toString() { |
|
711 |
try { |
|
712 |
return String.format("%s %x %s", this.getClass().getSimpleName(), this.hashCode(), this.helper.toString()); |
|
713 |
} catch (Exception e) { |
|
714 |
return super.toString(); |
|
715 |
} |
|
716 |
} |
|
709 | 717 |
|
718 |
|
|
710 | 719 |
} |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/main/java/org/gvsig/fmap/dal/store/jdbc2/spi/JDBCHelperBase.java | ||
---|---|---|
902 | 902 |
public void setTransaction(DataTransactionServices transaction) { |
903 | 903 |
this.transaction = transaction; |
904 | 904 |
} |
905 |
|
|
906 |
@Override |
|
907 |
public String toString() { |
|
908 |
try { |
|
909 |
return String.format("%s %x %s", this.getClass().getSimpleName(), this.hashCode(), this.connectionParameters.getUrl()); |
|
910 |
} catch (Exception e) { |
|
911 |
return super.toString(); |
|
912 |
} |
|
913 |
} |
|
914 |
|
|
905 | 915 |
|
906 | 916 |
} |
Also available in: Unified diff