Skip to content

Commit

Permalink
Merge pull request #8 from rtdi/master
Browse files Browse the repository at this point in the history
fix for lowercase column names in PKs
  • Loading branch information
wernerdaehn authored Mar 30, 2021
2 parents 88b7e1d + 572014e commit 38704cb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.rtdi.bigdata.connector</groupId>
<artifactId>hanaconnector</artifactId>
<version>0.9.5</version>
<version>0.9.6</version>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<io.rtdi.bigdata.connector.version>0.10.1</io.rtdi.bigdata.connector.version>
<io.rtdi.bigdata.connector.version>0.10.7</io.rtdi.bigdata.connector.version>
</properties>
<build>
<finalName>${project.artifactId}</finalName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ public String poll(String from_transaction) throws IOException {
long min_transactionid = Long.valueOf(from_transaction);
long max_transactionid = getMaxTransactionId(min_transactionid);
String sql = null;

if (min_transactionid != max_transactionid) { // If Hana has not processed a single record anywhere, no need to check for data
logger.debug("Reading change data from Hana transaction id \"{}\" to transaction id \"{}\"", min_transactionid, max_transactionid);
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,9 @@ private static StringBuffer createProjectionDelta(HanaTableMapping r, boolean us
b.append(", ");
}
if (usedriver && r.getPKColumns().contains(column.getTableColumnName())) {
b.append("l.");
b.append("l.\"");
b.append(column.getTableColumnName());
b.append(" as \"");
b.append("\" as \"");
b.append(column.getAlias());
b.append("\"");
} else {
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/hanaconnector.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
basedir=https://github.com/rtdi/HanaConnector/blob/main/
1 change: 0 additions & 1 deletion src/main/resources/s4hanaconnector.properties

This file was deleted.

0 comments on commit 38704cb

Please sign in to comment.