Insert data to tabe in interface web oracle
Hello.I created and inserted the data from my database using SQL more.
all tables created sucsefully and I can see them YES.
but all rows in tables shown empety (this means under the lines, the column is empety not 0).
now how to check the data that I inserted in the tables? I can see them in YES? (web interface)
is not anyway to see the data in the web interface (web console in EM)?
Don't know what your problem is... in EM you choose schema tab, in "Data objects" you select Tables, and then select a schema, and you can see the list of tables: you choose a table and in Actions, you choose 'view data '. It does not work?
Tags: Database
Similar Questions
-
Insert data into Oracle DB from MS Access Forms
Dear professionals,
How to insert data into the table that reside in the Oracle DB through MS Access forms?
We have already created ODBC link tables Oracle allows you to select data, and it works.
Unfortunately, we can select only the data, but insert, delete and update are not available via MS Access form, even if the user has all permissions on the oracle DB (grant select, insert, update, delete on oracle_table to access_user).
driver: Microsoft ODBC for Oracle
MS Access 2003
Oracle DB 10.2
THX in advance,
AdnanOne would need to know what means "not available". You get a specific error? As far as I know your statement is simply incorrect.
There are perhaps incompatibilties between DLLs Microsoft and Oracle, I would avoid the Microsoft ODBC for Oracle driver like the plague!---------
Sybrand Bakker
Senior Oracle DBA -
inserting data in Oracle 9i XML
Hello
I want to insert xml data in a table (crmk_kplusdata).
The procedure runs without error, but no data is inserted into the table.
because the loop exits without a single iteration
My procedure is as follows...
create or replace procedure CRM_UploadKPLUS
(
v_xmlstr IN CLOB,
V_RETURNMSG OUT VARCHAR2
)
AS
XMLTYPE details;
BEGIN
Details: = xmltype.createxml (v_xmlstr);
delete from crmk_kplusdata;
for j IN
(
SELECT XMLTYPE. Extract(value (a), ' Table/Location/text()').getstringval (LIKE v_str1),)
XMLTYPE. Extract(value (a), ' Table/CountriesGrp_Id/text()').getstringval (LIKE v_str2),)
XMLTYPE. Extract(value (a), ' Table/CountriesGrp_ShortName/text()').getstringval (LIKE v_str3),)
XMLTYPE. Extract(value (a), ' Table/Countries_ShortName/text()').getstringval (LIKE v_str4),)
XMLTYPE. Extract(value (a), ' Table/LimitsTypes_ShortName/text()').getstringval (LIKE v_str5),)
XMLTYPE. Extract(value (a), ' Table/DealsGroup/text()').getstringval (LIKE v_str6),)
XMLTYPE. Extract(value (a), ' Table/KdbTables_DisplayName/text()').getstringval (LIKE v_str7),)
XMLTYPE. Extract(value (a), ' Table/DealId/text()').getstringval (LIKE v_str8),)
XMLTYPE. Extract(value (a), ' Table/TradeDate/text()').getstringval (LIKE v_str9),)
XMLTYPE. Extract(value (a), ' Table/MaturityDate/text()').getstringval (LIKE v_str10),)
XMLTYPE. Extract(value (a), ' Table/Kind/text()').getstringval (LIKE v_str11),)
XMLTYPE. Extract(value (a), ' Table/C_Cpty_ShortName/text()').getstringval (LIKE v_str12),)
XMLTYPE. Extract(value (a), ' Table/I_Cpty_ShortName/text()').getstringval (LIKE v_str13),)
XMLTYPE. Extract(value (a), ' Table/FoldersGrp_ShortName/text()').getstringval (LIKE v_str14),)
XMLTYPE. Extract(value (a), ' Table/Currencies_ShortName/text()').getstringval (LIKE v_str15),)
XMLTYPE. Extract(value (a), ' Table/F_Folders_ShortName/text()').getstringval (LIKE v_str16),)
XMLTYPE. Extract(value (a), ' Table/T_TypeOfInstr_ShortName/text()').getstringval (LIKE v_str17),)
XMLTYPE. Extract(value (a), ' Table/Cu_Currencies_ShortName/text()').getstringval (LIKE v_str18),)
XMLTYPE. Extract(value (a), ' Table/D_Amount/text()').getstringval (LIKE v_str19),)
XMLTYPE. Extract(value (a), ' Table/D_Market/text()').getstringval (LIKE v_str20),)
XMLTYPE. Extract(value (a), ' Table/D_Sensitivity/text()').getstringval (LIKE v_str21),)
XMLTYPE. Extract(value (a), ' Table/L_Amount/text()').getstringval (LIKE v_str22),)
XMLTYPE. Extract(value (a), ' Table/Column1/text()').getstringval (LIKE v_str23),)
XMLTYPE. Extract(value (a), ' Table/D_IssueToMat/text()').getstringval (LIKE v_str24),)
XMLTYPE. Extract(value (a), ' Table/D_SettlToMat/text()').getstringval (LIKE v_str25),)
XMLTYPE. Extract(value (a), ' Table/Column2/text()').getstringval (LIKE v_str26),)
XMLTYPE. Extract(value (a), ' Table/KdbTables_Id/text()').getstringval (LIKE v_str27),)
XMLTYPE. Extract(value (a), ' Table/Cpty_Id/text()').getstringval (LIKE v_str28),)
XMLTYPE. Extract(value (a), ' Table/CptyType/text()').getstringval (LIKE v_str29),)
XMLTYPE. Extract(value (a), ' Table/LegalStatus/text()').getstringval (LIKE v_str30),)
XMLTYPE. Extract(value (a), ' Table/Countries_ShortName1/text()').getstringval (LIKE v_str31),)
XMLTYPE. Extract(value (a), ' Table/Column3/text()').getstringval (LIKE v_str32),)
XMLTYPE. Extract(value (a), ' Table/Column4/text()').getstringval (LIKE v_str33),)
XMLTYPE. Extract(value (a), ' Table/Column5/text()').getstringval (AS v_str34))
TABLE
(XMLSEQUENCE(Details.EXTRACT('/NewDataSet/Table'))
) a
)
LOOP
insert into crmk_kplusdata
(
location, countriesgrp_id, countriesgrp_shortname, riskcountry,
limitstypes_shortname, dealsgroup, kdbtables_displayname,
dealid, tradedate, maturitydate, kind, c_cpty_shortname,
i_cpty_shortname, foldersgrp_shortname, lt_currencies_shortname,
f_folders_shortname, t_typeofinstr_shortname, cu_currencies_shortname,
d_amount, d_market, d_sensitivity, l_amount, exhibition, d_issuetomat,
limitsid, tableid, c_cpty_id, cptytype, d_settltomat, legalstatus,
parentcountry, ratingriskcountry, ratingparentcountry
)
values
(
j.v_str1, j.v_str2, j.v_str3, j.v_str4,
j.v_str5, j.v_str6, j.v_str7,
j.v_str8, j.v_str9, j.v_str10, j.v_str11, j.v_str12,
j.v_str13, j.v_str14, j.v_str15,
j.v_str16, j.v_str17, j.v_str18,
j.v_str19, j.v_str20, j.v_str21, j.v_str22, j.v_str23, j.v_str24, j.v_str25, j.v_str26,
j.v_str27, j.v_str28, j.v_str29, j.v_str30, j.v_str31,
j.v_str32, j.v_str33
) ;
END LOOP;
commit;
V_RETURNMSG: = 'Data inserted successfully in KPLUS DATA';
EXCEPTION WHEN OTHERS THEN
ROLLBACK;
V_RETURNMSG: = 'error in inserting DATA KPLUS' | SQLERRM;
END;
This is my XML:
< NewDataSet > < Table > < location > IB < / location > < CountriesGrp_Id > 22444 < / CountriesGrp_Id > < CountriesGrp_ShortName > IND < / CountriesGrp_ShortName > < Countries_ShortName > IND < / Countries_ShortName > < LimitsTypes_ShortName > IBANK-AGG < / LimitsTypes_ShortName > < DealsGroup > derived < / DealsGroup > < KdbTables_DisplayName > Bond Deals < / KdbTables_DisplayName > < DealId > 19873 < / DealId > < TradeDate > 2002-02-20T 10: 39:24.2860000 + 05:30 < /. TradeDate > < MaturityDate > 2012-02-20T 10: 39:24.2860000 + 05:30 < / MaturityDate > < Type > U < / friendly > < C_Cpty_ShortName > UTIBAN-MUM < / C_Cpty_ShortName > < I_Cpty_ShortName > POWER-END < / I_Cpty_ShortName > < FoldersGrp_ShortName > IBANK-ALL < / FoldersGrp_ShortName > < Currencies_ShortName > INR < / Currencies_ShortName > < F_Folders_ShortName > IBSTCSL-PS < / F_Folders_ShortName > < T_TypeOfInstr_ShortName > BNDTAX < / T_TypeOfInstr_ShortName > < Cu_Currencies_ShortName > INR < / Cu_Currencies_ShortName > < D_Amount > 50000000 < / D_Amount > < D_Market > - 58006934.2465 < / D_Market > < D_Sensitivity > 13662.277390219413 < / D_Sensitivity > < L_Amount >-50000000 < / L_Amount > < C Column1 > < / Column1 > < D_IssueToMat > 3652 < / D_IssueToMat > < D_SettlToMat > 3652 < / D_SettlToMat > < Column2 > 0 < / Column2 > < KdbTables_Id > 97 < / KdbTables_Id > < Cpty_Id > 15226 < / Cpty_Id > < CptyType > B < / CptyType > < LegalStatus > HO < / LegalStatus > < IND Countries_ShortName1 > < / Countries_ShortName1 > < Column3 > 0 < / Column3 > < column4 > 0 < / column4 > < column 5 K > < / column 5 > < / Table > < / NewDataSet >Should be as simple as
.... INSERT INTO crmk_kplusdata SELECT EXTRACTVALUE (t2.COLUMN_VALUE, 'Table/Location') location, EXTRACTVALUE (t2.COLUMN_VALUE, 'Table/CountriesGrp_Id') countriesgrp_id, EXTRACTVALUE (t2.COLUMN_VALUE, 'Table/CountriesGrp_ShortName') countriesgrp_shortname, ........ FROM table ( XMLSEQUENCE (xmltype (v_xmlstr).EXTRACT ('NewDataSet/Table')) ) t2; .....
-
Detail table data control not insert data
Hello
I use JDev 11.1.2.4 and fusion web application, I have 2 main table and, when I run APP module and insert data in the table in detail its registered successfully, but when I drag the VO of the data control to af:form some data and other will be null.
Any suggestion?
Concerning
Finally I found the solution
-
RESTful service cannot insert data using PL/SQL.
Hi all
Spin: stand-alone 2.01 AL on OEL 4.8 in box a. VM
Database Oracle 10.2.0.4 with Apex 4.2.0.00.27 on OEL4.8 in the VM B box.
Measure of oracle.example.hr performed without problem Restful services.
Cannot insert data using AL 2.0.1 but works on 1.1.4 AL.
who uses the following table (under scheme: scott):
and procedure (scott diagram) below:create table json_demo ( title varchar2(20), description varchar2(1000) ); grant all on json_demo to apex_public_user;
and execution in sqldeveloper 3.2.20.09 when it connects directly to box B as scott:CREATE OR REPLACE PROCEDURE post( p_url IN VARCHAR2, p_message IN VARCHAR2, p_response OUT VARCHAR2) IS l_end_loop BOOLEAN := false; l_http_req utl_http.req; l_http_resp utl_http.resp; l_buffer CLOB; l_data VARCHAR2(20000); C_USER_AGENT CONSTANT VARCHAR2(4000) := 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)'; BEGIN -- source: http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/ -- Ask UTL_HTTP not to raise an exception for 4xx and 5xx status codes, -- rather than just returning the text of the error page. utl_http.set_response_error_check(false); -- Begin the post request l_http_req := utl_http.begin_request (p_url, 'POST', utl_http.HTTP_VERSION_1_1); -- Set the HTTP request headers utl_http.set_header(l_http_req, 'User-Agent', C_USER_AGENT); utl_http.set_header(l_http_req, 'content-type', 'application/json;charset=UTF-8'); utl_http.set_header(l_http_req, 'content-length', LENGTH(p_message)); -- Write the data to the body of the HTTP request utl_http.write_text(l_http_req, p_message); -- Process the request and get the response. l_http_resp := utl_http.get_response (l_http_req); dbms_output.put_line ('status code: ' || l_http_resp.status_code); dbms_output.put_line ('reason phrase: ' || l_http_resp.reason_phrase); LOOP EXIT WHEN l_end_loop; BEGIN utl_http.read_line(l_http_resp, l_buffer, true); IF(l_buffer IS NOT NULL AND (LENGTH(l_buffer)>0)) THEN l_data := l_data||l_buffer; END IF; EXCEPTION WHEN utl_http.end_of_body THEN l_end_loop := true; END; END LOOP; dbms_output.put_line(l_data); p_response:= l_data; -- Look for client-side error and report it. IF (l_http_resp.status_code >= 400) AND (l_http_resp.status_code <= 499) THEN dbms_output.put_line('Check the URL.'); utl_http.end_response(l_http_resp); -- Look for server-side error and report it. elsif (l_http_resp.status_code >= 500) AND (l_http_resp.status_code <= 599) THEN dbms_output.put_line('Check if the Web site is up.'); utl_http.end_response(l_http_resp); RETURN; END IF; utl_http.end_response (l_http_resp); EXCEPTION WHEN OTHERS THEN dbms_output.put_line (sqlerrm); raise; END;
leading to:SET serveroutput ON DECLARE l_url VARCHAR2(200) :='http://MY_IP:8585/apex/demo'; l_json VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}'; l_response VARCHAR2(30000); BEGIN post( p_url => l_url, p_message =>l_json, p_response => l_response); END;
Installation using 2.0.1anonymous block completed status code: 200 reason phrase: OK with data inserted.
and execution in sqldeveloper 3.2.20.09 when it connects directly to box B as scott:Workspace : wsdemo RESTful Service Module: demo/ URI Template: test Method: POST Source Type: PL/SQL
leading to:SET serveroutput ON DECLARE l_url VARCHAR2(200) :='http://MY_IP:8585//apex/wsdemo/demo/test'; l_json VARCHAR2(20000) := '{"title":"thetitle","description":"thedescription"}'; l_response VARCHAR2(30000); BEGIN post( p_url => l_url, p_message =>l_json, p_response => l_response); END;
Please notify.status code: 500 reason phrase: Internal Server Error Listener's log: Request Path passes syntax validation Mapping request to database pool: PoolMap [_poolName=apex, _regex=null, _workspaceIdentifier=WSDEMO, _failed=false, _lastUpdate=1364313600000, _template=/wsdemo/, _type=BASE_PATH] Applied database connection info Attempting to process with PL/SQL Gateway Not processed as PL/SQL Gateway request Attempting to process as a RESTful Service demo/test matches: demo/test score: 0 Choosing: oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as current candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] Determining if request can be dispatched as a Tenanted RESTful Service Request path has one path segment, continuing processing Tenant Principal already established, cannot dispatch Chose oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as the final candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=2648625079503782|2797815111031405, uriTemplate=demo/test], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: POST demo/test demo/test is a public resource Using generator: oracle.dbtools.rt.plsql.AnonymousBlockGenerator Performing JDBC request as: SCOTT Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute INFO: Error occurred during execution of: [CALL, begin insert into scott.json_demo values(/*in:title*/?,/*in:description*/?); end;, [title, in, class oracle.dbtools.common.stmt.UnknownParameterType], [description, in, class oracle.dbtools.common.stmt.UnknownParameterType]]with values: [thetitle, thedescription] Mar 28, 2013 1:29:28 PM oracle.dbtools.common.jdbc.JDBCCallImpl execute INFO: ORA-06550: line 1, column 6: PLS-00103: Encountered the symbol "" when expecting one of the following: begin case declare exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-identifier> <a bind variable> << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe The symbol "" was ignored. ORA-06550: line 2, column 74: PLS-00103: Encountered the symbol "" when expecting one of the following: begin case declare end exception exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-id java.sql.SQLException: ORA-06550: line 1, column 6: PLS-00103: Encountered the symbol "" when expecting one of the following: begin case declare exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-identifier> <a bind variable> << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe The symbol "" was ignored. ORA-06550: line 2, column 74: PLS-00103: Encountered the symbol "" when expecting one of the following: begin case declare end exception exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-id at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396) at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531) at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:205) at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1043) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612) at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713) at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4755) at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378) 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:597) at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:242) at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124) at oracle.ucp.jdbc.proxy.CallableStatementProxyFactory.invoke(CallableStatementProxyFactory.java:101) at $Proxy46.execute(Unknown Source) at oracle.dbtools.common.jdbc.JDBCCallImpl.execute(JDBCCallImpl.java:44) at oracle.dbtools.rt.plsql.AnonymousBlockGenerator.generate(AnonymousBlockGenerator.java:176) at oracle.dbtools.rt.resource.templates.v2.ResourceTemplatesDispatcher$HttpResourceGenerator.response(ResourceTemplatesDispatcher.java:309) at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:88) at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:412) at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059) at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999) at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434) at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:65) at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179) at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:662) Error during evaluation of resource template: ORA-06550: line 1, column 6: PLS-00103: Encountered the symbol "" when expecting one of the following: begin case declare exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-identifier> <a bind variable> << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe The symbol "" was ignored. ORA-06550: line 2, column 74: PLS-00103: Encountered the symbol "" when expecting one of the following: begin case declare end exception exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-id
Concerning
ZackZack.L wrote:
Hi Andy,.Sorry, I forgot to post the Source that is used by the AL1.1.4 and the AL2.0.1.
Source
begin insert into scott.json_demo values(:title,:description); end;
It is a failure during insertion?
Yes, he failed in the insert using AL2.0.1.If the above statement produces the following error message:
The symbol "" was ignored. ORA-06550: line 2, column 74: PLS-00103: Encountered the symbol "" when expecting one of the following: begin case declare end exception exit for goto if loop mod null pragma raise return select update while with
That gives me to think that a character is not printable (notice how there is anything between the quotation marks - "") worked his way in your PL/SQL Manager. Note how the error is reported to correspond to a column 74 on line 2, line 2 of the block above has 58 characters, so a pure assumption somehow, there is extra space on line 2, which confuses the PL/SQL compiler, I suggest retype PL/SQL Manager manually and see if that solves the problem.
-
SOA calling a MS SQL table to insert data.
Hello
I configured a XA driver to insert data into the MS SQL Server table. When I execute the stream with a SOAP user interface. I was able to insert the data from MS SQL table. But in the end, the transaction is rolled back.
I would ask you
< soapenv:Envelope xmlns:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/' xmlns:mvn = "http://xmlns.oracle.com/MVNEIDM/MVNESelfRegistration/MVNESelfRegistration" >
< soapenv:Header / >
< soapenv:Body >
< mvn:MVNESelfRegistrationRequest >
< mvn:subscriberId > 12345 < / mvn:subscriberId >
< mvn:Keyword > 456 < / mvn:Keyword >
< mvn:completionDt > 2013-02-06 T 16: 24:06.952 < / mvn:completionDt >
< mvn:expirationdt > 2013-02-06 T 16: 24:06.952 < / mvn:expirationdt >
< / mvn:MVNESelfRegistrationRequest >
< / soapenv:Body >
< / soapenv:Envelope >
Erros on SOAP UI are:
< env:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:env >
< env:Header / >
< env:Body >
< env:Fault >
env:Server < faultcode > < / faultcode >
incorrect object name < faultstring > [FMWGEN] [SQLServer JDBC Driver] [SQL Server] ' dbo. SelfRegistration'. < / faultstring >
< faultactor / >
< detail >
< exception / >
< / details >
< / env:Fault >
< / env:Body >
< / env:Envelope >
The managed server log the error is
Form weblogic server: -.
Error committing transaction:; nested exception is: Exception [EclipseLink-4002] (Eclipse - 2.1.3.v20110304 persistence Services - r9073): org.eclipse.persistence.exceptions.DatabaseException internal Exception: weblogic.jdbc.sqlserverbase.ddc: invalid object name [FMWGEN] [SQLServer JDBC Driver] [SQL Server] ' dbo. SelfRegistration'. Error code: 208
The process ends with an error, but why he is rolling abck the transaction at the end. The table of the object was existing in the database and I traced the table to insert the data from the input variable reception to invoke the input variable. BPEL Instance he executed until the end, but in the end, the transaction is rolled back.
Thank you
Newcomer RajaInvalid object name ' dbo. SelfRegistration'
I'm assuming you can see a SelfRegistration table in your database... So, I guess that BOD is not the name of the diagram on the right...
-
Using the data logged in an interface with the aggragate function
Hello
I'm trying to use logged data from a source table in one of my interfaces in ODI. The problem is that one of the mappings on the columns target implies a function (sum) overall. When I run the interface, I get an error saying not "a group by expression. I checked the code and found that the columns jrn_subscriber, jrn_flag, and jrn_date are included in the select statement, but not in the group by statement (the statement group contains only remiaining two columns of the target table).
Is there a way to get around this? I have to manually change the km? If so how would I go to do it?
Also I'm using Oracle GoldenGate JKM (OGG oracle for oracle).
Thanks and really appreciate the help
Ajay"ORA-00979"when the CDC feature (logging) using ODI with Modules of knowledge including the aggregate SQL function works [ID 424344.1]
Updated 11 March 2009 Type status MODERATE PROBLEMIn this Document
Symptoms
Cause
Solution
Alternatives:This document is available to you through process of rapid visibility (RaV) of the Oracle's Support and therefore was not subject to an independent technical review.
Applies to:
Oracle Data Integrator - Version: 3.2.03.01
This problem can occur on any platform.
Symptoms
After successfully testing UI integration ODI using a function of aggregation such as MIN, MAX, SUM, it is necessary to implement change using tables of Journalized Data Capture operations.However, during the execution of the integration Interface to retrieve only records from Journalized, has problems to step load module loading knowledge data and the following message appears in the log of ODI:
ORA-00979: not a GROUP BY expression
Cause
Using the two CDC - logging and functions of aggregation gives rise to complex problems.
SolutionTechnically, there is a work around for this problem (see below).
WARNING: Problem of engineers Oracle a severe cautioned that such a type of establishment may give results that are not what could be expected. This is related to how ODI logging is applied in the form of specific logging tables. In this case, the aggregate function works only on the subset that is stored (referenced) in the table of logging and on completeness of the Source table.We recommend that you avoid this type of integration set ups Interface.
Alternatives:1. the problem is due to the JRN_ * missing columns in the clause of "group by" SQL generated.
The work around is to duplicate the knowledge (LKM) loading Module and the clone, change step "Load Data" by editing the tab 'Source on command' and substituting the following statement:
<%=odiRef.getGrpBy()%>with
<%=odiRef.getGrpBy()%>
<%if ((odiRef.getGrpBy().length() > 0) && (odiRef.getPop("HAS_JRN").equals("1"))) {%>
JRN_FLAG, JRN_SUBSCRIBER, JRN_DATE
<%}%>2. it is possible to develop two alternative solutions:
(a) develop two separate and distinct integration Interfaces:
* The first integration Interface loads the data into a temporary Table and specify aggregate functions to use in this initial integration Interface.
* The second integration Interfaces uses the temporary Table as Source. Note that if you create the Table in the Interface, it is necessary to drag and drop Interface for integration into the Source Panel.(b) define the two connections to the database so that separate and distinct references to the Interface of two integration server Data Sources (one for the newspaper, one of the other Tables). In this case, the aggregate function will be executed on the schema of the Source.
Display related information regarding
Products* Middleware > Business Intelligence > Oracle Data Integrator (ODI) > Oracle Data Integrator
Keywords
ODI; AGGREGATE; ORACLE DATA INTEGRATOR; KNOWLEDGE MODULES; CDC; SUNOPSIS
Errors
ORA-979Please find above the content of the RTO.
It should show you this if you search this ID in the Search Knowledge BaseSee you soon
Sachin -
Advance access insert data using ViewObjects
Hello
I'm trying to access the data before insertion (before execution of super.doCommit ()) using viewobjects, but I only get the validated data. Is it possible to get before inserting data using viewobjects?
The following Java code:
String amDef = "oracle.srdemo.model.AppModule";
Config = "AppModuleLocal";
Am = ApplicationModule
Configuration.createRootApplicationModule (amDef, config);
ViewObject vo = am.findViewObject("DatetestView1");
System.out.println ("query will return" + vo.getEstimatedRowCount () + "lines...");
vo.executeQuery ();
While (vo.hasNext ()) {}
Line curPerson = vo.next ();
System.out.println (VO.getCurrentRowIndex () +'.) "+
"curPerson.getAttribute ("Id") + ' ' + '.
curPerson.getAttribute ("Dataini"));
}
Configuration.releaseRootApplicationModule (am, true);
I use JDeveloper 11g, a Web of Fusion and ADF business components Application
Thanks in advance.You can only get data uncommitted in the session where you inserted or changed.
If you use createRoorApplicationModule(), you always get a new session (server side), therefore, you do not see the data not validated.Timo
-
Cannot use the native sequence of database to insert data through the DbAdapter
Hello
I use Oracle Fusion Middleware 12.1.3 (selection of pre-designed developer programs for Oracle VM VirtualBox VMs |) Oracle Technology Network). I'm trying to insert data into the Oracle database coming with the device via a DbAdapter. I want to use the native Oracle sequences for primary keys and have configured appropriatelly the DbAdapter. But in execution, I get the following exception:
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ('SCOTT'. "ORDERS '." (' ' ID ')
If I configure the such DbAdapter that do not use sequences, I get the same exception. I'm missing here?
Kind regards
Nicolas
Reading more carefully the exception, in the log file of the server, not just the display of messages in the console of the em, I could note that the ConnectionFactory configured on the outgoing Dbadapter connection used to access the database was incorrect. He was using JavaDb instead of Oracle that I made a mistake of copying and pasting. Correction of this error has resolved the problem.
-
Insert data into another database with a script
Hello.
What is the best way to insert data into one database with a script
INSERT INTO BF_PRUEBASMTP.bf_mtp_agr_inscription (ain_agreementid, ain_customerid, ain_paymethodsid, ain_servicemoduleid, referencia)
SELECT AAG. AAG_AGREEMENTID, ACU. ACU_CUSTOMERID, 2, 2, ins. NUMERO_REFERENCIA
OF BF_PRUEBASMTP.bf_mtp_agr_biller ABI
JOIN IN-HOUSE
BF_PRUEBASMTP. BF_MTP_AGR_AGREEMENT AAG ON ABI. ABI_BILLERID = AAG. AAG_BILLERID
INNER JOIN 'CLIENTEUNICO. ALMUERZO" ins
ON THE AAG. AAG_AGREEMENTID = ins. CONVENIOID
INNER JOIN BF_PRUEBASMTP.bf_mtp_agr_customer ACU
ON ACU.acu_typedocumentid = ins. TIPO_DOCUMENTO
AND ACU.acu_numberid = ins. NUMERO_DOCUMENTO;
CLIENTEUNICO. INSCRIPCIONES = SELECT * DE INSCRIPCIONES - to a DIFFERENT DATABASE
Thank you very much.
2931095 wrote:
If I don't have permissions to create a database link. Is there another way to do this?
Thank you.
link to database IS the method by which an Oracle database accesses to a different database.
If you are the ADMINISTRATOR, you should have permission.
If you are not the ADMINISTRATOR, you should not have permission and need to talk to the ADMINISTRATOR that is allowed.
-
Inserting data in several related tables using the database
Hello world
I'm working on a BPM application using Oracle BPM 11.1.1.5.0 and JDeveloper 11.1.1.5.0.
In my database, I have two tables, loan and guarantee that are related by a field named employeeID (PK on loan) and FK in warranty.
Each line can have several lines of guarantee.
At this point, I'm doing an entry form for the user to insert data in the two tables.
I did successfully before with a single table that has no relations.
The way I'm doing here is, after the creation of the database successfully adapter, a type of LoanCollection is created in the types module, which can be used to create business objects and data objects of.
The problem is when I create an object of type loanCollection process data and then create a UI generated automatically on that basis, only the fields in the primary table (the Table of loan) appear in the form.
On the other hand, if I create a business object based on the LoanSchema, the form for all of the two tables is created automatically (the loan as a form, the guarantee in a table), but then, when I try to access it in the section processing service mission which calls the database adapter, I have no access to such.
In fact, the only type which can be used in the service task is the process based on the loanCollection data object.
To summorize, I have to use the type of business for my UI object to include all the fields in both tables, so I have to use the data object from the collection process in the transformation of service task dialog box.
And I can't find a way to map to another.
Can someone help me with this please?
Thank you very muchTry to follow these steps.
1. create a new module in your catalogue our BPM project management section
2. in this new module create 3 Business Objects - (LoanBusinessObject, GuaranteeBusinessObject and GuaranteeArrayBusinessObject)
3. Add the attributes appropriate to the LoanBusinessObject and the GuaranteeBusinessObject so that they mimic your database tables, then to the GuaranteeArrayBusinessObject add an array of type attribute GuraranteeBusinessObject
4. now you need to create two process data objects, type loanProcessObject LoanBusinessObject and type guaranteesProcessObject GuaranteeArrayBusinessObject
5. as inputs to your human task adds the loanProcessObject and guaranteesProcessObject, these should now be available in your data controls and can be used to auto generate the form
6. in your dbadapter you'll then use XSL Transformation and use for each so that it will write the data to the ready table and all the line items of warranty for the warranty table. -
DB = XE
I imported some images exif data into an oracle table. Now, I want to insert data in some other tables.
I'm having trouble with the date and time data.
The export of exif contains the date and time like that;
2011:11:30 18:19:56
I tried to insert the data by using the following sql;
But it returns the following error;INSERT ALL INTO exif VALUES (exif) SELECT to_date(createdate,'YYYY/MM/DD HH24:MI:SS') FROM metadata;
I created a table like this;Error starting at line 13 in command: INSERT ALL INTO exif VALUES (exif) SELECT to_date(createdate,'YYYY/MM/DD HH24:MI:SS') FROM metadata Error at Command Line:14 Column:20 Error report: SQL Error: ORA-00904: "EXIF": invalid identifier 00904. 00000 - "%s: invalid identifier" *Cause: *Action:
Could someone tell me what is the problem?CREATE TABLE exif ( exif DATE );
See you soon
Ben
Published by: benton on December 7, 2011 15:31
Published by: benton on December 7, 2011 15:32Hello
INSERT ALL INTO exif(exif) SELECT to_date(createdate,'YYYY:MM:DD HH24:MI:SS') FROM metadata;
-
Insert data into the table particular
Hello
I have a requirement to insert data from table from Oracle 10 g to Oracle 9i table.
The pom_code table should be filled with gr_product table based on a specific schema of codes - i.e. If POM Code corresponds to a specific model, then it must belong to a specific company.
FROM :: Oracle 10g database gr_product pr_code varchar2(20 byte) pr_desc varchar2(80 byte)
To :: Oracle 9i database pom_code code varchar2(12 byte) desc varchar2(100 byte) companyid Number
Thank you1. All gr_product.pr_code with following pattern should go to pom_code.code and companyid =10 a. <one digit><.><two digit><alphabet> ex code: 1.01A b. <one digit><.><two digit><alphabet><space><two alphabet> ex code: 1.01B ZF 2. All gr_product.pr_code with following pattern should go to pom_code.code and companyid =20 a. <two digit><.><one digit><alphabet> ex code: 10.1A b. <two digit><.><one digit><alphabet><space><two alphabet> ex code: 10.5A HR 3. All gr_product.pr_code with following pattern should go to pom_code.code and companyid =30 a. <alphabet><.><two digit><alphabet> ex code: B.42A b. <alphabet><.><two digit><alphabet><space><two alphabet> ex code: N.10B AT
SandyHello
The CASE expression I posted earlier does what you want?
If so, please mark the thread as "answered".
If this isn't the case, after a complete script that people can run to recreate the problem and test their ideas. Includes TABLE of CASH and INSERT statements for some examples of data for all the tables, the results you want from these sample data and your request (or INSERT statement) using the CASE expression. Report where the code you posted does not have what you need and explain how to get good results in these places. -
Doubt about inserting data into a table
Hi all, when I try to insert data into a table through an anonymous block, the pl/sql block runs successfully, but the data are not get inserted. Can someone please tell me where I am doing wrong?
Thanks in advance!SQL> DECLARE 2 3 V_A NUMBER; 4 5 V_B NUMBER; 6 7 v_message varchar2(25); 8 9 10 BEGIN 11 12 13 select regal.regal_inv_landed_cost_seq.NEXTVAL into V_A from dual ; 14 15 select regal.regal_inv_landed_cost_seq.currval into V_B from dual ; 16 17 INSERT INTO rcv_transactions_interface 18 ( 19 INTERFACE_TRANSACTION_ID, 20 HEADER_INTERFACE_ID, 21 GROUP_ID, 22 TRANSACTION_TYPE, 23 TRANSACTION_DATE, 24 PROCESSING_STATUS_CODE, 25 PROCESSING_MODE_CODE, 26 TRANSACTION_STATUS_CODE, 27 QUANTITY, 28 LAST_UPDATE_DATE, 29 LAST_UPDATED_BY, 30 CREATION_DATE, 31 CREATED_BY, 32 RECEIPT_SOURCE_CODE, 33 DESTINATION_TYPE_CODE, 34 AUTO_TRANSACT_CODE, 35 SOURCE_DOCUMENT_CODE, 36 UNIT_OF_MEASURE, 37 ITEM_ID, 38 UOM_CODE, 39 EMPLOYEE_ID, 40 SHIPMENT_HEADER_ID, 41 SHIPMENT_LINE_ID, 42 TO_ORGANIZATION_ID, 43 SUBINVENTORY, 44 FROM_ORGANIZATION_ID, 45 FROM_SUBINVENTORY 46 ) 47 48 SELECT 49 regal.regal_inv_landed_cost_seq.nextval, --Interface_transaction_ id 50 V_A, --Header Interface ID 51 V_B, --Group ID 52 'Ship', --Transaction Type 53 sysdate, --Transaction Date 54 'PENDING', --Processing Status Code 55 'BATCH', --Processing Mode Code 56 'PENDING', --Transaction Status Cod e 57 lc.quantity_received, --Quantity 58 lc.last_update_date, --last update date 59 lc.last_updated_by, --last updated by 60 sysdate, --creation date 61 lc.created_by, --created by 62 'INVENTORY', --Receipt source Code 63 'INVENTORY', --Destination Type Code 64 'DELIVER' , --AUT Transact Code 65 'INVENTORY', --Source Document Code 66 msi.primary_uom_code , --Unit Of Measure 67 msi.inventory_item_id, --Item ID 68 msi.primary_unit_of_measure, --UOM COde 69 fnd.user_id, 70 V_A, --Shipment Header ID 71 V_B, --SHipment Line ID 72 82, --To Organization ID 73 'Brooklyn', --Sub Inventory ID 74 81, --From Organization 75 'Vessel' --From Subinventory 76 77 FROM 78 regal.regal_inv_landed_cost_tab lc, 79 fnd_user fnd, 80 mtl_system_items msi 81 82 WHERE 83 lc.organization_id = msi.organization_id 84 AND lc.inventory_item_id = msi.inventory_item_id 85 AND lc.created_by = fnd.created_by; 86 87 commit; 88 v_message := SQL%ROWCOUNT; 89 dbms_output.put_line('v_message'); 90 END; 91 / v_message PL/SQL procedure successfully completed. SQL> select * from rcv_transactions_interface; no rows selected
There is no problem with inserting data!
Only there is no data! This means that your select statement retrieves no rows.
You can see the output of your program (0). This means that there where no line in the result set.Please check the output of your tax return independently:
SELECT -- regal.regal_inv_landed_cost_seq.nextval, --Interface_transaction_id -- V_A, --Header Interface ID -- V_B, --Group ID 'Ship', --Transaction Type sysdate, --Transaction Date 'PENDING', --Processing Status Code 'BATCH', --Processing Mode Code 'PENDING', --Transaction Status Code lc.quantity_received, --Quantity lc.last_update_date, --last update date lc.last_updated_by, --last updated by sysdate, --creation date lc.created_by, --created by 'INVENTORY', --Receipt source Code 'INVENTORY', --Destination Type Code 'DELIVER' , --AUT Transact Code 'INVENTORY', --Source Document Code msi.primary_uom_code , --Unit Of Measure msi.inventory_item_id, --Item ID msi.primary_unit_of_measure, --UOM COde fnd.user_id, -- V_A, --Shipment Header ID -- V_B, --SHipment Line ID 82, --To Organization ID 'Brooklyn', --Sub Inventory ID 81, --From Organization 'Vessel' --From Subinventory FROM regal.regal_inv_landed_cost_tab lc, fnd_user fnd, mtl_system_items msi WHERE lc.organization_id = msi.organization_id AND lc.inventory_item_id = msi.inventory_item_id AND lc.created_by = fnd.created_by;
Published by: hm on 13.10.2011 23:19
I removed the references of the sequence and the variables V_A and YaeUb.
BTW: Why do you want to include V_A and YaeUb in two different columns?The use of sequences in your code seems a bit strange to me. But this has nothing to do with your question.
-
Inserting data block to the SPOUT making varchar2 (150) column with currupted
Hi Chris,
We are facing a problem with the insertion of bulk data on the BEAK in a table
Insert data block to the SPOUT making varchar2 (150) column in a table with the corrupted values.
column of first row inserted correct, but the second line, columns in the new row as null
We had trace OIC just before the insertion, these values are correctly coming
But integration doesn't work properly
Could you suggest, what could be the problem, we use the OIC during the client/server connection, this problem is for a direct connection alsoIn general, please do not post questions forum for questions where you have already opened a SR. This translates simply by duplication of efforts and is unlikely to lead to a faster resolution. If the problem is serious or complex that you opened a SR, it is very likely that anyone in the forum (including me) will have an instant response and it will probably ask a lot of questions and do a lot of research that is already made by Oracle support.
Thank you for your understanding and your cooperation.
Chris
Maybe you are looking for
-
Satellite M60-135 with 4 GB of RAM, is it possible?
Hello I have a M60-135 with installation of 2 * 512MB RAM on it. I had bought 2 * 2GB 800 MHz RAM, but when I install them, the laptop recognize the 2 GB.I have XP installed on the machine. Is there a way to make the device to recognize the 4 GB? In
-
I try to install the Download Manager audio bible, when this error screen appears. XML parsing error. any element that is on line 1
-
Command prompt flashes on and never time.
Hi all Need help. I get a window 'Command Prompt' flashing on and outside at the same time every hour. I managed to make a screenshot of it and it says the following "BITSADMIN version 3.0 [7.5.7601]. BITS administration utility. Copyright 2000 - 200
-
Cascade config Viodeo Simulator
Hi BB D,. I installed the BB 10 Simulator and need any video how config, Simulator is not automatically detected...
-
P2015d - printing yourself. Help!
Hello, everything was OK, but I got new PC with W7 64-bit. Download new soft ALL IN ONE from the site. Everything is OK, just each print session he print self a page with the following text GET DiscoveryTree.xml HTTP/1.1 /DevMgt Host: 127.0.0.1:8080