Monday 8 May 2017

How to define the path of TNS?

I'm connecting to oracle with a configuration file, the configuration file has this json

dbConfig: {
        user: 'aaaaa',
        passWord: 'bar',
        dataSource: "foo",
        connectionLifetime: 600,
        maxPoolSize: 10,
}

Now, the data source was my alias and i'm able to connect with oracle db correctly, but now i have multiple TNS files, so i want to define the TNS path with datasource, because it takes the default tns. what if my TNS was in D:\ what should i do ?



via Habooltak Ana

No comments:

Post a Comment