Revision 38186 branches/v2_0_0_prep/extensions/org.gvsig.oracle/src/org/gvsig/fmap/dal/store/oracle/OracleResource.java

View differences:

OracleResource.java
103 103
		return ods;
104 104
	}
105 105
	
106
	public static int CONN_COUNT = 0;
107
	
106 108
	protected synchronized Object getTheConnection() throws DataException {
107 109
		
108 110
		if (conn == null) {
109 111
			conn = (Connection) super.getTheConnection();
112
			CONN_COUNT++;
113
			logger.debug("ORACLE CONN_COUNT +- = " + CONN_COUNT);
110 114
		}
111 115
		return conn;
112 116

  

Also available in: Unified diff