Hi,
I'm trying to retrieve the connect string after text "jdbc:oracle:thin:@" from a JDBC URL.
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=myhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=myservice)))
I need to modify my load knowledge module to create a DBLINK correctly. The substring method is returning the value "SRC_JAVA_URL") ?> instead.
create datbase link <$=odiRef.getFormattedName("<%=odiRef.getInfo("SRC_CON_NAME")%>")$>
connect to <%=odiRef.getInfo("SRC_USER_NAME")%>
identified by "<%=odiRef.getInfo("SRC_PASS")%>"
using <%=odiRef.getInfo("SRC_JAVA_URL").substring(19)%>