Symptom
- Error: Could not restore session: autocommit must be off when using JDBC connection to retrieve history data from a history table of HANA in IDT
- The error persists after setting JDBC Driver Properties to autocommit=off
Environment
- SAP BusinessObjects Business Intelligence Platform 4.x
- SAP HANA Database 1.0
- Information Design Tool (IDT)
Reproducing the Issue
- Create a history table in HANA database.
- Create a new JDBC connection to connect HANA database.
- Create a new data foundation based on this connection.
- Try to retrieve history data of the history table in the data foundation and the issue occurs.
Cause
- The session parameter Auto_Commit should be set as off when retrieving history data from a history table in HANA database.
- The default Transaction Mode of HANA JDBC connection is AutoCommit, which is defined in newdb.sbo file.
Resolution
- Backup the file newdb.sbo under the folder <InstallPath>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\jdbc.
- Open the file using notepad.
- Delete the line below:
<Parameter Name="Transaction Mode">AutoCommit</Parameter> - Save the file and restart Connection Server.
Keywords
BOE, BI4, history table, autocommit, auto_commit, SAP DBTech JDBC, hana history,auto commit
Header Data
Released On | 19.05.2015 02:55:32 | ||
Release Status | Released to Customer | ||
Component | BI-BIP-IDT Information design tool | ||
Other Components |
| ||
Priority | Normal | ||
Category | Problem |
No comments:
Post a Comment