strongloop / strong-oracle

Deprecated: Node.js Driver for Oracle databases (Use https://github.com/oracle/node-oracledb instead)
Other
45 stars 18 forks source link

Convert node-oracledb connectstring to strong-oracle #58

Closed Gabxi closed 8 years ago

Gabxi commented 8 years ago

Hi,

I couldn't find this in your documentation, but let's say I have the following connection attributes in node-oracledb.

{
    user          : "hr",
    password      : "welcome",
    connectString : "localhost/XE"

}

I noticed that strong-oracle connections don't accept a connectString. How do I convert this to a strong-oracle format. I'm not sure database in the strong-oracle connection stands for.

Thanks

raymondfeng commented 8 years ago

Use host, port, and database properties.

Sent from my iPhone 6 Plus

On Dec 18, 2015, at 12:34 PM, Gabriel Kho notifications@github.com wrote:

Hi,

I couldn't find this in your documentation, but let's say I have the following connection attributes in node-oracledb.

{ user : "hr", password : "welcome", connectString : "localhost/XE" }

I noticed that strong-oracle connections don't accept a connectString. How do I convert this to a strong-oracle format. I'm not sure database in the strong-oracle connection stands for.

Thanks

— Reply to this email directly or view it on GitHub.

Gabxi commented 8 years ago

That's it. Thanks.