Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Usage of HDB interface in XSJSLIB

$
0
0

>Is it not possible to use the new hdb interface in xsjslib?

Yes but that actually has nothing to do with your 'real' question.


>So is it a correct assumption that the hdb interface cannot be used for temporary tables?

Not at all.  You can use temporary table in the new interface just fine. The problem here is because the temporary tables are session specific and as soon as you create a new connection you have a separate session and no longer any access to the temporary tables which were already created by the XSODATA runtime via the connection object passed into the exit interface.


>However if I do this in the "old" style, it works just fine.

Its not so much that its the old style interface its just that you have to use the connection object which was created already by the XSODATA runtime.  You must use this same connection object in order to have the same session.  Not only does this give you access to the temporary tables already created by the XSODATA runtime but it also allows the XSODATA runtime to control the rollback/commit of the transaction.


Viewing all articles
Browse latest Browse all 9165

Trending Articles