Discussion:
[soci-users] Oracle ROWIDs
Rodrigo Madera
2013-11-06 12:01:49 UTC
Permalink
Is there any way to get the data from a ROWID in Oracle?

I need to provide the session to soci::rowid's constructor, and I can pass
it along to a soci::into(), so apparently I can get it "filled".

But I want to access the data inside the rowid. For example, in Oracle,
something like AAA2PZAAUAAAAC/AAF.

Thanks for any insight,
Rodrigo
Mateusz Loskot
2013-11-07 10:48:13 UTC
Permalink
Post by Rodrigo Madera
Is there any way to get the data from a ROWID in Oracle?
I need to provide the session to soci::rowid's constructor, and I can pass
it along to a soci::into(), so apparently I can get it "filled".
Sorry for brief answer, no time.
Please, check
https://github.com/SOCI/soci/blob/master/src/backends/oracle/test/test-oracle.cpp#L228-L248

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Rodrigo Madera
2013-11-07 11:24:49 UTC
Permalink
Thanks Mateusz.

Though it doesn't solve the issue, it provides pointers for my breakpoints.

Let's dig in...

Rodrigo
Post by Mateusz Loskot
Post by Rodrigo Madera
Is there any way to get the data from a ROWID in Oracle?
I need to provide the session to soci::rowid's constructor, and I can
pass
Post by Rodrigo Madera
it along to a soci::into(), so apparently I can get it "filled".
Sorry for brief answer, no time.
Please, check
https://github.com/SOCI/soci/blob/master/src/backends/oracle/test/test-oracle.cpp#L228-L248
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models.
Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and
register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
soci-users mailing list
https://lists.sourceforge.net/lists/listinfo/soci-users
Mateusz Loskot
2013-11-07 11:38:45 UTC
Permalink
Post by Rodrigo Madera
Thanks Mateusz.
Though it doesn't solve the issue, it provides pointers for my breakpoints.
Let's dig in...
Rodrigo,

If you spot a bug or have a patche, please open an issue
at http://github.com/soci/soci
Mailing list archive does not work well as a todo list :)

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Rodrigo Madera
2013-11-07 11:46:28 UTC
Permalink
No problem! ;-)

I'll open an issue after I finish checking if I can solve it in a simple
way. I'm afraid I may only have time to hack something up for Oracle, but I
may leave room for other backends, since I only have (immediate) access to
Oracle and SQLite.

Only some debugging will tell. But I'll post those directly at GitHub if I
judge that it may benefit anybody.

Thank you again for squeezing in those couple of replies in your time.

Regards,
Rodrigo
Post by Rodrigo Madera
Post by Rodrigo Madera
Thanks Mateusz.
Though it doesn't solve the issue, it provides pointers for my
breakpoints.
Post by Rodrigo Madera
Let's dig in...
Rodrigo,
If you spot a bug or have a patche, please open an issue
at http://github.com/soci/soci
Mailing list archive does not work well as a todo list :)
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models.
Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and
register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
soci-users mailing list
https://lists.sourceforge.net/lists/listinfo/soci-users
Loading...