Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> altering session from within java ?

altering session from within java ?

From: Chris France <schris_at_free.fr>
Date: Tue, 5 Nov 2002 17:01:35 +0100
Message-ID: <3dc802b6$0$6107$626a54ce@news.free.fr>


Hi all,
i am newby in java dev an i am trying to execute the following command from within java (Jdev 9.0.3.988) on an Oracle 8i database.

String sqlStr = "ALTER SESSION SET NLS_NUMERIC_CHARACTERS='.,'" app.getApplicationModule().getTransaction().executeCommand( sqlStr );

I cannot get to have this statement not return error (usally 'egal missing' or invazlid character' ...) from SQLStmtException.

Any clues ? Received on Tue Nov 05 2002 - 10:01:35 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US