Export table to formatted xml
I have an oracle table i have to export as formatted xml
I really want the data to look like this : (and need to get rid of the cdata)
<?xml version='1.0' ? XML_DATE = "2012-06-26 08:12:09 PM">
<APPLICATION NAME = "XMLTESTING">
<WEBPAGE>
<PROJECT>
<column1>ABC</column1>
<column2>DEF</column2>
<column3>GHI</column3>
<column4>JKL</column4>
<column5>MNO</column5>
</PROJECT>
<PROJECT>
<column1>ABG</column1>
<column2>DRF</column2>
<column3>GLY</column3>
<column4>JAL</column4>
<column5>MPO</column5>
</PROJECT>
<PROJECT>
<column1>BBC</column1>
<column2>GEF</column2>
<column3>LHI</column3>
<column4>JCL</column4>
<column5>MWO</column5>
</PROJECT>
</WEBPAGE>
</APPLICATION>
create table "XML_TESTING" (
"column1" varchar2(50byte),
"column2" varchar2(50byte),
"column3" varchar2(50byte),
"column4" varchar2(50byte),
"column5" varchar2(50byte)
INSERT into XML_TESTING values ('ABC','DEF','GHI','JKL','MNO');
INSERT into XML_TESTING values ('ABG','DRF','GLY','JAL','MPO');
INSERT into XML_TESTING values ('BBC','GEF','LHI','JCL','MWO');
CREATE TABLE xml_cl(result CLOB);
DECLARE
ctxqry DBMS_XMLGEN.ctxHandle;
result CLOB;
BEGIN
ctxqry := dbms_xmlgen.newContext('SELECT * FROM xml_testing');
DBMS_XMLGEN.setRowTag(ctxqry,'APPLICATIO NAME = "XML TESTING"');
--DBMS_XMLGEN.setMaxRows(ctxqry,5);
DBMS_XMLGEN.setrowsettag(ctxqry,'WEBPAGE');
LOOP
result := DBMS_XMLGEN.getXML(ctxqry);
EXIT WHEN
DBMS_XMLGEN.getNumRowsProcessed(ctxqry)=0;
INSERT INTO xml_cl VALUES(result);
END LOOP;
END;
SELECT * FROM xml_cl
THEN I EXPORT TO XML FROM HERE.
this is how xml currently looks
<?xml version='1.0' encoding='Cp1252' ?>
<RESULTS>
<ROW>
<COLUMN NAME="RESULT"><![CDATA[<?xml version="1.0"?>
<WEBPAGE>
<APPLICATIO_x0020_NAME_x0020__x003D__x0020__x0022_XML_x0020_TESTING_x0022_>
<column1>ABC</column1>
<column2>DEF</column2>
<column3>GHI</column3>
<column4>JKL</column4>
<column5>MNO</column5>
</APPLICATIO_x0020_NAME_x0020__x003D__x0020__x0022_XML_x0020_TESTING_x0022_>
<APPLICATIO_x0020_NAME_x0020__x003D__x0020__x0022_XML_x0020_TESTING_x0022_>
<column1>ABG</column1>
<column2>DRF</column2>
<column3>GLY</column3>
<column4>JAL</column4>
<column5>MPO</column5>
</APPLICATIO_x0020_NAME_x0020__x003D__x0020__x0022_XML_x0020_TESTING_x0022_>
<APPLICATIO_x0020_NAME_x0020__x003D__x0020__x0022_XML_x0020_TESTING_x0022_>
<column1>BBC</column1>
<column2>GEF</column2>
<column3>LHI</column3>
<column4>JCL</column4>
<column5>MWO</column5>
</APPLICATIO_x0020_NAME_x0020__x003D__x0020__x0022_XML_x0020_TESTING_x0022_>
</WEBPAGE>
]]></COLUMN>
</ROW>
</RESULTS>
hope someone can help.
did alot of searching and reading and just cant find an answer
thank you
Use SQL/XML functions to build and serialize the document as CLOB in a single query :
SQL> SELECT XMLSerialize(document
2 XMLElement("APPLICATION",
3 XMLAttributes('XMLTESTING' as "NAME")
4 , XMLElement("WEBPAGE",
5 XMLAgg(
6 XMLElement("PROJECT",
7 XMLForest("column1", "column2", "column3", "column4", "column5")
8 )
9 )
10 )
11 )
12 as clob
13 indent --< for formatting purpose only
14 )
15 FROM xml_testing
16 ;
XMLSERIALIZE(DOCUMENTXMLELEMEN
<APPLICATION NAME="XMLTESTING">
<WEBPAGE>
<PROJECT>
<column1>ABC</column1>
<column2>DEF</column2>
<column3>GHI</column3>
<column4>JKL</column4>
<column5>MNO</column5>
</PROJECT>
<PROJECT>
<column1>ABG</column1>
<column2>DRF</column2>
<column3>GLY</column3>
<column4>JAL</column4>
<column5>MPO</column5>
</PROJECT>
<PROJECT>
<column1>BBC</column1>
<column2>GEF</column2>
<column3>LHI</column3>
<column4>JCL</column4>
<column5>MWO</column5>
</PROJECT>
</WEBPAGE>
</APPLICATION>
Then you can call DBMS_XSLPROCESSOR.CLOB2FILE to write the CLOB to a file, no need of an intermediate table.
Similar Messages
-
How to export table contents in xml file format through SQL queries
hi,
i need to export the table data in to xml file format. i got it through the GUI what they given.
i'm using Oracle 10g XE.
but i need to send the table name from Java programs. so, how to call the export commands from programming languages through. is there any sql commands to export the table contents in xml format.
and one more problem is i created each transaction in two tables. for example if we have a transaction 'sales' , that will be saved in db as
sales1 table and sales2 table. here i maintained and ID field in sales1 as PK. and id as FK in sales2.
i get the combined data with this query,
select * from sales1 s1, sales2 s2 where s1.id=s2.id order by s1.id;
it given all the records, but i'm getting two ID fields (one from each table). how to avoid this. here i dont know how many fields will be there in each table. that will be known at runtime only.
the static information is sales1 have one ID field with PK and sales2 will have one ID filed with FK.
i need ur valuable suggestions.
regards
pavan.You can use DBMS_XMLGEN.getXML('your Query') for generating data in tables to XML format and you can use DBMS_XMLGEN.SETROWSETTAG to change the parent element name other wise it will give rowset as well as DBMS_XMLGEN.SETROWTAG for row name.
Check this otherwise XMLELEMENT and XMLFOREST function are also there to convert data in XML format. -
Export Table in Delimited Format
Hi Experts
I would like to export table into text file using delimited format (eg.. using "~" symbol). How can i do that, because i need that table data in text file for another process.
Can you help me please....Common SQL*Plus settingd for spooling:
SET TERM OFF
SET LINESIZE 148
SET TRIMS ON
SET HEADING OFF
SET ECHO OFF
SET FEEDBACK OFF
SET PAGESIZE 0
SET SPACE 0
SET TIMING OFF
SET TRIMS ON - this will trim the rightmost columns of your record. -
ABAP program to output data from SAP table to an XML format file?
hello ABAP experts,
Does anyone know how to output data from SAP table to an XML format file? Would be appreciated if someone show the detailed sample codes and we will give you reward points!
Thanks!Edited by: Jose Hugo De la cruz on Aug 19, 2009 8:23 PM
-
Exporting DAC metadata in XML format
I would like to export DAC metadata in XML format . As per the administration guide it is possible to export/import metadata in XML format.
Any information on this will be appreciated.you can only export complete containers to XML, you can't only export the updates (as far as I know that is)
you can do this by selecting Tools, then select DAC Repository Management, then select Export. -
Exporting data from database tables to a XML file
Hi,
We want to export data from Oracle database tables to an XML
file. What tool can we use for this purpose, and how do we go
about it ?
Can we extract data only from an Oracle8 database, or can we
extract data from Oracle7.3 databases too ?
Any help in this regard would be appreciated.
Thanks
Dipanjan
nullDipanjan (guest) wrote:
: Hi,
: We want to export data from Oracle database tables to an XML
: file. What tool can we use for this purpose, and how do we go
: about it ?
: Can we extract data only from an Oracle8 database, or can we
: extract data from Oracle7.3 databases too ?
: Any help in this regard would be appreciated.
: Thanks
: Dipanjan
Start by downloading the XML SQL Utility and make sure you have
the approriate JDBC 1.1 drivers installed for your database.
There are samples which will get you going included in the
archive.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null -
How to export table xml from ID CS4
Hi,
Could any one clarify my below doubts.
I have an xml file for Table. The root tag <informaltable> of the table have the attributes id="xx" and float="0". This xml file is imported into the Indesign document without any problem. But when I export the xml from Indesign, these attributes were not exported. Only the XML tag is exported.
Could anyone tell how to export this table root tag with its attributes.
Thanks,
GopalApology for bu** in, but my general practice (or for that matter mentioned scripting manual) is that
function ProcessProduct(){
this.name = "ProcessElements";
this.xpath = "//B/C";
should be
function ProcessProduct(){
this.name = "ProcessProduct";
this.xpath = "//B/C";
name of the rule and matches theRuleName,but both of them seems to be working fine here.
Defining correctly in ruleset does the trick
var myRuleSet = new Array (new ProcessProduct);
Does it not matter for having the same name or I am missing something.
--PC -
I had the free trial of Acrobat 9 pro and I was able to export tables to Excel without any issues. Bought Acrobat 9 and now I am not able to get the tables exported. Does anybody have any suggestions? Is pro that much better for exporting tables?
The trial and full version are identical except for the licensing aspect. General export to Excel was not available until AA XI, so I am not quite sure how you were exporting. In XI, it is simply going to File>Save As>SpreadSheet. In AA 9, the typical process was to select the columns desired with the select tool (use the alt key to allow the selection) and copy the columns to Excel. Adobe has not sold AA 9 for over 4 years as I recall. I did finally get AA 9 to come up on a machine and they did have a save as/export to XML (spreadsheet). However, the use of the alt key with the select also worked. As I recall, there was a way to copy in multiple columns too, but I am too rusty with 9 to remember.
The problem may be the format of what you are trying to export. You did not indicate what the problem of the export was and so it is hard to judge. What specifically is happening when you try to export a table. A screen shot might help. -
How to download internal table data into xml file?
Hi,
Experts,
I have downloaded internal table data into XLS format using GUI_DOWNLOAD Function module, But i didn't Know how to download internal table data into XML format please post some ideas/inputs on this issue.
Thank you,
Shabeer ahmed.check this
data : gd_repid type sy-repid.
GD_REPID = SY-REPID.
DATA : L_DOM TYPE REF TO IF_IXML_ELEMENT,
M_DOCUMENT TYPE REF TO IF_IXML_DOCUMENT,
G_IXML TYPE REF TO IF_IXML,
W_STRING TYPE XSTRING,
W_SIZE TYPE I,
W_RESULT TYPE I,
W_LINE TYPE STRING,
IT_XML TYPE DCXMLLINES,
S_XML LIKE LINE OF IT_XML,
W_RC LIKE SY-SUBRC.
DATA: XML TYPE DCXMLLINES.
DATA: RC TYPE SY-SUBRC,
BEGIN OF XML_TAB OCCURS 0,
D LIKE LINE OF XML,
END OF XML_TAB.
data : l_element type ref to if_ixml_element,
xml_ns_prefix_sf type string,
xml_ns_uri_sf type string.
CLASS CL_IXML DEFINITION LOAD.
G_IXML = CL_IXML=>CREATE( ).
CHECK NOT G_IXML IS INITIAL.
M_DOCUMENT = G_IXML->CREATE_DOCUMENT( ).
CHECK NOT M_DOCUMENT IS INITIAL.
CALL FUNCTION 'SDIXML_DATA_TO_DOM'
EXPORTING
NAME = 'REPAIRDATA'
DATAOBJECT = IT_FINAL_LAST1[]
IMPORTING
DATA_AS_DOM = L_DOM
CHANGING
DOCUMENT = M_DOCUMENT
EXCEPTIONS
ILLEGAL_NAME = 1
OTHERS = 2.
CHECK NOT L_DOM IS INITIAL.
W_RC = M_DOCUMENT->APPEND_CHILD( NEW_CHILD = L_DOM ).
*Start of code for Header
* namespace
t_mnr = sy-datum+4(2).
CALL FUNCTION 'IDWT_READ_MONTH_TEXT'
EXPORTING
LANGU = 'E'
MONTH = t_mnr
IMPORTING
T247 = wa_t247
concatenate sy-datum+6(2)
wa_t247-ktx
sy-datum(4) into t_var1.
concatenate sy-uzeit(2)
sy-uzeit+2(2)
sy-uzeit+4(2) into t_var2.
clear : xml_ns_prefix_sf,
xml_ns_uri_sf.
l_element = m_document->get_root_element( ).
xml_ns_prefix_sf = 'TIMESTAMP'.
concatenate t_var1 t_var2 into xml_ns_uri_sf separated by space.
clear : t_var1,
t_var2,
t_mnr,
wa_t247.
l_element->set_attribute( name = xml_ns_prefix_sf
namespace = ' '
value = xml_ns_uri_sf ).
clear : xml_ns_prefix_sf,
xml_ns_uri_sf.
xml_ns_prefix_sf = 'FILECREATOR'.
xml_ns_uri_sf = 'SAP'.
l_element->set_attribute( name = xml_ns_prefix_sf
namespace = ' '
value = xml_ns_uri_sf ).
clear : xml_ns_prefix_sf,
xml_ns_uri_sf.
xml_ns_prefix_sf = 'CLAIMGROUP'.
xml_ns_uri_sf = '1'.
l_element->set_attribute( name = xml_ns_prefix_sf
namespace = ' '
value = xml_ns_uri_sf ).
clear : xml_ns_prefix_sf,
xml_ns_uri_sf.
xml_ns_prefix_sf = 'CLAIMTYPES'.
xml_ns_uri_sf = 'W'.
l_element->set_attribute( name = xml_ns_prefix_sf
namespace = ' '
value = xml_ns_uri_sf ).
*End of Code for Header
CALL FUNCTION 'SDIXML_DOM_TO_XML'
EXPORTING
DOCUMENT = M_DOCUMENT
IMPORTING
XML_AS_STRING = W_STRING
SIZE = W_SIZE
TABLES
XML_AS_TABLE = IT_XML
EXCEPTIONS
NO_DOCUMENT = 1
OTHERS = 2.
LOOP AT IT_XML INTO XML_TAB-D.
APPEND XML_TAB.
ENDLOOP.
*Start of Code for File name
concatenate p_file
'\R'
'000_119481'
sy-datum+6(2) sy-datum+4(2) sy-datum+2(2)
sy-uzeit(2) sy-uzeit+2(2) sy-uzeit(2) '.xml' into p_file.
*End of Code for File name
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = W_SIZE
FILENAME = p_file
FILETYPE = 'BIN'
TABLES
DATA_TAB = XML_TAB
EXCEPTIONS
OTHERS = 10.
IF SY-SUBRC = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Help with Exporting tables to ePub
I'm looking for help exporting tables from InDesign to epub. Is there an easy way to do this and preserve formatting?
Hi,
We need more details to help you out here. Could you please explain what attributes you wish to be preserved in tables while exporting to EPUB. Which version of Indesign are you using?
Regards,
Pooja
InDesign Engineering -
How to Export an Order Via XML
How can we "Export an Order Via XML" using OOTB classes as mentioned in ATG Commerce Programming Guide?
I have set classpath as well, but getting errors.
C:\ATG\ATG9.1\home\bin>set classpath=%CLASSPATH%;C:\ATG\ATG9.1\home\lib\ojdbc14.jar
C:\ATG\ATG9.1\home\bin>set classpath=%CLASSPATH%;C:\ATG\ATG9.1\home\lib\_MyModule_slib_sclasses.jar
C:\ATG\ATG9.1\home\bin>set classpath=%CLASSPATH%;C:\jboss-4.2.3.GA\lib\jboss-common.jar
C:\ATG\ATG9.1\home\bin>startSQLRepository -m MyModule -repository /atg/commerce/order/OrderRepository orders.xml | ATG
LogColorizer
ATG Log Colorizer v1.1 Copyright (c) 2007 Kelly Goetsch - [email protected]
Application Server: jboss
The following installed ATG components are being used to launch:
ATGPlatform version 9.1 installed at C:\ATG\ATG9.1
JAVA_ARGS: -Djava.security.policy=lib/java.policy -Datg.dynamo.home="." -Datg.dynamo.root=".\.." -Datg.dynamo.display=
-Djava.protocol.handler.pkgs=atg.net.www.protocol -Djava.naming.factory.url.pkgs=atg.jndi.url -Datg.dynamo.modulepath=".
\.." -Xms512m -Xmx1024m -Datg.dynamo.server.home="." -XX:MaxPermSize=96m -XX:MaxNewSize=96m -Datg.dynamo.modules=DAS;US
Cellular;DSS -Datg.dynamo.layers= -Dsun.rmi.dgc.server.gcInterval=3600000
DYNAMO_MODULES: @@atg/env/Startup.modules@@
CONFIGPATH: @@atg/env/Startup.configPath@@;.\.\PublishingAgent\deploymentconfig\live\config;..\DAS\config\dtmconfig.jar;
localconfig;..\DAF\config\dafconfig.jar
CLASSPATH: .\locallib\;.\lib\launcher.jar;.\locallib\;.\lib\launcher.jar;LASSPATH;C:\ATG\ATG9.1\home\lib\ojdbc14_g.jar;
C:\ATG\ATG9.1\home\lib\ojdbc14.jar;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar;C:\ATG\ATG9.1\home\
lib\ojdbc14.jar;C:\ATG\ATG9.1\home\lib\_MyModule_slib_sclasses.jar;C:\jboss-4.2.3.GA\lib\jboss-common.jar;C:\jboss-4.2
.3.GA\server\all\lib\jboss-j2ee.jar;C:\jboss-4.2.3.GA\server\all\lib\jboss-j2ee.jar;C:\ATG\ATG9.1\home\lib\ojdbc14_g.jar
;C:\ATG\ATG9.1\home\lib\ojdbc14.jar;C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar;C:\ATG\ATG9.1\home
\lib\ojdbc14.jar;C:\ATG\ATG9.1\home\lib\_MyModule_slib_sclasses.jar;C:\jboss-4.2.3.GA\lib\jboss-common.jar;C:\jboss-4.
2.3.GA\server\all\lib\jboss-j2ee.jar;C:\jboss-4.2.3.GA\server\all\lib\jboss-j2ee.jar;C:\ATG\ATG9.1\MyModule\lib\jax-qn
ame.jar;C:\ATG\ATG9.1\MyModule\lib\jaxb-xjc.jar;C:\ATG\ATG9.1\MyModule\lib\jaxb-api-2.1.jar;C:\ATG\ATG9.1\MyModule
\lib\jaxb-impl-2.1.12.jar;C:\ATG\ATG9.1\MyModule\lib\jaxb-libs.jar;C:\ATG\ATG9.1\MyModule\lib\jaxb-impl.jar;C:\ATG\A
TG9.1\MyModule\lib\jaxb-api.jar;C:\ATG\ATG9.1\MyModule\lib\xercesImpl.jar;C:\ATG\ATG9.1\MyModule\lib\axis.jar;C:\A
TG\ATG9.1\MyModule\lib\classes.jar;C:\ATG\ATG9.1\MyModule\lib\resources.jar;C:\ATG\ATG9.1\MyModule\lib\commons-bea
nutils.jar;C:\ATG\ATG9.1\MyModule\lib\commons-codec-1.3.jar;C:\ATG\ATG9.1\MyModule\lib\commons-collections-3.1.jar;C
:\ATG\ATG9.1\MyModule\lib\commons-digester-1.7.jar;C:\ATG\ATG9.1\MyModule\lib\commons-discovery.jar;C:\ATG\ATG9.1\US
Cellular\lib\commons-httpclient-3.1.jar;C:\ATG\ATG9.1\MyModule\lib\commons-logging-1.0.4.jar;C:\ATG\ATG9.1\MyModule\
lib\commons-validator-1.2.0.jar;C:\ATG\ATG9.1\MyModule\lib\jakarta-oro-2.0.8.jar;C:\ATG\ATG9.1\MyModule\lib\jbosssx.
jar;C:\ATG\ATG9.1\MyModule\lib\jmdns-20.jar;C:\ATG\ATG9.1\MyModule\lib\standard.jarlib\asm-2.2.3.jar;C:\ATG\ATG9.1\U
SCellular\lib\cxf-2.2.6.jar;C:\ATG\ATG9.1\MyModule\lib\geronimo-activation_1.1_spec-1.0.2.jar;C:\ATG\ATG9.1\MyModule
\lib\geronimo-annotation_1.0_spec-1.1.1.jar;C:\ATG\ATG9.1\MyModule\lib\geronimo-javamail_1.4_spec-1.6.jar;C:\ATG\ATG9.
1\MyModule\lib\geronimo-jaxws_2.1_spec-1.0.jar;C:\ATG\ATG9.1\MyModule\lib\geronimo-stax-api_1.0_spec-1.0.1.jar;C:\AT
G\ATG9.1\MyModule\lib\geronimo-ws-metadata_2.0_spec-1.1.2.jar;C:\ATG\ATG9.1\MyModule\lib\neethi-2.0.4.jar;C:\ATG\ATG
9.1\MyModule\lib\saaj-api-1.3.jar;C:\ATG\ATG9.1\MyModule\lib\saaj-impl-1.3.2.jar;C:\ATG\ATG9.1\MyModule\lib\wsdl4j
-1.6.2.jar;C:\ATG\ATG9.1\MyModule\lib\wss4j-1.5.8.jar;C:\ATG\ATG9.1\MyModule\lib\wstx-asl-3.2.9.jar;C:\ATG\ATG9.1\US
Cellular\lib\XmlSchema-1.4.5.jar;C:\ATG\ATG9.1\MyModule\lib\jxl.jar;C:\ATG\ATG9.1\DCS\PublishingAgent\lib\classes.jar;
C:\ATG\ATG9.1\DCS\lib\resources.jar;C:\ATG\ATG9.1\DCS\lib\classes.jar;C:\ATG\ATG9.1\PublishingAgent\base\lib\agent.jar;C
:\ATG\ATG9.1\PublishingAgent\base\lib\classes.jar;C:\ATG\ATG9.1\DSS\lib\resources.jar;C:\ATG\ATG9.1\DSS\lib\classes.jar;
C:\ATG\ATG9.1\DPS\lib\resources.jar;C:\ATG\ATG9.1\DPS\lib\classes.jar;C:\ATG\ATG9.1\DAF\Search\Index\lib\classes.jar;C:\
ATG\ATG9.1\DAF\Search\Index\lib\axis.jar;C:\ATG\ATG9.1\DAF\Search\Index\lib\commons-discovery.jar;C:\ATG\ATG9.1\DAF\Sear
ch\Index\lib\jaxrpc.jar;C:\ATG\ATG9.1\DAF\Search\Index\lib\wsdl4j.jar;C:\ATG\ATG9.1\DAF\Search\Base\lib\classes.jar;C:\A
TG\ATG9.1\DAF\Search\Base\lib\rmi-stub-classes.jar;C:\ATG\ATG9.1\DAS-UI\lib\uiresources.jar;C:\ATG\ATG9.1\DAS-UI\lib\uic
lasses.jar;C:\ATG\ATG9.1\DAS-UI\lib\jhall.jar;C:\ATG\ATG9.1\DAS\lib\resources.jar;C:\ATG\ATG9.1\DAS\lib\classes.jar;C:\A
TG\ATG9.1\DAS\lib\servlet.jar;C:\ATG\ATG9.1\DAS\lib\ice.jar;C:\ATG\ATG9.1\DAS\solid\SolidDriver2.1.jar;C:\ATG\ATG9.1\hom
e\startDynamo.jar
PATH: C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\
Program Files\Support Tools;D:\data\notes;C:\program files\notes;C:\Program Files\ManageSoft\Common;C:\Program Files\Tor
toiseSVN\bin;C:\jdk1.5.0_16\bin;C:\eclipse-ganymede-atg\plugins\org.apache.ant_1.7.0.v200803061910\bin;C:\Program Files\
Windows Imaging\;;.\..\DAS\os_specific_files\i486-unknown-win32;.\..\DAS\os_specific_files\i486-unknown-win32\ice
**** info Wed Jul 27 15:23:25 IST 2011 1311760405899 /DPSLicense atg.service.ServiceResources->dynamoPrin
tMaxSessions : Only 20 concurrent sessions can be managed with this license
**** info Wed Jul 27 15:23:25 IST 2011 1311760405909 /DPSLicense atg.service.ServiceResources->dynamoPrin
tMaxDynamoServers : Only 3 Dynamo server(s) can be used concurrently with this license
**** info Wed Jul 27 15:23:25 IST 2011 1311760405909 /DPSLicense DPS is licensed to Proquire LLC - Develo
pment
**** info Wed Jul 27 15:23:25 IST 2011 1311760405909 /DPSLicense atg.service.ServiceResources->unlimitedL
icenseMsg : This product is licensed for an unlimited number of CPUs.
**** info Wed Jul 27 15:23:29 IST 2011 1311760409504 /atg/dynamo/service/jdbc/SDSRepository SQL Repository s
tartup complete
**** info Wed Jul 27 15:23:30 IST 2011 1311760410085 /atg/commerce/pricing/priceLists/PriceLists SQL Repo
sitory startup complete
**** info Wed Jul 27 15:23:30 IST 2011 1311760410095 /atg/commerce/pricing/Promotions Resolving reference
to /atg/commerce/catalog/ProductCatalog
**** Warning Wed Jul 27 15:23:30 IST 2011 1311760410726 DistributorSender No remote servers configured
**** info Wed Jul 27 15:23:30 IST 2011 1311760410966 /atg/commerce/catalog/ProductCatalog SQL Repository s
tartup complete
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Error parsing templa
te: atg.repository.RepositoryException: Your user defined property com.mymodule.security.crypto.CryptoPropertyDescriptor has
an invalid property-type java.lang.ClassNotFoundException: com.mymodule.security.crypto.CryptoPropertyDescriptor. The deta
iled error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository atg.repository.R
epositoryException: Your user defined property com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property
-type java.lang.ClassNotFoundException: com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository Your user defined pr
operty com.mymodule.security.crypto.CryptoPropertyDescriptor has an invalid property-type java.lang.ClassNotFoundException:
com.mymodule.security.crypto.CryptoPropertyDescriptor. The detailed error is: {2}
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
sa.xml.TemplateParser.addDocumentToTemplate(TemplateParser.java:701)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
sa.xml.TemplateParser.addToTemplate(TemplateParser.java:532)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
sa.xml.TemplateParser.addToTemplate(TemplateParser.java:421)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
sa.GSARepository.readXMLFiles(GSARepository.java:6163)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
sa.GSARepository.initialize(GSARepository.java:5050)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
sa.GSARepository.initializeTransactionally(GSARepository.java:4954)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
sa.GSARepository.doStartService(GSARepository.java:4647)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.G
enericService.startService(GenericService.java:496)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
ucleusNameResolver.startService(NucleusNameResolver.java:1385)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
ucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1133)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
ucleusNameResolver.createFromName(NucleusNameResolver.java:787)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
ucleusNameResolver.createFromName(NucleusNameResolver.java:569)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
ucleusNameResolver.createFromName(NucleusNameResolver.java:550)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
ucleusNameResolver.resolveName(NucleusNameResolver.java:394)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
ucleus.resolveName(Nucleus.java:2648)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.G
enericService.resolveName(GenericService.java:315)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.G
enericService.resolveName(GenericService.java:367)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
ucleus.<init>(Nucleus.java:937)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
ucleus.<init>(Nucleus.java:695)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
ucleus.startNucleusCheckLicense(Nucleus.java:4194)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.nucleus.N
ucleus.startNucleus(Nucleus.java:4054)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
sa.xml.TemplateParser.runParser(TemplateParser.java:5452)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository at atg.adapter.g
sa.xml.TemplateParser.main(TemplateParser.java:5072)
**** Error Wed Jul 27 15:23:30 IST 2011 1311760410986 /atg/commerce/order/OrderRepository
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository java.sql.SQLExceptio
n: java.sql.SQLException: ORA-00942: table or view does not exist
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository [++SQLSelect++]
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository SELECT ORDER_ID,SUB
MARKET,TOTAL_MRC_AMOUNT,ORDER_OWNER,TAX_SERVICE_FLAG,CREDIT_SERVICE_FLAG,NO_OF_LINES,PROMO_CODE,LOYALTY_ORDER_ID,REWARD_
TEXT,ORDER_TYPE
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository FROM DCSPPX_ORDER
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository WHERE 1 = 2
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository (no parameters)
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository [--SQLSelect--]
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429092 /atg/commerce/order/OrderRepository The table: "DCSPPX_O
RDER" does not appear to be defined correctly in the database. Either the table does not exist, the repository does not
have SELECT permission on it, or the definition of the table is incompatible with the template in use.
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository java.sql.SQLExceptio
n: java.sql.SQLException: ORA-00942: table or view does not exist
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository [++SQLSelect++]
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository SELECT ORDER_ID,DEP
OSIT_PER_LINE,MANUAL_REVIEW_FLAG,CAS,CREDIT_CLASS
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository FROM CDEDIT_SERVI
CE_RESULT
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository WHERE 1 = 2
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository (no parameters)
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository [--SQLSelect--]
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429102 /atg/commerce/order/OrderRepository The table: "CDEDIT_S
ERVICE_RESULT" does not appear to be defined correctly in the database. Either the table does not exist, the repository
does not have SELECT permission on it, or the definition of the table is incompatible with the template in use.
**** Error Wed Jul 27 15:23:49 IST 2011 1311760429112 /atg/commerce/order/OrderRepository java.sql.SQLExceptio
n: java.sql.SQLException: ORA-00942: table or v -
How can we export table data to a CSV file??
Hi,
I have the following requirement. Initially business agreed upon, exporting the table data to Excel file. But now, they would like to export the table data to a CSV file, which is not being supported by af:exportCollectionActionListener component.
Because, when i opened the exported CSV file, i can see the exported data sorrounded with HTML tags. Hence the issue.
Does someone has any solution for this ... Like, how can we export the table data to csv format. And it should work similar to exporting the data to excel sheet.
For youre reference here is the code which i have used to export the table data..
><f:facet name="menus">
><af:menu text="Menu" id="m1">
><af:commandMenuItem text="Print" id="cmi1">
><af:exportCollectionActionListener exportedId="t1"
>title="CommunicationDistributionList"
>filename="CommunicationDistributionList"
>type="excelHTML"/> ---- I tried with removing value for this attribute. With no value, it did not worked at all.
></af:commandMenuItem>
></af:menu>
></f:facet>
Thanks & Regards,
Kiran KonjetiHi Alex,
I have already visited that POST and it works only in 10g. Not in 11g.
I got the solution for this. The solution is :
Use the following code in jsff
==================
<af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="text/csv; charset=utf-8"
>filename="test.csv"
>method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
></af:commandButton>
OR
<af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="application/vnd.ms-excel; charset=utf-8"
>filename="test.csv"
>method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
></af:commandButton>
And place this code in ManagedBean
======================
> public void test(FacesContext facesContext, OutputStream outputStream) throws IOException {
> DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
>DCIteratorBinding itrBinding = (DCIteratorBinding)dcBindings.get("fetchDataIterator");
>tableRows = itrBinding.getAllRowsInRange();
preparaing column headers
>PrintWriter out = new PrintWriter(outputStream);
>out.print(" ID");
>out.print(",");
>out.print("Name");
>out.print(",");
>out.print("Designation");
>out.print(",");
>out.print("Salary");
>out.println();
preparing column data
> for(Row row : tableRows){
>DCDataRow dataRow = (DCDataRow)row;
> DataLoaderDTO dto = (DataLoaderDTO)dataRow.getDataProvider();
>out.print(dto.getId());
>out.print(",");
>out.print(dto.getName());
>out.print(",");
>out.print(dto.getDesgntn());
>out.print(",");
>out.print(dto.getSalary());
>out.println();
>}
>out.flush();
>out.close();
> }
And do the following settings(*OPTIONAL*) for your browser - Only in case, if the file is being blocked by IE
==================================================================
http://ais-ss.usc.edu/helpdoc/main/browser/bris004b.html
This resolves implementation of exporting table data to CSV file in 11g.
Thanks & Regards,
Kiran Konjeti -
Creating a Pivot Table in a XML publishe
When creating a Pivot Table in a XML publisher in Word, is there a way for a Pivot table to respect the fact that it's inside of a group function? I'm looping over site , and within each site I want to create a Pivot Table that has Months going across and SUB inventories going down, but only for that site.
Hello,
create one column in criteria and change it's fx to case when 1=0 then Products."Prod Name" else 'Tota Loanl' end
Now go to pivot and drag this column to Columns block of pivot. But keep this column up of Measure Labels and Now, go to column Format values.
Mention cell horizontal alignment to Center
see the following screenshot, Header is the column i created with the above functionality.
!http://i852.photobucket.com/albums/ab83/kishorg86/Header.jpg! -
Export to Excel format changed after update to new Office
Post Author: Ceraq
CA Forum: Exporting
I am using the XL export format as an intermediate step to some complex calculations and ties that are not supported in my legacy system. To get what I want I simply used a CR XI report to create a mid way data file and then used a second report to crunch the final numbers from the data file. Its a long painful story as to exactly why I have to do it this way... not my choice.
Prior to the update when I exported more than ~65k lines to an XL format they remained in one sheet. So the second report would grab all the data and go... Now, after the update of office, the report gets split into seperate sheets each of ~65k records long and the second report sees each sheet as a seperate data table! I'm pushing over 1.25 million records into less than 400k in the mid data file so I'm getting about 7 sheets instead of the original 1.
I have a lot of work and time invested in this method so I would like to fix it so it still works in the previous manner... I have tried to export to a different format, but it seems that CR XI cannot export to a format that it can also read in... at least that I have found and not without creating a whole new DB for it to export into (Access). I cannot unroll the new office either as it is already enterprise wide...
Reomendations? Suggestions? Should I simply go get a few cases of Dr. Pepper and tell my wife I wont be home this week and re write everything (no plan on how I'd do that either...)?
Best regards,
MichaelHi Debbei
I think u have to use microsoft office 2003
Regards Reeha -
Hi
I have a requirement of writing internal table data to XML. Any idea where i should start.
I have pretty good experience with ABAP and basic knowledge in XML.
There are good blogs which talk about transformations and other stuff but they are not able to give me clear path to my solution.
Could somebody give me a basic example or some reference material where i can move the data in internal table (assume Sales order details of a day) to XML.
ThanksRefer the program -
In this implementation we will only focus on the creation of the XML file and the transfer to the user. You can not create a XML document directly. You have to use a so called ixml factory first.
TYPE-POOLS: ixml.
DATA: l_ixml TYPE REF TO if_ixml.
l_ixml = cl_ixml=>create( ).
This iXML factory can create an empty XML document object named l_document.
DATA: l_document TYPE REF TO if_ixml_document.
l_document = l_ixml->create_document( ).
At this point you can add the nodes (elements, attributes) into the document. First you have to declare the root element node.
DATA: l_element_root TYPE REF TO if_ixml_element.
This node we have to give a name and add it (create_simple_node) to the document object l_document, which will be the parent of this node.
l_element_root = l_document->create_simple_element(
name = 'flights'
parent = l_document ).
Next we can add child nodes to there parent node using the same method of the document object.
DATA: l_element_airline TYPE REF TO if_ixml_element,
l_element_airline = l_document->create_simple_element(
name = 'airline'
parent = l_element_root ).
An attribute can be add easily using the method set_attribute of the element node.
l_rc = l_element_airline->set_attribute( name = 'code' value = 'LH401' ).
Now we have finished the document object. Regretfully it can not be displayed in any form due to the fact that it is a binary object.
The next step is to convert the created document to a flat file. To achieve this we have to create a stream factory, which will help us to create an output stream.
DATA: l_streamfactory TYPE REF TO if_ixml_stream_factory.
l_streamfactory = l_ixml->create_stream_factory( ).
In this case, we will convert the document into an output stream which is based on an internal table of type x.
TYPES: BEGIN OF xml_line,
data(256) TYPE x,
END OF xml_line.
DATA: l_xml_table TYPE TABLE OF xml_line,
l_xml_size TYPE i,
l_rc TYPE i,
l_ostream TYPE REF TO if_ixml_ostream.
l_ostream = l_streamfactory->create_ostream_itable( table = l_xml_table ).
When we have created the output stream we can do the rendering from the document into the stream. The XML data will be stored in the internal table automatically.
DATA: l_renderer TYPE REF TO if_ixml_renderer.
l_renderer = l_ixml->create_renderer( ostream = l_ostream
& nbsp; document = l_document ).
l_rc = l_renderer->render( ).
In the last step we upload the file to the sapgui
l_xml_size = l_ostream->get_num_written_raw( ).
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
bin_filesize = l_xml_size
filename = 'c:\temp\flights.xml'
filetype = 'BIN'
CHANGING
data_tab = l_xml_table
EXCEPTIONS
OTHERS = 24.
This finished the first step-of-three. As mentioned before the next log will focus on the conversion from xml files (back) to abap tables.
REPORT z_xit_xml_dom_create.
TYPE-POOLS: ixml.
TYPES: BEGIN OF xml_line,
data(256) TYPE x,
END OF xml_line.
DATA: l_ixml TYPE REF TO if_ixml,
l_streamfactory TYPE REF TO if_ixml_stream_factory,
l_ostream TYPE REF TO if_ixml_ostream,
l_renderer TYPE REF TO if_ixml_renderer,
l_document TYPE REF TO if_ixml_document.
DATA: l_element_flights TYPE REF TO if_ixml_element,
l_element_airline TYPE REF TO if_ixml_element,
l_element_flight TYPE REF TO if_ixml_element,
l_element_from TYPE REF TO if_ixml_element,
l_element_to TYPE REF TO if_ixml_element,
l_element_dummy TYPE REF TO if_ixml_element,
l_value TYPE string.
DATA: l_xml_table TYPE TABLE OF xml_line,
l_xml_size TYPE i,
l_rc TYPE i.
DATA: lt_spfli TYPE TABLE OF spfli.
DATA: l_spfli TYPE spfli.
START-OF-SELECTION.
Fill the internal table
SELECT * FROM spfli INTO TABLE lt_spfli.
Sort internal table
SORT lt_spfli BY carrid.
Start filling xml dom object from internal table
LOOP AT lt_spfli INTO l_spfli.
AT FIRST.
Creating a ixml factory
l_ixml = cl_ixml=>create( ).
Creating the dom object model
l_document = l_ixml->create_document( ).
Fill root node with value flights
l_element_flights = l_document->create_simple_element(
name = 'flights'
parent = l_document ).
ENDAT.
AT NEW carrid.
Create element 'airline' as child of 'flights'
l_element_airline = l_document->create_simple_element(
name = 'airline'
parent = l_element_flights ).
Create attribute 'code' of node 'airline'
l_value = l_spfli-carrid.
l_rc = l_element_airline->set_attribute( name = 'code' value = l_value ).
Create attribute 'name' of node 'airline'
SELECT SINGLE carrname FROM scarr INTO l_value WHERE carrid EQ l_spfli-carrid.
l_rc = l_element_airline->set_attribute( name = 'name' value = l_value ).
ENDAT.
AT NEW connid.
Create element 'flight' as child of 'airline'
l_element_flight = l_document->create_simple_element(
name = 'flight'
parent = l_element_airline ).
Create attribute 'number' of node 'flight'
l_value = l_spfli-connid.
l_rc = l_element_flight->set_attribute( name = 'number' value = l_value ).
ENDAT.
Create element 'from' as child of 'flight'
CONCATENATE l_spfli-cityfrom ',' l_spfli-countryfr INTO l_value.
l_element_from = l_document->create_simple_element(
name = 'from'
value = l_value
parent = l_element_flight ).
Create attribute 'airport' of node 'from'
l_value = l_spfli-airpfrom.
l_rc = l_element_from->set_attribute( name = 'airport' value = l_value ).
Create element 'to' as child of 'flight'
CONCATENATE l_spfli-cityto ',' l_spfli-countryto INTO l_value.
l_element_to = l_document->create_simple_element(
name = 'to'
value = l_value
parent = l_element_flight ).
Create attribute 'airport' of node 'from'
l_value = l_spfli-airpto.
l_rc = l_element_to->set_attribute( name = 'airport' value = l_value ).
Create element 'departure' as child of 'flight'
l_value = l_spfli-deptime.
l_element_dummy = l_document->create_simple_element(
name = 'departure'
value = l_value
parent = l_element_flight ).
Create element 'arrival' as child of 'flight'
l_value = l_spfli-arrtime.
l_element_dummy = l_document->create_simple_element(
name = 'arrival'
value = l_value
parent = l_element_flight ).
Create element 'type' as child of 'flight'
CASE l_spfli-fltype.
WHEN 'X'.
l_value = 'Charter'.
WHEN OTHERS.
l_value = 'Scheduled'.
ENDCASE.
l_element_dummy = l_document->create_simple_element(
name = 'type'
value = l_value
parent = l_element_flight ).
ENDLOOP.
IF sy-subrc NE 0.
MESSAGE 'No data into db table ''spfli'', please run program ''SAPBC_DATA_GENERATOR'' with transaction ''SA38''' TYPE 'E'.
ENDIF.
Creating a stream factory
l_streamfactory = l_ixml->create_stream_factory( ).
Connect internal XML table to stream factory
l_ostream = l_streamfactory->create_ostream_itable( table = l_xml_table ).
Rendering the document
l_renderer = l_ixml->create_renderer( ostream = l_ostream
document = l_document ).
l_rc = l_renderer->render( ).
Saving the XML document
l_xml_size = l_ostream->get_num_written_raw( ).
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
bin_filesize = l_xml_size
filename = 'c:\temp\flights.xml'
filetype = 'BIN'
CHANGING
data_tab = l_xml_table
EXCEPTIONS
OTHERS = 24.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
<?xml version="1.0"?>
<flights>
<airline code="AA" name="American Airlines">
<flight number="0017">
<from airport="JFK">NEW YORK,US</from>
<to airport="SFO">SAN FRANCISCO,US</to>
<departure>110000</departure>
<arrival>140100</arrival>
<type>Scheduled</type>
</flight>
<flight number="0064">
<from airport="SFO">SAN FRANCISCO,US</from>
<to airport="JFK">NEW YORK,US</to>
<departure>090000</departure>
<arrival>172100</arrival>
<type>Scheduled</type>
</flight>
</airline>
<airline code="AZ" name="Alitalia">
<flight number="0555">
<from airport="FCO">ROME,IT</from>
<to airport="FRA">FRANKFURT,DE</to>
<departure>190000</departure>
<arrival>210500</arrival>
<type>Scheduled</type>
</flight>
<flight number="0788">
<from airport="FCO">ROME,IT</from>
<to airport="TYO">TOKYO,JP</to>
<departure>120000</departure>
<arrival>085500</arrival>
<type>Scheduled</type>
</flight>
<flight number="0789">
<from airport="TYO">TOKYO,JP</from>
<to airport="FCO">ROME,IT</to>
<departure>114500</departure>
<arrival>192500</arrival>
<type>Scheduled</type>
</flight>
<flight number="0790">
<from airport="FCO">ROME,IT</from>
<to airport="KIX">OSAKA,JP</to>
<departure>103500</departure>
<arrival>081000</arrival>
<type>Charter</type>
</flight>
</airline>
<airline code="DL" name="Delta Airlines">
<flight number="1984">
<from airport="SFO">SAN FRANCISCO,US</from>
<to airport="JFK">NEW YORK,US</to>
<departure>100000</departure>
<arrival>182500</arrival>
<type>Scheduled</type>
</flight>
<flight number="1699">
<from airport="JFK">NEW YORK,US</from>
<to airport="SFO">SAN FRANCISCO,US</to>
<departure>171500</departure>
<arrival>203700</arrival>
<type>Scheduled</type>
</flight>
<flight number="0106">
<from airport="JFK">NEW YORK,US</from>
<to airport="FRA">FRANKFURT,DE</to>
<departure>193500</departure>
<arrival>093000</arrival>
<type>Scheduled</type>
</flight>
</airline>
<airline code="JL" name="Japan Airlines">
<flight number="0407">
<from airport="NRT">TOKYO,JP</from>
<to airport="FRA">FRANKFURT,DE</to>
<departure>133000</departure>
<arrival>173500</arrival>
<type>Scheduled</type>
</flight>
<flight number="0408">
<from airport="FRA">FRANKFURT,DE</from>
<to airport="NRT">TOKYO,JP</to>
<departure>202500</departure>
<arrival>154000</arrival>
<type>Charter</type>
</flight>
</airline>
<airline code="LH" name="Lufthansa">
<flight number="2407">
<from airport="TXL">BERLIN,DE</from>
<to airport="FRA">FRANKFURT,DE</to>
<departure>071000</departure>
<arrival>081500</arrival>
<type>Scheduled</type>
</flight>
<flight number="2402">
<from airport="FRA">FRANKFURT,DE</from>
<to airport="SXF">BERLIN,DE</to>
<departure>103000</departure>
<arrival>113500</arrival>
<type>Scheduled</type>
</flight>
<flight number="0402">
<from airport="FRA">FRANKFURT,DE</from>
<to airport="JFK">NEW YORK,US</to>
<departure>133000</departure>
<arrival>150500</arrival>
<type>Charter</type>
</flight>
<flight number="0401">
<from airport="JFK">NEW YORK,US</from>
<to airport="FRA">FRANKFURT,DE</to>
<departure>183000</departure>
<arrival>074500</arrival>
<type>Scheduled</type>
</flight>
<flight number="0400">
<from airport="FRA">FRANKFURT,DE</from>
<to airport="JFK">NEW YORK,US</to>
<departure>101000</departure>
<arrival>113400</arrival>
<type>Scheduled</type>
</flight>
</airline>
<airline code="QF" name="Qantas Airways">
<flight number="0005">
<from airport="SIN">SINGAPORE,SG</from>
<to airport="FRA">FRANKFURT,DE</to>
<departure>225000</departure>
<arrival>053500</arrival>
<type>Scheduled</type>
</flight>
<flight number="0006">
<from airport="FRA">FRANKFURT,DE</from>
<to airport="SIN">SINGAPORE,SG</to>
<departure>205500</departure>
<arrival>150500</arrival>
<type>Scheduled</type>
</flight>
</airline>
<airline code="SQ" name="Singapore Airlines">
<flight number="0988">
<from airport="SIN">SINGAPORE,SG</from>
<to airport="TYO">TOKYO,JP</to>
<departure>163500</departure>
<arrival>001500</arrival>
<type>Scheduled</type>
</flight>
<flight number="0158">
<from airport="SIN">SINGAPORE,SG</from>
<to airport="JKT">JAKARTA,ID</to>
<departure>152500</departure>
<arrival>160000</arrival>
<type>Scheduled</type>
</flight>
<flight number="0015">
<from airport="SFO">SAN FRANCISCO,US</from>
<to airport="SIN">SINGAPORE,SG</to>
<departure>160000</departure>
<arrival>024500</arrival>
<type>Scheduled</type>
</flight>
<flight number="0002">
<from airport="SIN">SINGAPORE,SG</from>
<to airport="SFO">SAN FRANCISCO,US</to>
<departure>170000</departure>
<arrival>192500</arrival>
<type>Scheduled</type>
</flight>
</airline>
<airline code="UA" name="United Airlines">
<flight number="0941">
<from airport="FRA">FRANKFURT,DE</from>
<to airport="SFO">SAN FRANCISCO,US</to>
<departure>143000</departure>
<arrival>170600</arrival>
<type>Scheduled</type>
</flight>
<flight number="3504">
<from airport="SFO">SAN FRANCISCO,US</from>
<to airport="FRA">FRANKFURT,DE</to>
<departure>150000</departure>
<arrival>103000</arrival>
<type>Scheduled</type>
</flight>
<flight number="3516">
<from airport="JFK">NEW YORK,US</from>
<to airport="FRA">FRANKFURT,DE</to>
<departure>162000</departure>
<arrival>054500</arrival>
<type>Scheduled</type>
</flight>
<flight number="3517">
<from airport="FRA">FRANKFURT,DE</from>
<to airport="JFK">NEW YORK,US</to>
<departure>104000</departure>
<arrival>125500</arrival>
<type>Scheduled</type>
</flight>
</airline>
</flights>
Regards,
Amit
Reward all helpful replies.
Maybe you are looking for
-
Currently the inset margins I set for caption text in the gallery widget resets to zero when previewed on different iPads. These are galleries with different images and the captions are set to "individual caption per image" in the interaction panel.
-
Vertical printing in smartforms using '^FWR' command
Hi I checked our post on SDN about the vertical printing problem but have not been able to find a suitable answer. We have been facing this problem from quite a long time now and have not been able to come to a solution. The steps i have done are as
-
when i touched my screen it went large like the screen was too small for the text tried turning off then on its still the same i cant use it like this does anyone know how to fix it please help
-
Migrating Essbase from 7.1.6 to 11.1.2.2 in Unix Environment
Hi Experts, we are going to migrate Essbase from 7.1.6 to 11.1.2.2 in unix environment. We have heard that we cant migrate directly from 7.X to 11.X Version. If so, then how can we proceed. Please suggest the steps to follow and documents to proceed
-
Issues opening attachments 800w
I have a 800w with Windows mobile 6.1 connecting to a 2003 Exchange SP2 server. Everything is syncing just fine with active sync but when I try to open a attachment I get nothing. It looks like its downloading but never turns the icon to a real ico