Revision 10627 trunk/libraries/libGDBMS/src/main/java/com/hardcode/gdbms/engine/data/db/DBDataSource.java
DBDataSource.java | ||
---|---|---|
1 | 1 |
package com.hardcode.gdbms.engine.data.db; |
2 | 2 |
|
3 | 3 |
import com.hardcode.driverManager.Driver; |
4 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
4 | 5 |
import com.hardcode.gdbms.engine.data.DataSource; |
5 | 6 |
import com.hardcode.gdbms.engine.data.driver.DBDriver; |
6 |
import com.hardcode.gdbms.engine.data.driver.DriverException; |
|
7 | 7 |
|
8 | 8 |
|
9 | 9 |
/** |
... | ... | |
16 | 16 |
* It's not neccessary to call between a start and a stop call |
17 | 17 |
* |
18 | 18 |
* @param sql instruction to execute |
19 |
* |
|
20 |
* @throws DriverException If execution fails |
|
19 |
* @throws ReadDriverException TODO |
|
21 | 20 |
*/ |
22 |
public void execute(String sql) throws DriverException; |
|
21 |
public void execute(String sql) throws ReadDriverException;
|
|
23 | 22 |
|
24 | 23 |
/** |
25 | 24 |
* Sets the driver layer |
Also available in: Unified diff