Migrate/upgrade to support unicode XML
environment:
DB: 9.2.0.4, 9.2.0.5
XMLTYPE on CLOB
we have a new requirement to support full unicode in XML and data. The Oracle9i Database Globalization Support Guide , example Example 5-4 Unicode Solution with Unicode Datatypes hits us perfectly, and it talks about putting data into NVARCHAR2 and NCLOB.
1. Is it possible to set up XMLTYPE to use NCLOB instead of CLOB (for the 9.2.0.5 platform)?
2. It looks like (in reading past forum threads) that there still are some issues in unicode with XMLtype. Do you have any recommendations?
(using shredded types in 9.2.0.n is out because of issues with support for w3c timezone specs for datetime ....)
thanks in advance,
Could you elaborate on this response? I am having trouble inserting an xml document into an xmltype database, and I'm using the AL32UTF8 character set. I receive:
ORA-19202: Error occurred in XML processing
LPX-00217: invalid character 169 (\u00A9)
Error at line 2
The input file has unicode encoded data (©). Here is the insert code:
Create OR Replace Function getClobDocument(
filename in varchar2,
charset in varchar2 default NULL)
return CLOB deterministic
is
file bfile := bfilename('JLEONXDB',filename);
charContent CLOB := ' ';
targetFile bfile;
lang_ctx number := DBMS_LOB.default_lang_ctx;
charset_id number := 0;
src_offset number := 1 ;
dst_offset number := 1 ;
warning number;
begin
if charset is not null then
charset_id := NLS_CHARSET_ID(charset);
end if;
targetFile := file;
DBMS_LOB.fileopen(targetFile, DBMS_LOB.file_readonly);
DBMS_LOB.LOADCLOBFROMFILE(charContent, targetFile,
DBMS_LOB.getLength(targetFile), src_offset, dst_offset, charset_id, lang_ctx,warning);
DBMS_LOB.fileclose(targetFile);
return charContent;
end;
INSERT INTO hdot VALUES(XMLType(getCLOBDocument('browningCUIM.xml','AL32UTF8')));
Similar Messages
-
Migration and SAP Support for BW 3.1
Hi,
I have couple of queries regarding Migration and SAP Support.
What is the required patch level that need to be mantained in BW 3.1 for a direct upgrade to BI 7.
I would like to know whether SAP still supports BW 3.1. I searched in SAP Service marketplace, but didn't get much information regarding this.
Your inputs are highly appreciated.
Regards,
HariHello,
BW Upgrade from 3.x to 7.0
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e62b9990-0201-0010-42a7-ddcf5c93cafd
Hope it will help you.
Regards, -
How to migrate from ascii to unicode (MaxDB 7.5)? loadercli: ERR -25347
Hi,
I use MaxDB 7.5.00.26. (Ok, I know that I should switch to 7.6, however, it is not possilble for some customer restriction for now, but should be possible quite soon).
We'd like to migrate a db from ascii to unicode. Based on the infos in the thread "Error at copying database using dumps via loadercli: error -25364" I tried the following:
Export sourcedb
1. Export catalog and data
C:\> loadercli -d db_asc -u dba,dba
loadercli> export db catalog outstream file 'C:\tmp1\20080702a_dbAsc.catalog' ddl
OK
loadercli> export db data outstream file 'C:\tmp1\20080702b_dbAsc.data' pages
OK
loadercli> exit
Import targetdb
1. Create a new empty DB with '_UNICODE=yes'
2. Set 'columncompression' to 'no'
C:\> dbmcli -d db_uni -u dba,dba param_directput columncompression no
ERR
-24979,ERR_XPNOTFOUND: parameter not found
Couldn't find this parameter e.g. in dbmgui (parameters general, extended and support)
3. Import catalog and data
C:\> loadercli -d db_uni -u dba,dba
loadercli> import db catalog instream file 'C:\tmp1\20080702a_dbAsc.catalog' ddl
OK
loadercli> import db data instream file 'C:\tmp1\20080702b_dbAsc.data' pages
ERR -25347
Encoding type of source and target database do not match: source = ASCII, target
= UNICODE.
loadercli> exit
What is wrong? Is a migration from ascii to unicode to be done somehow else?
Can I migrate a db from 7.5.00.26 to 7.6.03.15 in the same way or should it be done in another way.
It would be greate if you point me to a post etc. where these two migrations are explained in detail.
Thanks in advance - kind regards
MichaelHi,
I can neither find "USEUNICODECOLUMNCOMPRESSION" nor "COLUMNCOMPRESSION". Could it be that there do exist from MaxDB version 7.6 on and not in 7.5?
Kind regards,
Michael
The complete parameter list (created by "dbmcli -d db_uni -u dbm,dbm param_directgetall > maxdb_params.txt") is:
OK
KERNELVERSION KERNEL 7.5.0 BUILD 026-123-094-430
INSTANCE_TYPE OLTP
MCOD NO
RESTART_SHUTDOWN MANUAL
_SERVERDB_FOR_SAP YES
_UNICODE YES
DEFAULT_CODE ASCII
DATE_TIME_FORMAT INTERNAL
CONTROLUSERID DBM
CONTROLPASSWORD
MAXLOGVOLUMES 2
MAXDATAVOLUMES 11
LOG_VOLUME_NAME_001 LOG_001
LOG_VOLUME_TYPE_001 F
LOG_VOLUME_SIZE_001 131072
DATA_VOLUME_NAME_0001 DAT_0001
DATA_VOLUME_TYPE_0001 F
DATA_VOLUME_SIZE_0001 262144
DATA_VOLUME_MODE_0001 NORMAL
DATA_VOLUME_GROUPS 1
LOG_BACKUP_TO_PIPE NO
MAXBACKUPDEVS 2
BACKUP_BLOCK_CNT 8
LOG_MIRRORED NO
MAXVOLUMES 14
_MULT_IO_BLOCK_CNT 4
_DELAY_LOGWRITER 0
LOG_IO_QUEUE 50
_RESTART_TIME 600
MAXCPU 1
MAXUSERTASKS 50
_TRANS_RGNS 8
_TAB_RGNS 8
_OMS_REGIONS 0
_OMS_RGNS 25
OMS_HEAP_LIMIT 0
OMS_HEAP_COUNT 1
OMS_HEAP_BLOCKSIZE 10000
OMS_HEAP_THRESHOLD 100
OMS_VERS_THRESHOLD 2097152
HEAP_CHECK_LEVEL 0
_ROW_RGNS 8
_MIN_SERVER_DESC 16
MAXSERVERTASKS 21
_MAXTRANS 292
MAXLOCKS 2920
_LOCK_SUPPLY_BLOCK 100
DEADLOCK_DETECTION 4
SESSION_TIMEOUT 900
OMS_STREAM_TIMEOUT 30
REQUEST_TIMEOUT 5000
_USE_ASYNC_IO YES
_IOPROCS_PER_DEV 1
_IOPROCS_FOR_PRIO 1
_USE_IOPROCS_ONLY NO
_IOPROCS_SWITCH 2
LRU_FOR_SCAN NO
_PAGE_SIZE 8192
_PACKET_SIZE 36864
_MINREPLY_SIZE 4096
_MBLOCK_DATA_SIZE 32768
_MBLOCK_QUAL_SIZE 16384
_MBLOCK_STACK_SIZE 16384
_MBLOCK_STRAT_SIZE 8192
_WORKSTACK_SIZE 8192
_WORKDATA_SIZE 8192
_CAT_CACHE_MINSIZE 262144
CAT_CACHE_SUPPLY 3264
INIT_ALLOCATORSIZE 221184
ALLOW_MULTIPLE_SERVERTASK_UKTS NO
_TASKCLUSTER_01 tw;al;ut;2000*sv,100*bup;10*ev,10*gc;
_TASKCLUSTER_02 ti,100*dw;30000*us;
_TASKCLUSTER_03 compress
_MP_RGN_QUEUE YES
_MP_RGN_DIRTY_READ NO
_MP_RGN_BUSY_WAIT NO
_MP_DISP_LOOPS 1
_MP_DISP_PRIO NO
XP_MP_RGN_LOOP 0
MP_RGN_LOOP 0
_MP_RGN_PRIO NO
MAXRGN_REQUEST 300
_PRIO_BASE_U2U 100
_PRIO_BASE_IOC 80
_PRIO_BASE_RAV 80
_PRIO_BASE_REX 40
_PRIO_BASE_COM 10
_PRIO_FACTOR 80
_DELAY_COMMIT NO
_SVP_1_CONV_FLUSH NO
_MAXGARBAGE_COLL 0
_MAXTASK_STACK 1024
MAX_SERVERTASK_STACK 100
MAX_SPECIALTASK_STACK 100
_DW_IO_AREA_SIZE 50
_DW_IO_AREA_FLUSH 50
FBM_VOLUME_COMPRESSION 50
FBM_VOLUME_BALANCE 10
_FBM_LOW_IO_RATE 10
CACHE_SIZE 10000
_DW_LRU_TAIL_FLUSH 25
XP_DATA_CACHE_RGNS 0
_DATA_CACHE_RGNS 8
XP_CONVERTER_REGIONS 0
CONVERTER_REGIONS 8
XP_MAXPAGER 0
MAXPAGER 11
SEQUENCE_CACHE 1
_IDXFILE_LIST_SIZE 2048
_SERVER_DESC_CACHE 74
_SERVER_CMD_CACHE 22
VOLUMENO_BIT_COUNT 8
OPTIM_MAX_MERGE 500
OPTIM_INV_ONLY YES
OPTIM_CACHE NO
OPTIM_JOIN_FETCH 0
JOIN_SEARCH_LEVEL 0
JOIN_MAXTAB_LEVEL4 16
JOIN_MAXTAB_LEVEL9 5
_READAHEAD_BLOBS 25
RUNDIRECTORY E:\_mp\u_v_dbs\EVERW_T3
_KERNELDIAGFILE knldiag
KERNELDIAGSIZE 800
_EVENTFILE knldiag.evt
_EVENTSIZE 0
_MAXEVENTTASKS 1
_MAXEVENTS 100
_KERNELTRACEFILE knltrace
TRACE_PAGES_TI 2
TRACE_PAGES_GC 0
TRACE_PAGES_LW 5
TRACE_PAGES_PG 3
TRACE_PAGES_US 10
TRACE_PAGES_UT 5
TRACE_PAGES_SV 5
TRACE_PAGES_EV 2
TRACE_PAGES_BUP 0
KERNELTRACESIZE 653
EXTERNAL_DUMP_REQUEST NO
_AK_DUMP_ALLOWED YES
_KERNELDUMPFILE knldump
_RTEDUMPFILE rtedump
_UTILITY_PROTFILE dbm.utl
UTILITY_PROTSIZE 100
_BACKUP_HISTFILE dbm.knl
_BACKUP_MED_DEF dbm.mdf
_MAX_MESSAGE_FILES 0
_EVENT_ALIVE_CYCLE 0
_SHAREDDYNDATA 10280
_SHAREDDYNPOOL 3658
USE_MEM_ENHANCE NO
MEM_ENHANCE_LIMIT 0
__PARAM_CHANGED___ 0
__PARAM_VERIFIED__ 2008-07-02 21:10:19
DIAG_HISTORY_NUM 2
DIAG_HISTORY_PATH E:\_mp\u_v_dbs\EVERW_T3\DIAGHISTORY
_DIAG_SEM 1
SHOW_MAX_STACK_USE NO
LOG_SEGMENT_SIZE 43690
SUPPRESS_CORE YES
FORMATTING_MODE PARALLEL
FORMAT_DATAVOLUME YES
HIRES_TIMER_TYPE CPU
LOAD_BALANCING_CHK 0
LOAD_BALANCING_DIF 10
LOAD_BALANCING_EQ 5
HS_STORAGE_DLL libhsscopy
HS_SYNC_INTERVAL 50
USE_OPEN_DIRECT NO
SYMBOL_DEMANGLING NO
EXPAND_COM_TRACE NO
OPTIMIZE_OPERATOR_JOIN_COSTFUNC YES
OPTIMIZE_JOIN_PARALLEL_SERVERS 0
OPTIMIZE_JOIN_OPERATOR_SORT YES
OPTIMIZE_JOIN_OUTER YES
JOIN_OPERATOR_IMPLEMENTATION YES
JOIN_TABLEBUFFER 128
OPTIMIZE_FETCH_REVERSE YES
SET_VOLUME_LOCK YES
SHAREDSQL NO
SHAREDSQL_EXPECTEDSTATEMENTCOUNT 1500
SHAREDSQL_COMMANDCACHESIZE 32768
MEMORY_ALLOCATION_LIMIT 0
USE_SYSTEM_PAGE_CACHE YES
USE_COROUTINES YES
MIN_RETENTION_TIME 60
MAX_RETENTION_TIME 480
MAX_SINGLE_HASHTABLE_SIZE 512
MAX_HASHTABLE_MEMORY 5120
HASHED_RESULTSET NO
HASHED_RESULTSET_CACHESIZE 262144
AUTO_RECREATE_BAD_INDEXES NO
LOCAL_REDO_LOG_BUFFER_SIZE 0
FORBID_LOAD_BALANCING NO -
Will 32-bit hardware support Unicode
We are currently running R/3 Enterprise 1.10 on Windows Server 2003, 32-bit hardware and Oracle 9i. My question is simple: will this platform support Unicode or do we need to upgrade to 64-bit hardware/software?
You can check that at http://service.sap.com/pam
Yes - it will be "supported" but you can be sure that you run into memory related problems sooner or later because of the 32bit limitation.
Markus -
BSI Tax Factory Upgrade:HR Support packs
Hi All,
We are starting with upgrade of BSI tax Factory from 8.0 to 9.0. And as per SAP main note '1469858' for upgrade, the support
pack required is 'HRSP61' but we currently have 'HRSP59'. Also, CLC 61 was applied for 2010 year end activities.
So, with CLC 61 present, would it be possible to upgrade to 9.0 without upgrading to HRSP 61 ?
In other words I want to confirm if CLC 61 includes the Tax Factory 9.0 updates.
Thanks,
AvinashHi Avinash,
I just updated relevant information for your query in the following thread:
[*BSI 8.0 becomes obsolete August 31st 2011, 9.0 troubleshooting guide here*;
Kind regards,
Felipe -
Can a Mac Pro (2.66 ghz duel core (4cores)) be upgradable to support Thunderbolt displays and other devices. Does this need to be done through the Graphics card expansion or a additional card to be inserted?
No. There is no way to upgrade any Mac Pro older then the cylindrical 2013 Mac Pro to ThunderBolt.
The requirements of Thunderbolt require a totally redesigned motherboard and chip set rather any plugin cards. These motherboard were never developed for older Mac Pros. -
I have an old Mac with OS x 10.5.8 how do I upgrade to support Facetime
I have an old Mac with OS X 10.5.8, can I upgrade to support FaceTime? Thanks
KDam,
Please allow me to make a suggestion -- I looked on the Skype site regarding system requirements for Osx.
Accordingly, they list 10.5 as an acceptible operating system for their application. In your case I would seriously consider Skype over FaceTime. I don't think it's worth all the effort to go through the headaches such an upgrade can cause, just to be able to use FT. -
Post-process after the upgrade to non-Unicode
Hello all,
I'm doing a CU&UC and just completed the first part - non-Unicode.
Since it will be followed immediately by a Unicode conversion, do you really need to do all the post-upgrade tasks? And if not, which are the mandatory part?
Thanks again,
TerryYou can take the CU&UC Guide..... after upgrade and before unicode it's mandatory to do some steps, aall about unicode preparation.....after do it you can do the export....
Has you begun this????.
Regards,
Alfredo. -
Does SAP.Functions support unicode?
Hi,
I have an ASP page using Server.CreateObject("SAP.Functions") to connect to SAP ecc 6.0. Does anyone know whether the wdtfuncs.ocx supports unicode? The result i got back from SAP shows English contents correctly but not Cyrillic character. Source code is something like this
Set oSAP = Server.CreateObject("SAP.Functions")
Set oConn = oSAP.Connection
oConn.User = sUID
oConn.Password = sPWD
oConn.Language = "EN"
oConn.Destination = sServer
oConn.Client = iClient
oConn.GroupName = sServer
oConn.MessageServer = sMessageServer
oConn.codepage = "4110"
oConn.Logon 0, True
Set oRFC = oSAP.Add(SAPFunctionModueName)
Set oParam = oRFC.Exports(ParameterName)
oParam.Value = ParameterValue
Set oOut = oRFC.Tables(SAPoutputTableName)
oRFC.Call
The SAP .net connector works well, but in this case i have to use the .ocx file trying to avoid rewriting existing application with .net.Sorry, the SAP version is 710
-
Migration tool to support migration from WAS 5.x and WLS 8.x to AS 7.x
This is to announce the release of a new migration tool adding support for IBM WebSphere 5 and BEA WebLogic 8 to Sun Java System Application Server 7.x .
Along with the tool, we refreshed the website with more partners and client solutions migration assessment offering. Check this out at http://wwws.sun.com/software/products/appsrvr/migration/index.html.
and download the Sun Java System Application Server 7 Migration Tool at
http://wwws.sun.com/software/download/products/419259b5.html
Here is the complete list of App/Web products the tool now supports
* IBM Web Sphere 5, 4
* BEA Web Logic Server 8, 7, 6
* Sun ONE Application Servers 6.0 and 6.5
* JBoss 3.x
* Sun ONE Web Server 6.x
* Apache Tomcat 4.x
* Reference Implementations based on J2EE 1.3
Thanks,
-- Vella RamanYolu have posted in the PPC area, and if you do, in fact, have a PPC, you can't migrate to Lion, it only works on intel machines. In addidition, you need to be running Snow Leopard (10.6.x) if you have an intel in order to install Lion.
-
Hello,
We have installed OAS 10.1.3.0. PatchSet 10.1.3.4.0. It comes with PHP4 by default and the Oracle HTTP Server. We did the necessary instructions from Metalink and the README on how to enable PHP5. We can bring up Apache with no issues and phpinfo shows PHP 5.1.2. However, the DOM/XML is not enabled in this bundled PHP that came with OAS. Is DOM/XML supported? Is there an Oracle product that bundles PHP that supports DOM/XML? Thanks.You would have to make sure the extension is enabled when you build PHP yourself.
"Installing OCI8 with Oracle Application Server on Linux" in the 2008 edition of http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf has some notes on installing PHP on AS. -
Does XDB supports validating xml against multiple schemas?
The XMLType has some methods for validating an xml documents against a schema, e.g., SCHEMAVALIDATE, etc.. does XDB support validating xml against multiple schemas (Just like what JAXP or Xerces have done)? Or what's the current situation about this issue? thanks.
did you try using the import schema element instead of the include elemnt?
-
Support for XML schema by Sun's parser
Does Sun's ProjectX XML parser proovide support for XML schema.
The JAXP conformance documentation does not mention about XML Schemas, therefore it does not yet support it. If you are looking for an XML parser that supports XML Schema validation, you can download Multi Schema Validator (MSV) from http://www.sun.com. Xerces 2.0.0 beta 3 mentions support for XML Schema. I have not tested it though. Hope this helps.
-
JDBC-ODBC Bridge does not support Unicode UTF-16
Hi
I'm using Jdeveloper 10.0.3 IDE in order to develop an application for data transformation between MS Access 2003 (source) and Oracle 10g (destination). Clients use Windows XP.
JDBC-ODBC Bridge still does not support Unicode UTF-16 which is the Charest used by MS Access 2000/2003.
Note that when I changed locale in regional setting, destination Connection to Ora10g failed to open a connection, it works only with English locale, so I can't change my locale information.
How can I read Unicode from source DB?
Any help would be appreciated. I look forward to see your response.
Thanks,i also heared that JDBC-ODBC Bridge still does not support Unicode UTF-16,
but i guess this is not in my case.That's the key in fact. JDBC-ODBC Bridge does not support UTF-16, which is the charset used by MS Access 2000/2003.
or do i need to use a third party driver for jdbc odbc bridge?Free library at http://jackcess.sourceforge.net/
Commerical JDBC driver at http://www.hxtt.com/access.html
Yonghong Zhao
System Analyst
www.hxtt.com -
Does Flex 2 or 3 support unicode?
Hi,
may be dumb question but does Flex 2 or 3 support UNICODE
characters?
ThanksYes Flex 2 and Flex 3 supports UNICODE.
The following link shows who to specify encoding in your mxml
files.
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part1_GetSt arted_004_1.html
action Script file encoding can be changed by using compiler
argument:
-compiler.actionscript-file-encoding
To view the usage details, run the command:
mxmlc -help list advanced
Thanks
Maybe you are looking for
-
New field in ODS - data value does not flow after activation
Hi, We have an ODS with some data in it. Now i added a new key figure to the ODS and changed the transfer and update rules accordingly. The value for this key figure appears in the PSA and the ODS table *40 (before activation table), but after activa
-
Problem with ORA-06502 when exp/imp between two identical versions
Hi I have two identical systems, one system that I develop on and the test system. The two systems have the same version of the Portal. When I export and then import the application from the systems I get a error message on the test system. ORA-06502
-
Poor image quality on DVD made in iDVD - Urgent assistance required PLEASE
I have imported pictures to form a slideshow in iDVD. The pictures are great quality and look good but the problem I am having is how distorted and blurry they become when burning the dvd. They look good for a split second when they transition in and
-
How do I re-install my Acrobat on a new computer (my old computer died).
How do I re-install my Acrobat on a new computer? My old computer recently died.
-
lblProvNameText = new JLabel("Provider ID"); lblProvNameText.setMinimumSize(new Dimension(100, 15)); lblProvNameText.setPreferredSize(new Dimension(100, 15)); lblProvNameData = new JLabel(""); lblProvNameData.setMinimumSize(new Dimension(100, 15)); l