oraext:query-database tip
Tuesday, September 25, 2012 at 11:42AM After searching Google for a bit a came across this blog post about an issue that many face when using oraext:query-database and getting an internal xpath error. The gist of it is this...when using oraext:query-database, ALIAS YOUR COLUMN...ugh...
example
BAD!!!
oraext:query-database('select something_something from dual',false(),false(),'jdbc/hphc_sbc')
GOOD!!!
oraext:query-database('select something_something as something from dual',false(),false(),'jdbc/hphc_sbc')
Seems its due to the length of the query string...