Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

4.0 EA1 - Cannot select from table with xmltype

Johannes MichlerJul 17 2013 — edited Dec 23 2013

Hi,

I have the following table. When doing a select * from horus_owner.horus_objects nothing is shown. This could be reproduced with both 10g and 11g on the database-side.

Regards,

Johannes

-- Wiedergabe von TABLE DDL für Objekt HORUS_OWNER.HORUS_OBJECTS nicht möglich, da DBMS_METADATA internen Generator versucht.

CREATE TABLE HORUS_OWNER.HORUS_OBJECTS

(

  ID NUMBER(32, 0) NOT NULL

, TRE_ID NUMBER(32, 0) NOT NULL

, WRK_ID NUMBER(32, 0) NOT NULL

, NAME VARCHAR2(200 BYTE) NOT NULL

, MOD_TYPE VARCHAR2(10 BYTE) NOT NULL

, LOCKED_BY VARCHAR2(30 BYTE)

, PETRI_XML SYS.XMLTYPE

, AOM_XML SYS.XMLTYPE

, SHM_XML SYS.XMLTYPE

, ORG_XML SYS.XMLTYPE

, ROLE_XML SYS.XMLTYPE

, MIT_XML SYS.XMLTYPE

, RUL_XML SYS.XMLTYPE

, TXT_DATA CLOB

, CREATED DATE NOT NULL

, CREATED_BY VARCHAR2(30 BYTE) NOT NULL

, UPDATED_BY VARCHAR2(30 BYTE)

, UPDATED DATE

, SIM_XML SYS.XMLTYPE

, GLOSSARY_XML SYS.XMLTYPE

, CONSTRAINT OBJ_PK PRIMARY KEY

  (

    ID

  )

  ENABLE

)

LOGGING

TABLESPACE HORUS_OWNER_DATA

PCTFREE 10

INITRANS 1

STORAGE

(

  INITIAL 65536

  NEXT 1048576

  MINEXTENTS 1

  MAXEXTENTS UNLIMITED

  BUFFER_POOL DEFAULT

) NOCOMPRESS

XMLTYPE PETRI_XML STORE AS CLOB

XMLTYPE AOM_XML STORE AS CLOB

XMLTYPE SHM_XML STORE AS CLOB

XMLTYPE ORG_XML STORE AS CLOB

XMLTYPE ROLE_XML STORE AS CLOB

XMLTYPE MIT_XML STORE AS CLOB

XMLTYPE RUL_XML STORE AS CLOB

LOB (TXT_DATA) STORE AS SYS_LOB0000024538C00021$$

(

  ENABLE STORAGE IN ROW

  CHUNK 8192

  RETENTION

  NOCACHE

  LOGGING 

)

XMLTYPE SIM_XML STORE AS CLOB

XMLTYPE GLOSSARY_XML STORE AS CLOBALTER TABLE HORUS_OWNER.HORUS_OBJECTS

ADD CONSTRAINT OBJ_UK UNIQUE

(

  WRK_ID

, NAME

, TRE_ID

)

ENABLEALTER TABLE HORUS_OWNER.HORUS_OBJECTS

ADD CONSTRAINT OBJ_TRE_FK FOREIGN KEY

(

  TRE_ID

)

REFERENCES HORUS_OWNER.HORUS_TREE_NODES

(

  ID

)

ENABLEALTER TABLE HORUS_OWNER.HORUS_OBJECTS

ADD CONSTRAINT AVCON_1243352806_MOD_T_000 CHECK

(MOD_TYPE

IN ('EMP', 'ROL', 'ENT', 'OCH', 'XML', 'SHM', 'OSM', 'BUM', 'BOM',

'BEH', 'KPI', 'RIS', 'SER', 'STR', 'SWO', 'AOM', 'CON', 'GOA', 'BUR'

, 'BPA', 'RES', 'SIM', 'GLO','TEM', 'SAR'))

ENABLECREATE UNIQUE INDEX HORUS_OWNER.OBJ_PK ON HORUS_OWNER.HORUS_OBJECTS (ID ASC)

LOGGING

TABLESPACE HORUS_OWNER_IDX

PCTFREE 10

INITRANS 2

STORAGE

(

  INITIAL 65536

  NEXT 1048576

  MINEXTENTS 1

  MAXEXTENTS UNLIMITED

  BUFFER_POOL DEFAULT

)

NOPARALLEL

CREATE INDEX HORUS_OWNER.OBJ_TRE_FK_I ON HORUS_OWNER.HORUS_OBJECTS (TRE_ID ASC)

LOGGING

TABLESPACE HORUS_OWNER_IDX

PCTFREE 10

INITRANS 2

STORAGE

(

  INITIAL 65536

  NEXT 1048576

  MINEXTENTS 1

  MAXEXTENTS UNLIMITED

  BUFFER_POOL DEFAULT

)

NOPARALLEL

CREATE UNIQUE INDEX HORUS_OWNER.OBJ_UK ON HORUS_OWNER.HORUS_OBJECTS (WRK_ID ASC, NAME ASC, TRE_ID ASC)

LOGGING

TABLESPACE HORUS_OWNER_IDX

PCTFREE 10

INITRANS 2

STORAGE

(

  INITIAL 65536

  NEXT 1048576

  MINEXTENTS 1

  MAXEXTENTS UNLIMITED

  BUFFER_POOL DEFAULT

)

NOPARALLEL

CREATE INDEX HORUS_OWNER.OBJ_WRK_FK_I ON HORUS_OWNER.HORUS_OBJECTS (WRK_ID ASC)

LOGGING

TABLESPACE HORUS_OWNER_IDX

PCTFREE 10

INITRANS 2

STORAGE

(

  INITIAL 65536

  NEXT 1048576

  MINEXTENTS 1

  MAXEXTENTS UNLIMITED

  BUFFER_POOL DEFAULT

)

NOPARALLEL

Comments

Try setting REPORTS_ENHANCED_BIDIHANDLING=YES to use the new BIDI mechanism.
Thanks, Suresh

User_AWHMX

Dear Mr. Suresh,
thanks for your reply. do i need to keep the above 2 parameters also or above as you mentioned that is enough?
REPORTS_ENHANCED_BIDIHANDLING=YES

User_AWHMX, Include all 3 parameters

User_AWHMX

Mr. Suresh,
After i did also its changing for all the fields as per attachment. actually i just want to change the price field only in arabic numbers and others should be normal only. But if i add all 3 its changing whole invoice.
image.png

Has the report been built in that way to show ONLY Price field in Arabic and others are in English Numerical?
Is the value database derived or static/computed in Reports?
What is the NLS_LANG used during Build/recompile and runtime?
Checking if PDF subsetting is already enabled.
https://docs.oracle.com/cd/E48391_01/doc.11120/e24479/pbr_pdf004.htm#RSPUB23427
Thanks, Suresh

User_AWHMX

Dear Mr. Suresh,
Has the report been built in that way to show ONLY Price field in Arabic and others are in English Numerical?
No thats what i want to know that how can i do that.
Is the value database derived or static/computed in Reports?
these values from the database only.
What is the NLS_LANG used during Build/recompile and runtime?
AMERICAN_AMERICA.AR8MSWIN1256
Checking if PDF subsetting is already enabled. Yes its enabled.

When you say database columns, are the values stored as multibyte/Arabic in the database?
What are the font mappings for PDF subsetting?
Thanks, Suresh

User_AWHMX

no its not stored in arabic. its numeric numbers only.
i think if we add new arabic font its working in test environment. i will test in produstion also.
helvetica..Oblique.Medium = "Sadvocra.ttf"
helvetica..Plain.Medium = "Sadc128d.ttf"
helvetica...Bold = "CarolinaBar-B39-25F2-Normal.ttf"

1 - 8
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 20 2014
Added on Jul 17 2013
14 comments
3,329 views