Can't persist accents; related to oracle charset

I'm facing a problem related to the charset of a database.
When I insert a value in a table that has accents, the database persists the information, but without accents, and for some cases it persist a '?' instead some characters, like 'ã'.
Following a single test:
CREATE TABLE ACCENT_TEST (
     TEST VARCHAR(10)
INSERT INTO ACCENT_TEST (TEST) VALUES ('áéíóúçãõ');
SELECT * FROM ACCENT_TEST;
The select returns: 'aeiouc??'
If I execute that: SELECT ASCIISTR('áéíóúçãõ') FROM DUAL;
It returns: 'aeiouc??'
I think that is something related to the oracle charset.
Following below nls_database_parameters (select * from nls_database_parameters;)
NLS_LANGUAGE     AMERICAN
NLS_TERRITORY     AMERICA
NLS_CURRENCY     $
NLS_ISO_CURRENCY     AMERICA
NLS_NUMERIC_CHARACTERS     .,
NLS_CHARACTERSET     US7ASCII
NLS_CALENDAR     GREGORIAN
NLS_DATE_FORMAT     DD-MON-RR
NLS_DATE_LANGUAGE     AMERICAN
NLS_SORT     BINARY
NLS_TIME_FORMAT     HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY     $
NLS_COMP     BINARY
NLS_LENGTH_SEMANTICS     BYTE
NLS_NCHAR_CONV_EXCP     FALSE
NLS_NCHAR_CHARACTERSET     UTF8
NLS_RDBMS_VERSION     10.2.0.4.0
Can someone help me?

Hello,
1. You are selecting the data to check if the accents are "persisted". That is not the correct way. use the dump() function to check the correct codes have been stored. So firstly figure out what the correct codes are for your required strings and check that with the dump() function
2. The value you see on your screen as a result of the select depends on your client NLS_LANG as well as the fonts installed on your client. E.g if the data is stored in a database with charset = A and your client environment is NLS_LANG = B, then SQL*Net converts the data in transit from A --> B. Then it is upto your client or browser to render the characters properly with the proper fonts
Thanks

Similar Messages

  • Can't Persist Child of @OneToMany

    Have parent Entity that can be persisted just fine.
    However, when I attach children to it that have been declared as OneToMany I get an exception. I've never had a problem with this issue before, have plenty of related tables that work just fine.
    I can query what's there just fine so I know the relationship works.
    If it matters, all this is being done with remote static bean facades.
    Help would be appreciated.
    snippet:
    @Entity
    @SequenceGenerator(name = "alm_sequence", sequenceName = "alm_seq")
    @Table( name = "ALM", schema = "MCMPGE", uniqueConstraints = {})
    public class Alm implements java.io.Serializable {
    private static final long serialVersionUID = 1L;
         public Long almPk;
         public Set<AlmRecord> almRecords = new HashSet<AlmRecord>( 0);
    @OneToMany( cascade = { CascadeType.ALL}, fetch = FetchType.LAZY, mappedBy = "alm")
         public Set<AlmRecord> getAlmRecords() {
              return this.almRecords;
         public void setAlmRecords( Set<AlmRecord> almRecords) {
              this.almRecords = almRecords;
    @Entity
    @SequenceGenerator(name = "alm_record_sequence", sequenceName = "alm_record_seq")
    @Table( name = "ALM_RECORD", schema = "MCMPGE", uniqueConstraints = {})
    public class AlmRecord implements java.io.Serializable {
         private static final long serialVersionUID = 1L;
         public Long almRecordPk;
         public Alm alm;
         @ManyToOne( cascade = {}, fetch = FetchType.LAZY)
         @JoinColumn( name = "ALM_FK", unique = false, nullable = true, insertable = true, updatable = true)
         public Alm getAlm() {
              return this.alm;
         public void setAlm( Alm alm) {
              this.alm = alm;
    Exception:
    May 15, 2008 2:04:41 PM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    javax.ejb.EJBException: Exception [TOPLINK-99] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.DescriptorException
    Exception Description: The method [_toplink_getalm_vh] on the object [com.navsys.dal.AlmRecord] triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.NullPointerException
    Mapping: oracle.toplink.essentials.mappings.OneToOneMapping[alm]
    Descriptor: RelationalDescriptor(com.navsys.dal.AlmRecord --> [DatabaseTable(MCMPGE.ALM_RECORD)]); nested exception is:
         Exception [TOPLINK-99] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.DescriptorException
    Exception Description: The method [_toplink_getalm_vh] on the object [com.navsys.dal.AlmRecord] triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.NullPointerException
    Mapping: oracle.toplink.essentials.mappings.OneToOneMapping[alm]
    Descriptor: RelationalDescriptor(com.navsys.dal.AlmRecord --> [DatabaseTable(MCMPGE.ALM_RECORD)]); nested exception is: oracle.oc4j.rmi.OracleRemoteException: Exception [TOPLINK-99] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.DescriptorException
    Exception Description: The method [_toplink_getalm_vh] on the object [com.navsys.dal.AlmRecord] triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.NullPointerException
    Mapping: oracle.toplink.essentials.mappings.OneToOneMapping[alm]
    Descriptor: RelationalDescriptor(com.navsys.dal.AlmRecord --> [DatabaseTable(MCMPGE.ALM_RECORD)]); nested exception is:
         Exception [TOPLINK-99] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.DescriptorException
    Exception Description: The method [_toplink_getalm_vh] on the object [com.navsys.dal.AlmRecord] triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.NullPointerException
    oracle.oc4j.rmi.OracleRemoteException: Exception [TOPLINK-99] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.DescriptorException
    Exception Description: The method [_toplink_getalm_vh] on the object [com.navsys.dal.AlmRecord] triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.NullPointerException
    Mapping: oracle.toplink.essentials.mappings.OneToOneMapping[alm]
    Descriptor: RelationalDescriptor(com.navsys.dal.AlmRecord --> [DatabaseTable(MCMPGE.ALM_RECORD)])
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:75)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at AlmFacade_RemoteProxy_5jopb7j.update(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    There was a bug for a particular case when the weaved valueholder was not present, and I don't recall exactly what it was, but you might start by upgrading to the latest essentials build to make sure you are not hitting that one case. If you are still encountering the same problem then we can find out more about what you are doing differently that causes this to happen, and if it has to do with the serialization of the entity.

  • Hw can i get arabic support in oracleAS using jstl: showing '?????' symbols

    Hello All,
    I am using OracleAS for portal deployment and portlets UI constructed by using jstl.
    i have used spring portlet jstl for the jsp pages.
    when i am trying to change the language, it is showing '?????' symbols.
    I have used correct unicode. i tested in pluto portal server. when i deployed in oracleAS,
    for english not a problem. for arabic it is showing as '????'.
    i have used this code to get arabic in pluto. same code i used. i am getting error.
    <c:set target="${pageContext.response}" property="characterEncoding" value="UTF-8" />
    <fmt:setLocale value="ar" />
    <fmt:requestEncoding value="UTF-8" />
    i know it is not setting charector encoding.
    i tried some other too like:
    <head>
    <META http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    </head>
    and
    <%@ page pageEncoding="UTF-8" %>
    No improvement. please help me out of this.
    how can i get arabic support in oracle AS by using jstl?
    Thanks,
    Arun

    Only Apple Account Security could help at this point. You can try calling Apple Support in Canada - you'll have to find one of the several ways, such as Skype, to call an 800 number from outside of the relevant country - and ask for Account Security and see if they can help. Or you can find a friend who speaks Chinese and ask them to help you talk to Apple Support in China. There are really no other options that I know of.
    Note, by the way, that these are user-to-user support forums. You aren't speaking with Apple when you post here.
    Regards.

  • Can latest Essbase version connect to Oracle data sources  directly?

    Hi
    As you know in Essbase 9.3.1, you only can connect to any relational database via an ODBC data source and Essabse cannot talk to relational databases directly. Can Essbase 11.1.1 can talk to Oracle database directly or via OCI?
    Chandra

    Essbase Studio in 11X add jdbc connections, but there is still no "direct" connection. I'm not sure if I would want one. It would imply that Essbase is now tied directly to Oracle databases and we could lose the flexability to connect to other sources.

  • Fast fromula related to oracle payroll are not called from Formula result window

    Hi,
    Few of the fast fromula related to oracle payroll are not called from Formula result window , please let me know how these fast formulas are called.
    Example : PAY_GB_EDI_MOVDED6_FOOTER
    Thanks,
    Subbu.

    Hi Subbu,
    Some reports are handled by the PYUGEN engine as Magnetic reports.
    These are old fashion reports to generate Magnetic files, like BACS EDI files etc..
    select * from ff_formulas_f
    where formula_name like 'PAY_GB_EDI_MOVDED6%';
    If you see the above, there are 3 formulas defined for generating this report - Header, Body & Footer.
    All are called in a sequence by the PYUGEN process based on what you seed in pay_magnetic_blocks.
    All the logic is within these Fast formulas.
    But as they're seeded there's nothing much you can do.
    Cheers,
    Vignesh

  • Can I use ODL / OQL on Oracle ?

    Hi,
    Recently I read a database book, one chapter is about ODL (Object Definition Language) and OQL (Object Query Language). I still dont really get it :
    1) Can I use ODL / OQL on Oracle ?
    Or it can only be implemented on 'pure ODBMS' only ? (while Oracle is not ODBMS, is it?)
    2) If the answer is Yes, does it mean I can access Oracle, e.g : from Java, without any O/R Mapping or JDBC layer ?
    Thank you for any help,
    Krist

    1) No, and Oracle is not a ODBMS (in that you are correct). It is an Object-Relational database.
    2) No. You need something like TopLink to do the mapping.
    Oracle Lite (on the other hand) does have these features.

  • Doctorate Thesis related to Oracle Administration

    Hi all OTN forum users, Professionals, Experts, Gurus!
    I want to apply to doctorate degree and was asked to find a subject (doctorate thesis) to work on it
    Now I want to ask you to advice me, especially need help from Experts and Gurus. Which doctorate thesis you advice me to take and work on it? Of course it MUST be related to Oracle Administration
    Any suggestion??
    Thanks ...

    Kamran hi,
    I may advise you to check Very Large Database Concepts, Data Warehousing and Data Mining theories, you may be inspired by Oracle technology or use them as a part of an implementation parallel to your thesis but in my opinion a Doctorate Thesis must be original so can not be based on Oracle technology.
    [http://otn.oracle.com/bi|http://otn.oracle.com/bi]
    [http://oracledmt.blogspot.com/|http://oracledmt.blogspot.com/]

  • Viewing table relations inside Oracle SQL Developer

    Hi,
    I'm a PL/SQL beginner and I need to control the table relations for an Oracle database. I'm using the Oracle SQL developer tool.
    Now, how can I see the table relation inside Oracle SQL developer tool?
    Thanks

    itshak wrote:
    When working with tables based on user defined types, the FK relations between the tables are not displayed at the data modeler (and also at the worksheet query builder)
    I don't think that applies here 1041141 mentioned he is a beginner and did not mention any usage of object types.
    If you want to report an issue or possible bug, then please open an extra thread for that. In such a case it helps tremendously if you provide a working test case as well.

  • Can Spring persist SDO_GEOMETRY

    There is very little out there that I can find about Oracle Spacial and Spring. We use Spring to persist data to our database. Will I be able to persist to tables that are of type SDO_GEOMETRY?
    If there is any resource you know of that gives any details on this subject it would be MOST appreciated.
    Thx in advance

    Dean,
    The ST_ functions are described at:
    http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?id=2404&pid=2403&topicname=An_overview_of_SQL_functions
    http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=An_overview_of_working_with_a_geodatabase_using_SQL
    The SDO_ functions can be found in Spatial Users Guide at:
    http://www.oracle.com/technology/products/spatial/spatial_10g_doc_index.html
    Locator features can e found at:
    http://download.oracle.com/docs/html/B10826_01/sdo_locator.htm
    Hope this helps.
    Ivan

  • Relation between Oracle ADF & WebCenter ?

    Hi All,
    can any one please explain me Relation between Oracle ADF & WebCenter? how its depends with each other?
    regards
    Shankar

    WebCenter Framework, which is the heart of both Spaces and WebCenter custom-built applications, is built on top of ADF.
    Next time better ask in the WebCenter Portal forum.

  • Can we use Dynamic SQL in Oracle Reports ?

    Hi ,
    Can we use Dynamic SQL in Oracle Reports ?
    If yes please give some examples .
    Thanx
    srini

    I believe the built-in package SRW.Do_Sql is what you are looking for
    Example from the document:
    /* Suppose you want to create a "table of contents" by getting the
    ** first character of a columns value, and page number on which its
    ** field fires to print. Assume that you want to put the "table of
    contents"
    ** into a table named SHIP. You could write the following construct:
    DECLARE
    PAGE_NO NUMBER;
    PAGE_FOR INDEX NUMBER;
    SORT_CHAR CHAR(1);
    CMD_LINE CHAR(200);
    BEGIN
    SORT_CHAR := :SORT_NAME ;
    IF :CALLED = Y THEN
         SRW.GET_PAGE_NUM(PAGE_FOR_INDEX);
         SRW.USER_EXIT(RWECOP PAGE_FOR_INDEX
         P_START_PAGENO);
         SRW.MESSAGE(2,TO_CHAR(:P_START_PAGENO));
    END IF;
    SRW.GET_PAGE_NUM(PAGE_NO);
    CMD_LINE := INSERT INTO SHIP VALUES
                          (||SORT_CHAR||,||TO_CHAR(PAGE_NO)||);
    SRW.MESSAGE(2,CMD_LINE);
    SRW.DO_SQL(CMD_LINE);
    COMMIT;
    EXCEPTION
      WHEN DUP_VAL_ON_INDEX THEN
            NULL;
      WHEN SRW.DO_SQL_FAILURE THEN
            SRW.MESSAGE(1,FAILED TO INSERT ROW INTO SHIP TABLE);
      WHEN OTHERS THEN
           COMMIT;
    END;

  • How Can I install Web Service on Oracle 11g r1?

    How Can I install Web Service on Oracle 11g r1?

    Hi,
    Is necesary install XDB?
    Because i have executed;
    select * from dba_registry
    where COMP_ID = 'XDB'
    Oracle XML Database
    Regards

  • Can't start the runInstaller for Oracle 8.1.7 on Red Hat 7.2 Linux

    I can't start the runInstaller for Oracle 8.1.7 under Red Hat Linux 7.2 (enigma).
    Please Help Me!

    I have the same problem as you had,but my one is that after typing ./runInstaller it will terminate, when you run ps -ef | grep oracle , there are still some backend process running over there.
    Does any one has experience to install Oracle8i on Linux? Pleae give us help.
    Jeff

  • Where can I find the relation between company code and plant?

    where can I find the relation between company code and plant?
    I need to the list of plants under a company code.
    Which table?

    yes,wayne weng   .What you said is right.
    Thank you very much!
    My MSN:[email protected]

  • Can we create new tablespace in Oracle Database 10g Express Edition?

    Hi,
    Can we create new tablespace in Oracle Database 10g Express Edition instead of using the default "users" tablespace provided?
    Please advise.
    Thank you.

    Correct. The sum of all user tablespaces is not allowed to exceed 4 GIG.
    You could try shrinking your tablespaces. Theres a script called maxshrink on http://asktom.oracle.com which is useful for this.
    You could compress your tables.
    If you are storing lobs, you could consider storing them as bfiles.
    Or upgrade to Oracle Standard Edition 1. Its not that expensive.

Maybe you are looking for

  • My Ipod doesn't sync songs anymore, can anybody help me out with this?

    Hi all. Yesterday i did a Recovery on my computer and that wiped everything clean off of my computer, including the Itune program that i downloaded. And now, every since i downloaded Itunes again, it won't sync songs into my Ipod anymore. When i woul

  • Child report displays no rows

    I have the drill-down type of report using portal EA 3.0.6.3.3 . for this i have a link from main report to child report (this is a link item created on report), and it work's fine as long as i use this with portal30 user. if i login as some other us

  • Change default paragraph style!!

    How do I change the default paragraph style? I can't stand double spaces but that's what I am stuck with I want freeform, not body Application is Pages 2.0.2 Message was edited by: Spprrw

  • Open an attachment (non-PDF) within a PDF document (via button/link/other)

    Good morning, I have a PDF file where I attached an excel file and I'd like to use a mechanism (button/link/other) in the PDF to open the attachment. I read the the link technique only works if the attachment is a PDF. Is that true ? Is there anythin

  • Exporting HDV to SD for iDVD

    Have been using the "Send to Compressor" in FCP 7 for HDV export to Blu Ray. But have a wedding project shot in 1080i that I want to use one of the iDVD menus. Project is 2 hours and 18 minutes so exporting to two discs isn't an issue. Disc 1 is one