![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find 'Day of week' in Linux system | rajinavaneethan | UNIX and Linux Applications | 2 | 07-05-2009 09:07 AM |
| In Wake Of SCO Ruling, Linux Continues To Roll - Information Week Weblog | iBot | UNIX and Linux RSS News | 0 | 08-14-2007 12:10 AM |
| In Wake Of SCO Ruling, Linux Continues To Roll - Information Week Weblog | iBot | UNIX and Linux RSS News | 0 | 08-13-2007 10:20 PM |
| In Wake Of SCO Ruling, Linux Continues To Roll - Information Week Weblog | iBot | UNIX and Linux RSS News | 0 | 08-13-2007 10:10 PM |
| Novell calls for further Linux standardization - IT Week | iBot | UNIX and Linux RSS News | 0 | 08-08-2007 03:40 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi all,
My program is getting date from database (oracle) and am getting that date's day of week also. In windows its giving one number and different in linux ![]() For Example: 30 - Jun - 2009 Am getting 2 in windows and 3 in Linux. Am not understanding whats going wrong.. Am using same JDBC driver in windows and linux. Thanks in advance, Raji. |
|
||||
|
Resolved the issue
![]() The configuration of NLS_TERRITORY in Oracle database is by default AMERICA. When my application is executed from all windows boxes, the JDBC Driver changes it to AUSTRALIA based on the locale. However when running my application on UNIX, where the server OSs are also setup with AMERICA as the locale, the driver fails to change the NLS_TERRITORY setting. Given that the Oracle DB and OS would not be configured with AUSTRALIA as the locale (as AMERICA is the standard followed); the solution is to start the JVM when running the application with a parameter specifying that the locale is AUSTRALIA. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|