Revision 14587
trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/engine/data/file/FileDataSourceAdapter.java | ||
---|---|---|
3 | 3 |
import java.io.File; |
4 | 4 |
import java.sql.Types; |
5 | 5 |
|
6 |
import org.apache.log4j.Logger; |
|
7 |
|
|
6 | 8 |
import com.hardcode.driverManager.Driver; |
7 | 9 |
import com.hardcode.driverManager.DriverLoadException; |
8 | 10 |
import com.hardcode.gdbms.driver.exceptions.CloseDriverException; |
... | ... | |
59 | 61 |
} else if (sem < 0) { |
60 | 62 |
sem=0; |
61 | 63 |
driver.close(); |
62 |
throw new RuntimeException("DataSource closed too many times"); |
|
64 |
Logger.getLogger(this.getClass()).debug("DataSource closed too many times = "+ driver.getName()); |
|
65 |
// throw new RuntimeException("DataSource closed too many times"); |
|
63 | 66 |
} |
64 | 67 |
} catch (CloseDriverException e) { |
65 | 68 |
throw new ReadDriverException(getName(),e); |
Also available in: Unified diff