forked from scriptella/scriptella-etl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added sap hana driver (initial version)
- Loading branch information
1 parent
9396d2a
commit dc0d583
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright 2006-2012 The Scriptella Project Team. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package scriptella.driver.hana; | ||
|
||
import scriptella.jdbc.GenericDriver; | ||
|
||
/** | ||
* Scriptella Adapter for Hana database. | ||
* <p>For configuration details and examples see <a href="package-summary.html">overview page</a>. | ||
* | ||
* @author Bodo Hüsemann | ||
* @version 1.0 | ||
*/ | ||
public class Driver extends GenericDriver { | ||
public static final String HANA_DRIVER_NAME = "com.sap.db.jdbc.Driver"; | ||
|
||
|
||
public Driver() { | ||
loadDrivers(HANA_DRIVER_NAME); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<body> | ||
<a href="http://hana.sap.com/">SAP Hana Database</a> Driver Adapter for Scriptella. | ||
<p>See <a href="../../jdbc/package-summary.html#package_description">Overview of JDBC package</a> for a description of common features and connection properties.</p> | ||
<h2>General information</h2> | ||
<table> | ||
<tr> | ||
<td><b>Driver class:</b></td><td><code>scriptella.driver.hana.Driver</code></td> | ||
</tr> | ||
<tr> | ||
<td><b>URL:</b></td><td><code>jdbc:sap://<server>:<port>[/?<options>]</code></td> | ||
</tr> | ||
<tr> | ||
<td><b>Runtime dependencies:</b></td><td><code>ngdbc5.jar</code></td> | ||
</tr> | ||
</table> | ||
<h2>Driver Specific Properties</h2> | ||
<table border="1"> | ||
<tr> | ||
<th>Name</th> | ||
<th>Description</th> | ||
<th>Required</th> | ||
</tr> | ||
</table> | ||
|
||
<h2>Examples</h2> | ||
<code><pre> | ||
<connection driver="hana" url="jdbc:sap://myServer:30015/?autocommit=false" user="sa"> | ||
</connection> | ||
</pre></code> | ||
|
||
</body> |