Question

I do not reference the sqlnet.ora file for the look-up and pretty much provide the following TNS URL for the connectivity and I need to squeeze in a SDU setting in the below connection URL I was wondering where it would go and how the new url will look like?

Here is what I am using: jdbc:oracle:thin:@192.168.191.231:1521:naladomain

I now need to squezze in a custom sdu setting in the above TNS string.How do I do that ? :-)

Thanks!

Was it helpful?

Solution

You need to use the long TNS format (as per the tnsnames.ora file). Like this:

jdbc:oracle:thin:@(DESCRIPTION=(SDU=32767)(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.191.231)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=naladomain))

Change the values to meet your needs.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top