| | |
| | | protected String _dataPath; |
| | | protected Properties properties; |
| | | protected boolean _elementLogging; |
| | | private Connection connection = null; |
| | | |
| | | public OracleDataStore getSourceDataStore() |
| | | { |
| | |
| | | |
| | | public Connection getOracleConnection() |
| | | { |
| | | if (connection != null) return connection; |
| | | try |
| | | { |
| | | if (sourceDataStore != null) |
| | | { |
| | | return sourceDataStore.getConnection(Transaction.AUTO_COMMIT); |
| | | connection = sourceDataStore.getConnection(Transaction.AUTO_COMMIT); |
| | | } |
| | | |
| | | } catch (IOException e) |
| | |
| | | getLogger().warn(e.getMessage(), e); |
| | | } |
| | | |
| | | return null; |
| | | return connection; |
| | | } |
| | | |
| | | public void setDataPath(String dataPath) |