The CreatorCon Call for Content is officially open! Get started here.

Service now only support connect oracle by sid, not support by oracle service name

kfck
Tera Contributor

Hi Team

Service now only support connect oracle by sid, not support by oracle service name, could anyone know how to connect oracle with oracle service name, not oracle sid ?

kfck_1-1757689641832.png

 

1 REPLY 1

ChrisBurks
Giga Sage

Hi @kfck , 

Looking at the other fields on the data source table there is another field not displayed called "Connection Url". 

This field is populated with the url  based on the data entered in the other fields; albeit in the SID style connection.

show_xml_data_source.png

 

If that field is added to the display we can see that it is not locked down and can be changed.

connection_url_added_to_display.png

 

You could try changing that to a servcie name style connection and saving. I haven't tested as I don't have an Oracle database to connect to. But I have seen this technique used on a different database. 

convert_to_service_name_connection.png Note the slight differences in structure where slashes are added or replaces colons

 

EDIT:

 

If it works, consider modifying or cloning the Business Rule that sets the Connection URL field, "Build Connection URL". 

ChrisBurks_0-1757704936379.png

 

It points to a Script Include that builds the url. 

ChrisBurks_2-1757705093228.png

 

Script include

ChrisBurks_3-1757705174078.png