Difference between NLS_LANG and LANG
Hi all,
May i know the difference between NLS_LANG and LANG? Currently they are set as NLS_LANG=american.america.WE8ISO8859P1 and LANG=c as my environment variables. Will it post any problem for the future usage of Oracle? Thanks.
AFAIK, LANG is not related to Oracle. For an explanation of NLS_LANG, see MOS Doc 158577.1 (NLS_LANG Explained (How does Client-Server Character Conversion Work?))
HTH
Srini
Similar Messages
-
What is the difference between ojvm and client versions?
Changing the java vm from client to ojvm result in the following error:
Errormessage:
java.lang.UnsatisfiedLinkError: no UniqueC in java.library.path
Project Settings -> Configurations -> Development -> Runner -> Virtual Machine -> ojvm FAILS
Project Settings -> Configurations -> Development -> Runner -> Virtual Machine -> ojvm RUNS OK.
Project Settings -> Configurations -> Development ->Paths ->Additional Classpath:
C:\jars\xerces.jar;C:\jars\UniqueC.dll;C:\jars\log4j-1.2.8.jar
What is the difference between ojvm and client versions? How can I make ojvm to find UniqueC.dll?
Various version info:
Output from program:
java version:1.4.2_01
java home:C:\programfiler\JAVA\2sdk1.4.2_01\jre
java vm version:9.0.3.738 cdov
Taken from JDeveloper Help About:
Oracle IDE 9.0.3.10.35
UML Modelers Version 9.0.3.9.4
Business Components Version 9.0.3.10.7
java.version 1.3.1_02
java.vm.name OJVM Client VM
java.vm.version 9.0.3.738 oHowever, Adobe offers extra paid services to create PDF or to export PDF to other formats. You are not required to buy them, however.
-
Whats the difference between comparable and comparator?
whats the difference between comparable and comparator?
when must i use comparable, and when must i use comparator?whats the difference between comparable and
comparator?Comparable is from the java.lang package, Comparator from java.util.
when must i use comparable, and when must i use
comparator?Here's a tutorial on both:
http://java.sun.com/docs/books/tutorial/collections/interfaces/order.html -
What's the difference between Main ( ) and Main { } ?
I have been searching around, but still no luck finding the difference between Main ( ) and Main { }. I found that java uses ( ), and javafx uses { }. But in javafx I can still use ( ). Is there different meaning?
Thanks.I am not sure what you mean, but I will take a guess.
Remember just one thing:
1) You can easily instantiate a class to an object in JAVAFX using a JAVA or JAVAFX class, but in JAVA you can only instantiate JAVA objects.
(Not completely true. If you really want a headache then you can instantiate JAVAFX classes in JAVA, but it is not easy.)
Let me give you the following class that contains some variable:
JAVA
class MainJava {
int blaInt;
long blaLong;
String someString;
String anotherString = "(First Bicycle) Look mom no Hands... Look Mom no teeth.";
public MainJava() {
// Before this contructor runs all variables will first be initializes to their default values or whatever you put in them above
// Construct things :)
} // END CONSTRUCTOR for MainJava
} // END CLASS MainJavaJAVAFX
class MainJavaFx {
var blaInt : Integer;
var blaLong : java.lang.Long; // The most usefull number made difficult in JAVAFX :(
var someString : String;
var anotherString = "(First Bicycle) Look mom no Hands... Look Mom no teeth."; // Thats nice. No need for a type :) Heaven ... I'm in Heaven
init {
// Before this contructor runs all variables will first be initializes to their default values or whatever you put in them above
// Construct things :)
} // END CONSTRUCTOR for MainJava
} // END CLASS MainJavaFxThese 2 classes are affectively the same.
One written in Java and one in JAVAFX.
You already seem to know JAVA so I am going to talk in JAVAFX code from now on.
1) To instantiate a JAVA class in JAVAFX is the same as in JAVA.
var myNewObj = new MainJava();2) To instantiate a JAVAFX class in JAVAFX you do the following.
var myNewObj = MainJavaFx{}; // Weeeee .. easy hey :) I likeThink of init{} as the contractor of the class in JAVAFX, because there is no more constructors in JAVAFX like in JAVA.
Also in JAVA you can pass parameters to the class constructor, whereas in JAVAFX that is not possible anymore.
So sad, but what JAVAFX taketh away ... JAVAFX giveth so muchth moreth ... th...
Now witness the power of ... JAVAFX ...
In JAVAFX you can instantiate any "var" variables when you create the object from the class.
Therefore you do not need to pass parameters to the init constructor, most of the time you do not even need init.
So lets say you want to give the class variable other default values in the JAVAFX class then you can do it like this:
var myNewObj = MainJavaFx{
blaLong : java.lang.System.currentTimeMillis()
blaInt : 1234
someString : "Going to the Hospital I see"
anotherString : "Thorry Mom."
}; // Weeeee .. easy hey :) I likeNow isn't that nice.
Keep in mind that the init{} and postinit{} code blocks will only run if they exist after the object is created and therefore the variables will already be changed to the values you have given them when you instantiated the class.
Cool hey :)
You can not do that to a JAVA object, but then again if you need to change the class variables of a JAVA object then just create a constructor that takes paramaters and update the class variables in the constructor. -
Difference between ISimpleTypeModifiable and ISimpleType
Hi,
What is the difference between ISimpleTypeModifiable and ISimpleType? When to use which one ?
I am getting the exception "java.lang.UnsupportedOperationException" on using ISimpleType.
Thanks & Regards,
NeerajHi Neeraj,
When you map the attributes between two controllers and try to access them then IModifiableSimpleType will not work, but ISimpleType will work.
Suppose Radio you have taken as the Simple Type created in Dictionary--> SimpleType
String radio1 = "";
String radio2 = "";
// Attribute Info for Radio
IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute(wdContext.currentContextElement().RADIO);
// Get Reference to ISimpleType for the passed attributeInfo object
ISimpleTypeModifiable taskType1 = attributeInfo.getModifiableSimpleType();
ISimpleValueSet smset1 = taskType1.getSVServices().getModifiableSimpleValueSet();
radio1 = smset1.getText(wdContext.currentContextElement().getRadio());
// ISimpleType taskType2 = attributeInfo.getSimpleType();
// ISimpleValueSet smset2 = taskType2.getSVServices().getValues();
// radio2 = smset2.getText(wdContext.currentContextElement().getRadio());
wdComponentAPI.getMessageManager().reportSuccess("radio1--->"+radio1);
// wdComponentAPI.getMessageManager().reportSuccess("radio2--->"+radio2);
radio1 will give you the value in case of not mapping
radio2 will give you the value in case of mapping
Thanks
Deep
Edited by: Deep Kundra on Dec 15, 2008 10:33 AM -
Difference between b2bmessageid and PROTOCOLMESSAGEID
Hi,
Can somebody explain the difference between b2bmessageid and PROTOCOLMESSAGEID?
When trying to resumit failed outbound message(using resubmission java comand), can I resubmit it based on the protocol message id?
Thanks,
KevinThanks, Kalyan, Ramesh
We're using the Rosettanet and find that B2BmessageID always has the same values as PROTOCOLMESSAGEID.
We can NOT manually (using the java oracle.tip.adapter.b2b.data.ReSubmit b2bmessageid) resubmit some outbound message (3A4 Confirmation) that was submitted some time ago, and will get the AIP-50501 error. For other message type in Rosettanet such as 3B2, 3A7, we can resubmit multiple times successfully.
When resubmission failed, we got the detail error info below. Actually AAA is Seller and BBB is a buyer. Can you please throw some light on it, thanks?
Description: Unable to identify the trading partner agreement from the given input values.
Also verify agreement effectiveToDate
StackTrace:
Error -: AIP-50501: Trading partner agreement not found for the given input values: From party
[NAME-ROLE] "AAA-Buyer", To party [NAME-ROLE] "BBB-Seller", Collaboration
name "3A4"; also verify agreement effectiveToDate
at oracle.tip.adapter.b2b.tpa.RepoDataAccessor.getAgreementName(RepoDataAccessor.ja
va:2056)
at oracle.tip.adapter.b2b.tpa.TPAIdentifier.identifyTPA(TPAIdentifier.java:177)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:496)
at oracle.tip.adapter.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:208
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:984)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:740)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:394)
at java.lang.Thread.run(Thread.java:534)
Thanks,
Kevin Lei -
Difference between Null and null?
What is the difference between null and NULL?
When is each used?
Thanks,veryConfused wrote:
There is a null in java, but no NULL. null means no value. However, when assigning value, the following is different:Although the empty String has no special role. Null means, the referential type is not assigned (doesn't refer) to a specific object. The empty String is just another object though, so seeing it or pointing it out as something special when it actually isn't at all (no more special than new Integer(0) or new Object[0]) just adds to the confusion. -
Difference between GUI_UPLOAD and WS_UPLOAD
Hi,
Please make me clear about the difference between GUI_UPLOAD and WS_UPLOAD. In which cases we need to use these modules...??
Thanks,
SatishI would suggest to always use the GUI_UPLOAD. I say this because this is the function module which is used in the GUI_UPLOAD method of the class CL_GUI_FRONTEND_SERVICES. Really, you should probably use the class/method instead of the function module.
data: filename type string.
filename = p_file.
call method cl_gui_frontend_services=>gui_upload
exporting
filename = filename
filetype = 'ASC'
changing
data_tab = iflatf
exceptions
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
no_authority = 6
unknown_error = 7
bad_data_format = 8
unknown_dp_error = 12
access_denied = 13
others = 17.
Regards,
Rich Heilman -
Difference between char and varchar, also the difference between varchar2
Hi,
Can anyone explain me the difference between char and varchar, and also the difference between varchar and varchar2...Varchar2 is variable width character data type, so if you define column with width 20 and insert only one character to tis column only, one character will be stored in database. Char is not variable width so when you define column with width 20 and insert one character to this column it will be right padded with 19 spaces to desired length, so you will store 20 characters in the dattabase (follow the example 1). Varchar data type from Oracle 9i is automaticlly promoted to varchar2 (follow example 2)
Example 1:
SQL> create table tchar(text1 char(10), text2 varchar2(10))
2 /
Table created.
SQL> insert into tchar values('krystian','krystian')
2 /
1 row created.
SQL> select text1, length(text1), text2, length(text2)
2 from tchar
3 /
TEXT1 LENGTH(TEXT1) TEXT2 LENGTH(TEXT2)
krystian 10 krystian 8
Example 2:
create table tvarchar(text varchar(10))
SQL> select table_name,column_name,data_type
2 from user_tab_columns
3 where table_name = 'TVARCHAR'
4 /
TABLE_NAME COLUMN_NAME DATA_TYPE
TVARCHAR TEXT VARCHAR2
Best Regards
Krystian Zieja / mob -
The difference between Lion and Mountain Lion
Can some one explain to me the difference between Lion and Mtn Lion? I'm currently 10.6.8 Is it beneficiall for me to upgrade?
Mountain Lion is an enhanced version of previous OS X and so that is Mavericks.
About upgrading it all depends on what your needs are and if your hardware supports it.
System requirements for OS X Lion
System requirements for OS X Mountain Lion
OS X Mavericks: System Requirements
Please check also applications compatibility. From Lion onward, you cannot run PPC application. -
The difference between N80 and N80IE ?
What is the difference between M80 and N80ie?
02-Jan-2007
07:45 PM
korngear wrote:
The Nokia N80 Internet Edition is a new version of this handset with the same hardware as the normal N80. It is due for release in Q4 of 2006 and will be available in Patina Bronze or Pearl Black, and has the following additional software included.
Yahoo Go! for Mobile
Flickr
Some Amazon Branded Software
'Download!' App management
Internet Telephone - SIP VOIP Frontend
WLAN Wizard
Gizmo VOIP - Gizmo Project VOIP Frontend.
\\en.wikipedia.org//
@Korngear
Thanks.
Could N80 be upgraded to N80IE? -
The difference between SFP+ and X2
Dear Expert,
I need to know what is the difference between SFP+ and X2! and can I use SFP+ card and module instead of X2?
Thanks,
Mohammad SaeedHi,
They are both used for 10Gig interfaces. The difference is the connector type.
SFP+ is LC and X2 is SC.
You can not put an SFP+ into an X2 slot or X2 optic into a SFP+.
HTH -
Difference between ok_code and sy-ucomm
Hi,
Can any one tell me the difference between ok_code and sy-ucommHi,
Actually OK_CODE and SY-Ucomm are the same. But experts suggest use of OK code for following reason:
In each PAI event that a user triggers by choosing either a pushbutton on the screen or an element in a GUI status, the corresponding function code is placed into the system field SYST-UCOMM or SY-UCOMM and placed in the OK_CODE field (as long as the function code is not empty). Empty function codes are placed in neither the SY-UCOMM field nor the OK_CODE field.
In your ABAP programs, you should work with the OK_CODE field instead of SY-UCOMM. There are two reasons for this: Firstly, the ABAP program has full control over fields declared within it, and secondly, you should never change the value of an ABAP system field. However, you should also always initialize the OK_CODE field in an ABAP program for the following reason:
In the same way that the OK_CODE field in the ABAP program and the system field SY-UCOMM receive the contents of the corresponding screen fields in the PAI event, their contents are also assigned to the OK_CODE screen field and system field SYST-UCOMM in the PBO event. Therefore, you must clear the OK_CODE field in the ABAP program to ensure that the function code of a screen is not already filled in the PBO event with an unwanted value. This is particularly important when the next PAI event can be triggered with an empty function code (for example, using ENTER). Empty function codes do not affect SY-UCOMM or the OK_CODE field, and consequently, the old field contents are transported. -
What is difference between abstraction and encapsulation ?
Hi,
I am trying to figure out the difference between abstraction and encapsulation but confused.
Both are used for data hiding then what is the exact difference ?
Thanks.Tushar-Patel wrote:
I am trying to figure out the difference between abstraction and encapsulation but confused.
Both are used for data hiding then what is the exact difference ?This is the picture I have:
When you encapsulate something you get an inside and an outside. The outside is the abstraction. It describes how the encapsulated entity behaves viewed from the outside. This is also called the type. Hidden inside is the implementation. It holds detail information about how the type's behaviour is accomplished.
It's a very simplified picture but I think it's quite accurate and it works for me. -
What is difference between Iterator and Collection Wrapper?
Hi all,
I dont understand the actual difference between Iterator and Collection Wrapper. I observed both are used for the same purpose. Could any one please let me know when to use Collection Wrapper and when to use Iterator??
Thanks,
Chinnu.L_Kiryl is right.
Collections support global iteration (through collection->get_next( )) and local iteration (through iterator->get_next( )).
Each collection has a focus object. Initially, the first object has the focus.
Any global iteration moves the focus, which is published by the event FOCUS_CHANGED of the collection.
If you want to iterate on the collection without moving the focus (and without triggering timeconsuming follow-up processes) you can use local iteration. To do so, request an iterator object from the collection and use this to iterate.
And one more advantage of using iterator: it takes care of deleted entities. If you use global iteration then when you reach deleted entity it will be an exception. But there is no exception with iterator in the same situation.
Maybe you are looking for
-
Adapter Engine Not Coming up IN X I3.0
HI, We have a issue the adapter engine is not working on port <host>:8200 port. There is no subdirectoy like tech_adapter as given in documentation. HOw to install adapter engine ? as we had run_adapter.bat in XI2.0 what is there in XI3.0 ? Any clue
-
Parsing the URL of all images from Google Images html file
Hello all, I am trying to pull all the image URL's from a html file. I have used URLConnection class to copy the follwing link http://images.google.com/images?q=tiger&gbv=2&svnum=10&hl=en&start=21&sa=N&ndsp=21 into a html file in my local drive. Now
-
Can you make address labels in Pages?
Can you make address labels in Pages?
-
Block corruption in UNDO datafile
Hi, I am getting block corruption problem related to undo datafile on my pre production db. Alert log says: Tue Jun 24 17:59:38 2008 Errors in file /oracle/admin/CBOPROD/bdump/cboprod_pmon_2596886.trc: ORA-01578: ORACLE data block corrupted (file # 2
-
Smart View internal metadata error when creating SmartView reports
Hi all, I have a really strange problem when trying to use HsGetValue -functions in Smart View (in Excel 2010). The thing is that I can create a lot of formulas for a sheet that have links to other sheets. However, in some pont (I don't exactly when