JDev 9.0.3, BC4J, char column, db 9.2.0.1 issue

I have a query that I run to list points of contact and addresses. I use the BC4J jbo tag to create a view object on the fly. I don't know if this is a JDev issue or the RDBMS issue...the column in question is defined as char(2).
The problem is that I get different results, depending upon whether I'm connected to an 8.1.7.4 db or 9.2.0.1. Both are on Windows platforms. 9.2 is "personal" (i.e. loaded on my laptop), 8.1.7.4 is EE. The test piece of code which reproduces is:
<%
//Build the main query and join the region table
String newquery = "SELECT POC_ID, POC_REGION_ID, POC_LAST_NAME, POC_FIRST_NAME, POC_MID_NAME, " +
"POC_ADDR_LN1, POC_ADDR_LN2, POC_ADDR_LN3, POC_CITY, POC_STATE_CD, POC_ZIP_CD, REGION_ID, REGION_NAME " +
"FROM CS_POINT_OF_CONTACT, REF_FISTS_REGION " +
"WHERE POC_REGION_ID = REGION_ID AND POC_ID is not null AND POC_ACTIVE = 'Y' " +
"ORDER BY POC_LAST_NAME, POC_FIRST_NAME, POC_MID_NAME";
%>
<jbo:CreateViewObject appid="Mypackage1Module" name="SelectionView">
<%= newquery %>
</jbo:CreateViewObject>
<jbo:DataSource id="ds" appid="Mypackage1Module" viewobject="SelectionView" />
<jbo:RowsetIterate datasource="ds" changecurrentrow="false" userange="false" >
<jbo:Row id="aRow" datasource="ds" action="Active"/>
<%
//Check for State
String AddrState = "";
if(aRow.getAttribute("POC_STATE_CD") == null) {
AddrState = "";
} else {
AddrState = "|" + (String) aRow.getAttribute("POC_STATE_CD").toString() + "|";
System.out.println(AddrState);
out.println(AddrState);
out.println("<BR>");
%>
</jbo:RowsetIterate>
When using 8.1.7.4, I get:
|NY|
|OH|
|MA|
When using 9.2.0.1, I get (note extra spaces):
|NY |
|OH |
|MA |
I know the tables are defined the same way, I exported from 8.1.7.4 and imported to 9.2.0.1 and checked the column definitions.
This is causing an issue with my application as the extra spaces do not match up with the data queried elsewhere.
Is this a BC4J issue, DB issue, driver issue?
Regards,
Jeff

OK -- JDev: 9.0.3.1035
I'm not sure how to tell which JDBC driver(s) I'm using, but in Jdev\jdbc\lib
Directory of C:\jdev903\jdbc\lib\*
11/27/2002 4:37 <DIR> .
11/27/2002 4:37 <DIR> ..
10/08/2002 3:40 1,154,398 classes12.jar
10/08/2002 3:40 1,159,789 classes12dms.jar
10/08/2002 3:40 1,000,798 classes111.jar
10/08/2002 3:40 1,394,295 nls_charset11.jar
10/08/2002 3:40 1,394,764 nls_charset12.jar
and in Jdev\jdbc\lib817:
Directory of C:\jdev903\jdbc\lib817\*
11/27/2002 4:36 <DIR> .
11/27/2002 4:36 <DIR> ..
10/08/2002 3:40 1,932,480 classes12.zip
Jeff

Similar Messages

  • Inserting blanks into a NOT NULL CHAR column

    How do you insert a value of blank/spaces into a NOT NULL CHAR column. Oracle 9i interprets the space as a NULL and the insert fails because the column does not allow NULLS. Thanks in advance.

    Hi,
    19:07:13 topgun>create table t1(c1 varchar2(10) not null);
    Table created.
    19:07:33 topgun>insert into t1 values (' ');
    1 row created.
    19:07:42 topgun>select * from t1;
    C1
    19:07:46 topgun>select count(*) from t1;
      COUNT(*)
             1
    19:07:53 topgun>select * from V$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production- Pavan Kumar N

  • ORA-01401 error on char column with oracle oci driver

    Hello,
    We found a potential bug in the kodo.jdbc.sql.OracleDictionary class
    shipped as source with Kodo:
    In newer Kodo versions (at least in 3.3.4), the method
    public void setString (PreparedStatement stmnt, int idx, String
    val,          Column col)
    has the following code block:
    // call setFixedCHAR for fixed width character columns to get padding
    // semantics
    if (col != null && col.getType () == Types.CHAR
    && val != null && val.length () != col.getSize ())
    ((OraclePreparedStatement) inner).setFixedCHAR (idx, val);
    This block seems to be intended for select statements but is called on
    inserts/updates also. The latter causes a known problem with the Oracle
    oci driver when settings CHAR columns as FixedCHAR, which reports an
    ORA-01401 error (inserted value too large for column) when definitely no
    column is too long. This does not happen with the thin driver.
    We reproduced this with 8.1.7 and 9.2.0 drivers.
    For us we solved the problem by subclassing OracleDictionary and removing
    the new code block.
    Regards,
    Rainer Meyer
    ELAXY Financial Software & Solutions GmbH & Co. KG

    Rainer-
    I read at
    re:'ORA-01401 inserted value too large for column' - 9i that:
    "This is fixed in Oracle9i Release 2"
    Can you try that version of the driver? Also, does it fail in the Oracle
    10 OCI driver?
    Rainer Meyer wrote:
    Hello,
    We found a potential bug in the kodo.jdbc.sql.OracleDictionary class
    shipped as source with Kodo:
    In newer Kodo versions (at least in 3.3.4), the method
    public void setString (PreparedStatement stmnt, int idx, String
    val,          Column col)
    has the following code block:
    // call setFixedCHAR for fixed width character columns to get padding
    // semantics
    if (col != null && col.getType () == Types.CHAR
    && val != null && val.length () != col.getSize ())
    ((OraclePreparedStatement) inner).setFixedCHAR (idx, val);
    This block seems to be intended for select statements but is called on
    inserts/updates also. The latter causes a known problem with the Oracle
    oci driver when settings CHAR columns as FixedCHAR, which reports an
    ORA-01401 error (inserted value too large for column) when definitely no
    column is too long. This does not happen with the thin driver.
    We reproduced this with 8.1.7 and 9.2.0 drivers.
    For us we solved the problem by subclassing OracleDictionary and removing
    the new code block.
    Regards,
    Rainer Meyer
    ELAXY Financial Software & Solutions GmbH & Co. KG
    Marc Prud'hommeaux
    SolarMetric Inc.

  • Querying CHAR columns with character length semantics unreliable

    Hi again,
    It appears that there is a bug in the JDBC drivers whereby it is highly unlikely that the values of CHAR columns that use character length semantics can be accurately queried using ResultSet.getString(). Instead, the drivers return the value padded with space (0x#20) characters out to a number of bytes equal to the number of characters multiplied by 4. The number of bytes varies depending on the number and size of any non-ascii characters stored in the column.
    For instance, if I have a CHAR(1) column, a value of 'a' will return 'a ' (4 characters/bytes are returned), a value of '\u00E0' will return '\u00E0 ' (3 characters / 4 bytes), and a value of '\uE000' will return '\uE000 ' (2 characters / 4 bytes).
    I'm currently using version 9.2.0.3 of the standalone drivers (ojdbc.jar) with JDK 1.4.1_04 on Redhat Linux 9, connecting to Oracle 9.2.0.2.0 running on Solaris.
    The following sample code can be used to demonstrate the problem (where the DDL at the top of the file must be executed first):
    import java.sql.*;
    import java.util.*;
    This sample generates another bug in the Oracle JDBC drivers where it is not
    possible to query the values of CHAR columns that use character length semantics
    and are NOT full of non-ascii characters. The inclusion of the VARCHAR2 column
    is just a control.
    CREATE TABLE TMP2
    TMP_ID NUMBER(10) NOT NULL PRIMARY KEY,
    TMP_CHAR CHAR(10 CHAR),
    TMP_VCHAR VARCHAR2(10 CHAR)
    public class ClsCharSelection
    private static String createString(char character, int length)
    char characters[] = new char[length];
    Arrays.fill(characters, character);
    return new String(characters);
    } // private static String createString(char, int)
    private static void insertRow(PreparedStatement ps,
    int key, char character)
    throws SQLException
    ps.setInt(1, key);
    ps.setString(2, createString(character, 10));
    ps.setString(3, createString(character, 10));
    ps.executeUpdate();
    } // private static String insertRow(PreparedStatement, int, char)
    private static void analyseResults(PreparedStatement ps, int key)
    throws SQLException
    ps.setInt(1, key);
    ResultSet results = ps.executeQuery();
    results.next();
    String tmpChar = results.getString(1);
    String tmpVChar = results.getString(2);
    System.out.println(key + ", " + tmpChar.length() + ", '" + tmpChar + "'");
    System.out.println(key + ", " + tmpVChar.length() + ", '" + tmpVChar + "'");
    results.close();
    } // private static void analyseResults(PreparedStatement, int)
    public static void main(String argv[])
    throws Exception
    Driver driver = (Driver)Class.forName(
    "oracle.jdbc.driver.OracleDriver").newInstance();
    DriverManager.registerDriver(driver);
    Connection connection = DriverManager.getConnection(
    argv[0], argv[1], argv[2]);
    PreparedStatement ps = null;
    try
    ps = connection.prepareStatement(
    "DELETE FROM tmp2");
    ps.executeUpdate();
    ps.close();
    ps = connection.prepareStatement(
    "INSERT INTO tmp2 ( tmp_id, tmp_char, tmp_vchar " +
    ") VALUES ( ?, ?, ? )");
    insertRow(ps, 1, 'a');
    insertRow(ps, 2, '\u00E0');
    insertRow(ps, 3, '\uE000');
    ps.close();
    ps = connection.prepareStatement(
    "SELECT tmp_char, tmp_vchar FROM tmp2 WHERE tmp_id = ?");
    analyseResults(ps, 1);
    analyseResults(ps, 2);
    analyseResults(ps, 3);
    ps.close();
    connection.commit();
    catch (SQLException e)
    e.printStackTrace();
    connection.close();
    } // public static void main(String[])
    } // public class ClsColumnInsertion

    FYI, this has been mentioned as early as November last year:
    String with length 1 became 4 when nls_lang_semantics=CHAR
    and was also brought up in Feburary:
    JDBC thin driver pads CHAR col to byte size when NLS_LENGTH_SEMANTICS=CHAR

  • TopLink JPA - trailing spaces on Char column

    Gurus,
    In JDBC you use the following to ignore trailing spaces when querying on Char column:
    OracleConnection conn = (OracleConnection) c;
    conn.setDefaultFixedString(true);
    How to achieve this using TopLink JPA?
    Thanks much,
    Nicky

    Nicky,
    I believe you would need to do this in API. Ideally setting these configurations on the properties of the JDBC connection pool is easier but if you wish to do it with TopLink Essentials I would use a session event listener's postAcquireConnection to customize it.
    In the persistence.xml you will need to configure your persistence unit to use a session customer like:
            <property name="toplink.session.customizer" value = "mypackage.JDBCConnectionConfig"/>Then you will need to implement this customizer and include it on the classpath of your application:
    public class JDBCConnectionConfig implements SessionCustomizer {
        public void customize(Session session) {
            session.getEventManager().addListener(new JDBCConfigEventListener());   
        class JDBCConfigEventListener extends SessionEventAdapter {
            public void postAcquireConnection(SessionEvent event) {
                Connection conn = ((DatabaseAccessor) event.getResult()).getConnection();
                OracleConnection oconn = (OracleConnection) conn;
                oconn.setDefaultFixedString(true);
    Note: I did not see setDefaultFixedString in the most recent version of the Oracle JDBC driver
    I would definitely look into configuring your data source's connection pool with this property enabled before adding this event listener.
    Doug

  • PreparedStatement and CHAR columns

    Hi
    I am having troubles using preparedStatements on tables with columns of type CHAR:
    My table has a column of type CHAR(3). The data in this column is 0,1,2 or three characters long.
    My query contains this column in the WHERE clause in the from "WHERE colName = ?".
    The problem is now, that I have to use a String in the pstmt.setString(1, str) statement that is exactly 3 characters long. Otherwise I don't get any result.
    If I use a 2 char string i get nothing. But with a 'normal' statement or in SQL*Plus it works perfectly fine.
    Of course, I could trim() my column or fill the string up to be always 3 chars, but I think that's not state of the art.
    Any other solutions?
    Thanks in advance.
    Andres
    null

    What you describe is the ANSI behavior of a CHAR column. VARCHAR columns can match on any length (and can be any length up to the maximum or the column constrint limit), but a char column is required to be blank padded. If you must use CHAR then write a function to automatically pad the string for you so that it will match.

  • Single CHAR column

    Should I use CHAR(1) or VARCHAR(1) for a single char column?
    Thanks
    Venkat

    I think it doesnt matter CHAR or VARCHAR2
    I always go for CHAR(1) for mandatory single char column

  • Referencing a char column in another query

    HI
    I have 2 queries. My child query returns char data which needs to be referenced in the main query.
    Is it possible to access this data from my main query.
    I know its possible with numbers using summary cols.
    TIA
    TIM

    You can reference a single value of the child query using the "first/Last" summary functions in a summary column in the master query. The datatype of the column doesn't matter.

  • Jdev 9iRC: deployment of BC4J-UIX components to OC4J !2.0! does not work

    in different threads the problem of deployment of BC4J UIX components to OC4J 1.2.2.x is addressed (see http://forums.oracle.com/forums/message.jsp?id=679060 for example). contrary to the sayings of different members of the jdev-team i face the same problem with OC4J 2.0 (java lang nullpointer exception).
    i'm using jdev9iRC and 9iASWE v2 beta which comes with OC4J 2.0.
    i followed the recommendations of the thread mentioned above, no result. i followed the recommendations of steve muench in thread HELP! Loading Java Classes into Oracle ERROR result is the same error but now already when calling the main.uix. next try was also on recommendation of steve muench somewhere else: i installed the complete jdev 9iRC on my application server and tried to deploy to this "embedded" OC4J. result: uncomplete deployment because of denied access to the files server.xml and http-website-xml:
    Beginning to deploy to Oracle9i Application Server...
    Wrote WAR file to C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.war
    Wrote web EAR file to C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.ear
    Invoking Oracle9iAS admin tool...
    C:\Programme\oracle\jdeveloper\jdk1.3\jre\bin\javaw.exe -jar C:\Programme\oracle\jdeveloper\j2ee\home\admin.jar ormi://bajor.skypages.net admin **** -deploy -file C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.ear -deploymentName F1Administration-F1StammdatenUIX-app
    Auto-unpacking E:\ORACLE\jdev9iRC\j2ee\home\applications\_F1StammdatenUIX.ear... done.
    Auto-unpacking E:\ORACLE\jdev9iRC\j2ee\home\applications\_F1StammdatenUIX\F1StammdatenUIX.war... done.
    java.io.FileNotFoundException: E:\ORACLE\jdev9iRC\j2ee\home\config\server.xml (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at com.evermind.xml.XMLConfig.storeToURL(XMLConfig.java:433)
    at com.evermind.xml.XMLConfig.store(XMLConfig.java:420)
    at com.evermind.server.ServerComponent.store(ServerComponent.java:756)
    at com.evermind.server.ServerComponent.store(ServerComponent.java:728)
    at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplicationInstallation.java:466)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:79)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    Exit status of Oracle9iAS admin tool (-deploy): 0
    C:\Programme\oracle\jdeveloper\jdk1.3\jre\bin\javaw.exe -jar C:\Programme\oracle\jdeveloper\j2ee\home\admin.jar ormi://bajor.skypages.net admin **** -bindWebApp F1Administration-F1StammdatenUIX-app F1StammdatenUIX http-web-site /F1Administration-F1StammdatenUIX-context-root
    Communication error: E:\ORACLE\jdev9iRC\j2ee\home\config\http-web-site.xml (Access is denied)
    Exit status of Oracle9iAS admin tool (-bindWebApp): 1
    ---- Deployment finished. ---- 12.02.2002 12:53:02
    what am i supposed to do? is there a solution?
    please help
    TIA, trevi

    Yes, I can create a new as3 file, but I can't "fill it with
    sensible content". Neither my As3-codes are recognized nor simple
    components are displayed to me in a proper way when testing the
    movieclip.
    Now, I have just reinstalled my CS4 on another computer and
    there it works with AS3. Really strange. Does CS4 need to
    communicate with some internet services while executing a simple
    fla-file or something like that?

  • Sql loader failed on an import a 257 char column

    I was running a sqloader which has one column that is define at 2000 VARCHAR2, but the data getting inserted that column was only 256, which worked - but at 257 or above characters it would fail
    Thx...

    In your control file you need to explicitly specify the length of the column, otherwise sqlloader will assume a max of 256 (even if the column in the database is bigger). To do so, specify CHAR(2000) (not varchar2; sqlloader has different datatypes with different meanings; if you want to know the reason for this have a look in the sqlldr doc concerning internal and external datatypes). e.g:
    LOAD DATA
    INTO TABLE pnls_email
    FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    profile_email char(500)

  • Background ALV download 256 Char columns

    Hi,
    I am using OO ABAP in my ALV.When I run my report in background it is truncating columns while downloading .How can we achieve full download?
    Regards
    Vara

    Hi,
    The printer settings dont allow you to print more than 255 characters in background mode.
    But you can try with these options :
    1).I have created a new page fomat accomodate more than 255 chars
    2. Change the linesie of report to 700 and while assigning fieldcat like this
    IS_LAYOUT-MIN_LINESIZE = 700
    This may be work
    aRs

  • Jdev 9.0.3 BC4J  to 9iAS 9.0.2 R2

    Hi,
    I need to deploy a BC4J/Struts application written with JDeveloper 9.0.3 to Oracle 9iAS R2 (OC4J 9.0.2).
    This give lots of errors, complaining that it cannot find classes and methods not present in the 9.0.2 BC4J version.
    At first I saw that the libs cannot be overwritten by a simple deployment including all 9.0.3 BC4J libs.
    I see two solutions to this problem:
    1) running "bc4j2oc4j" from Jdev 9.0.3 on the 9iAS OC4J instance. Does this work? Are there any downsides?
    2) Downgrading the application to 9.0.2, missing Struts extensions and many other improvements. Is there a list of things to do to perform such a downgrade?
    Are there any other solution to this (I guess) common problem?
    Thanks,
    Alessandro

    BTW I notice on Metalink Note 230677.1 which appears to describe this problem, and a couple of workarounds:
    - Include BC4J libraries from Jdeveloper into the .ear or war file
    - copy BC4J libraries from JDeveleper 9.0.3 to 9iAS 9.0.2.0 without replacing the existing BC4J directory and referenced the new libraries in the OC4J instance where you plan to deploy your applications.
    I've tried these workarounds, but they don't seem to work. Has anyone got this to go?
    Steve West

  • Jdev 10g, ADF- expression based on column value

    Hi,
    I have an ADF table with a column in it that is populated through a data control. The column can be one of five values (1 - 5) which mean different statuses (Approved, Denied, Pending, etc). I was just wondering if anyone could recommend a way to do the translation in the table column.
    I was looking at the expression builder but it didn't seem like it would take more than the #{row.Status==1 ? 'Approved': 'Others'} and I have 5 different statuses that I'd like displayed to the user.
    Thanks

    Hi,
    yes you can nest conditions like here:
    inlineStyle="#{row.Status == '1' and row.ErrStatus == '0' ? 'color:rgb(0,255,0);' : row.Status == '2' and row.ErrStatus == '0' ? 'color:rgb(210,170,0);' : row.ErrStatus == '1' or row.ErrStatus == '5' ? 'color:rgb(0,0,255);' : row.ErrStatus == '3' ? 'color:rgb(255,0,255);' : row.ErrStatus == '4' or row.ErrStatus == '9' ? 'color:rgb(255,0,0);' : row.ErrStatus == '2' ? 'color:rgb(205,0,0);' : ''}
    {code}
    regards,
    Branislav                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Need to Pad char columns in select statements using JDBC

    When issuing:
    select * from tab1 where col1='ABC'
    return o raws, if col1 is of type char(4).
    Need to pad with spaces for RTRIM().
    There is dicussion on Metalink. Is this fixed? An idea. Thanks

    You probably mean:
    PreparedStatement ps = conn.prepareStatement("select * from tab1 where col1=?")
    ps.setString(1,"ABC");
    ps.executeQuery();
    Replace getString() with:
    ((oracle.jdbc.driver.OraclePreparedStatement)ps).setFixedCHAR(1,"ABC");
    This should make the SELECT work.
    null

  • Strange behaviour of JDBC query for CHAR column

    Hi,
    I have a simple table with char type and several records in the table.
    create table char_test(str char(50));
    insert into char_test values ('abc');
    insert into char_test values ('abc ');
    insert into char_test values ('abc ');
    In JDBC, if I have a query like
    PreparedStatement st = conn.prepareStatement("select str from char_test where str = 'abc'");
    ResultSet rs = st.executeQuery();
    All three rows will be returned.
    However, If I use parameter for the PreparedStatment, nothing will be returned if the value of the parameter is passed as "abc".
    PreparedStatement st = conn.prepareStatement("select str from char_test where str = ?");
    st.setString(1, "abc");
    ResultSet rs = st.executeQuery();
    Personally, I think this is a bug of Oracle JDBC driver. Could anybody please give me any explanation?
    Thanks,
    Bill
    PS. I'm using Oracle 10g Release 2 DB and ojdbc14.jar under jdk 1.5.

    Hello Bill,
    Have you solved your problem ?
    I have encountered a similar one and found a strange behavior of JDBC driver for PrepareStatement : in some cases, deep in JDBC driver, the parameter values could'nt be convert and are send as null values to the server.
    Here are partial driver logs, the first for a program which works fine and the second for one which turns on error.
    ============================
    <record>
    <date>2006-09-06T16:27:43</date>
    <millis>1157552863218</millis>
    <sequence>335</sequence>
    <logger>oracle.jdbc.conversion</logger>
    <level>FINE</level>
    <class>oracle.jdbc.driver.DBConversion</class>
    <method>javaCharsToCHARBytes</method>
    <thread>10</thread>
    <message>DBConversion.javaCharsToCHARBytes(chars[]= (26 bytes):
    00 0c 00 65 00 78 00 70 00 73 00 74 00 6f 00 0a 00 73 00 6c
    00 65 00 65 00 70 , charOffset=1, bytes[]= (7 bytes):
    00 00 00 00 00 00 00 , byteOffset=0, cs=178, nchars=6)</message>
    </record>
    <record>
    <date>2006-09-06T16:27:43</date>
    <millis>1157552863218</millis>
    <sequence>336</sequence>
    <logger>oracle.jdbc.conversion</logger>
    <level>FINE</level>
    <class>oracle.jdbc.driver.DBConversion</class>
    <method>javaCharsToCHARBytes</method>
    <thread>10</thread>
    <message>DBConversion.javaCharsToCHARBytes(chars, nchars, bytes[], cs): returned 6</message>
    </record>
    =============================
    javaCharsToCHARBytes gets 6 characters OK
    =============================
    <record>
    <date>2006-09-06T16:12:32</date>
    <millis>1157551952843</millis>
    <sequence>333</sequence>
    <logger>oracle.jdbc.conversion</logger>
    <level>FINE</level>
    <class>oracle.jdbc.driver.DBConversion</class>
    <method>javaCharsToCHARBytes</method>
    <thread>10</thread>
    <message>DBConversion.javaCharsToCHARBytes(chars[]= (40 bytes):
    00 26 00 73 00 74 00 6f 00 72 00 61 00 67 00 65 00 5f 00 53
    00 74 00 6f 00 72 00 65 00 2e 00 71 00 75 00 65 00 72 00 79 , charOffset=1, bytes[]= (20 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 , byteOffset=0, cs=178, nchars=19)</message>
    </record>
    <record>
    <date>2006-09-06T16:12:32</date>
    <millis>1157551952843</millis>
    <sequence>334</sequence>
    <logger>oracle.jdbc.conversion</logger>
    <level>FINE</level>
    <class>oracle.jdbc.driver.DBConversion</class>
    <method>javaCharsToCHARBytes</method>
    <thread>10</thread>
    <message>DBConversion.javaCharsToCHARBytes(chars, nchars, bytes[], cs): returned 0</message>
    </record>
    =============================
    javaCharsToCHARBytes gets 0 characters instead of 19
    But I am unable to discover the differences between the 2 programs in the JDBC driver usage.
    Does this sounds familiar to someone ?
    François

Maybe you are looking for

  • Having a problem with NavigatorContent and Visibility

    I have been working on this for more than a day, so it's time for some help...  I'm not a Flex/Flashbuilder expert, so any help is appreciated... I've got a NavigatorContent object that I want to set the visibility on based on the content of the obje

  • Adobe air and window.close()

    Hi all. I have a simple task to do but I reall don't know how to do this. I created Full screen Adobe Air application which does window.location='http://example.com to external page just in a tag. The problem is that I can't close Air application fro

  • IOS packager throws java.lang.OutOfMemoryError when packaging large projects

    Crosspost from stackoverflow, I figured this forum might have some insights too! I've been porting a Flex 4 codebase to iOS using the adobe packager, but have run into a snag when trying to package our whole codebase. The packager runs for a while an

  • Upgrade to solaris 10u6 x86 fails

    I was able to upgrade from u4 to u5 just fine. Am I missing something? I boot off the cd and go through the initial configuration only to have everything stop at the end of install_begin.

  • Guide procedures (callable objects ) using ABAP API.

    Hi, Is it possible to develop callable objects using ABAP APIs? IF yes how ? Regards Nisha