infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
Add Read_ONLY option to DB connection string
RICK L. PRITCHETT
I am needing to specify to connect to our ready-only DB node. Has anyone else had to do this and can you share the how-to if so?
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Arie Klop
If you mean the sql server (secondary) readonly node, you can use 'ApplicationIntent=ReadOnly' in your db connection.
Like so:
jdbc:sqlserver://SQLservername:1433;DatabaseName=DB;ApplicationIntent=ReadOnly;
I only used this in a Java UPOC, but it should work in your regular JDBC thread as well.
System
Originally posted by Arie Klop
because wordpress won't show the full url, here its pasted broken up by the semicolon:
jdbc:sqlserver://SQLservername:1433;
DatabaseName=DB;
ApplicationIntent=ReadOnly;
This should be one single string without line breaks when you fill it in in Cloverleaf
RICK L. PRITCHETT
So in the URL format for the Database URL under the "Edit Database Connection"?
jdbc:sqlserver://<server>:<port1433>;DatabaseName=<database>;???????