Windows Oracle Data Access Components (MOSC)

MOSC Banner

Set OracleGlobalization for DateLanguage with Managed driver

Oracle.ManageddataAccess 21.13.0 


How could I configure DateLanguage for OracleDate object?

I couldn't use SetThreadInfo() and GetClientInfo() methods of OracleGlobalization class.

If I use session methods (GetSessionInfo and SetSessionInfo) I couldn't get dates in Spanish format (DD/MM/YYYY). When I query to database and get OracleDate object with the date, always is in English format (MM/DD/YYYY) even though I had configured other format with Globalization session methods.

How could I do then?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center