Insert record via data tab of table detail display
I am using SQL Developer 3.0.04
When I tries to insert more than 200 rows into a table via data tab of table detail display, it takes more than 8 minutes. It takes more than 19 minutes for 400+ rows. It is slow and it is not so slow in previous version (e.g. 1.5.4)
Had anyone experienced the same issue and is there any workaround (other than loading data via SQL loader and stop using SQL Developer)?
[Timer of SQL Developer 3.0| http://i.imgur.com/KVAdI.png]
I've seen this also sometimes but i rarely load large amount of data using SQLDeveloper anyway.
Please make sure you have patch1 installed and provide information on the database used.
You can check if patch1 is installed at the
Help -> About -> Extensionyou should find a "SQL Developer Patch" entry there.
Similar Messages
-
Insert old missing data from one table to another(databaase trigger)
Hello,
i want to do two things
1)I want to insert old missing data from one table to another through a database trigger but it can't be executed that way i don't know what should i do in case of replacing old data in table_1 into table_2
2)what should i use :NEW. OR :OLD. instead.
3) what should i do if i have records exising between the two dates
i want to surpress the existing records.
the following code is what i have but no effect occured.
CREATE OR REPLACE TRIGGER ATTENDANCEE_FOLLOWS
AFTER INSERT ON ACCESSLOG
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
V_COUNT NUMBER(2);
V_TIME_OUT DATE;
V_DATE_IN DATE;
V_DATE_OUT DATE;
V_TIME_IN DATE;
V_ATT_FLAG VARCHAR2(3);
V_EMP_ID NUMBER(11);
CURSOR EMP_FOLLOWS IS
SELECT EMPLOYEEID , LOGDATE , LOGTIME , INOUT
FROM ACCESSLOG
WHERE LOGDATE
BETWEEN TO_DATE('18/12/2008','dd/mm/rrrr')
AND TO_DATE('19/12/2008','dd/mm/rrrr');
BEGIN
FOR EMP IN EMP_FOLLOWS LOOP
SELECT COUNT(*)
INTO V_COUNT
FROM EMP_ATTENDANCEE
WHERE EMP_ID = EMP.EMPLOYEEID
AND DATE_IN = EMP.LOGDATE
AND ATT_FLAG = 'I';
IF V_COUNT = 0 THEN
INSERT INTO EMP_ATTENDANCEE (EMP_ID, DATE_IN ,DATE_OUT
,TIME_IN ,TIME_OUT,ATT_FLAG)
VALUES (TO_NUMBER(TO_CHAR(:NEW.employeeid,99999)),
TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'), -- DATE_IN
NULL,
TO_DATE(:NEW.LOGTIME,'HH24:MI:SS'), -- TIME_IN
NULL ,'I');
ELSIF V_COUNT > 0 THEN
UPDATE EMP_ATTENDANCEE
SET DATE_OUT = TO_DATE(:NEW.LOGDATE,'dd/mm/rrrr'), -- DATE_OUT,
TIME_OUT = TO_DATE(:NEW.LOGTIME,'HH24:MI:SS'), -- TIME_OUT
ATT_FLAG = 'O'
WHERE EMP_ID = TO_NUMBER(TO_CHAR(:NEW.employeeid,99999))
AND DATE_IN <= (SELECT MAX (DATE_IN )
FROM EMP_ATTENDANCEE
WHERE EMP_ID = TO_NUMBER(TO_CHAR(:NEW.employeeid,99999))
AND DATE_OUT IS NULL
AND TIME_OUT IS NULL )
AND DATE_OUT IS NULL
AND TIME_OUT IS NULL ;
END IF;
END LOOP;
EXCEPTION
WHEN OTHERS THEN RAISE;
END ATTENDANCEE_FOLLOWS ;
Regards,
Abdetu..INSERT INTO SALES_MASTER
( NO
, Name
, PINCODE )
SELECT SALESMANNO
, SALESMANNAME
, PINCODE
FROM SALESMAN_MASTER;Regards,
Christian Balz -
Insert record wizard date format
Hi,
How can i change the default insert from mm/dd/yyyy to uk format dd/mm/yyyy
currently if i insert 08/05/2010 which is the 8th may 2010 in uk it will put it into database as 2010/08/05 which when i retrieve is the 5th august 2010 in uk.
is there a config folder anywhere i can change this?
many thanksthanks bregent.
it is php/mysql
not sure what that other reply is about after yours but thanks for your advice.
is there no way in dreamweaver to change the preferences like in addt to a specific date format?
thanks
Date: Wed, 19 May 2010 12:25:47 -0600
From: [email protected]
To:
Subject: Dreamweaver Application Development Insert record wizard date format
You didn't mention what DBMS or scripting language you are using.
The best way to get dates from a user is to supply 3 fields for input; day, month, year - then assemble them into the string format that the DBMS is expecting.
> -
Issue while insert and update data to DB tables
Hello all,
i am having an issue while insert the data to DB table.
my scenario is DB1 to DB2. i had a sender channel with select query which fetches data from DB1 and inserts to DB2.
so the select query will fetch the records that were INSERTED to DB1 and records that were UPDATED to DB1 and needs to insert/update to DB2 table.
Now the issue is i am able to insert the records but not able toupdate the records to DB2 table due to primary key issue.
im message mapping
sender message type is as follows:
<src_message1>
----<row>
-------<fieldA>
-------<filedB>
-------<filedC>
Receiver message type as follows:
<trgt_message1>
----<STATEMENT_1>
----<TABLE_NAME>
----<ACTION> INSERT
----<TABLE>
----<ACCESS>
----<field1> primary key
----<field2>
----<field3>
----<field4>
----<KEY>
----<field1>
----<field2>
----<field3>
----<field4>
my query in sender channel is : select filedA, filedB, filedC from test_table where createdate=sysdate or updatedate=sysdate
so it feteches the data from DB1 and inserting to DB2 but not updating the records to DB2 due to primarykey issue.
please suggest how to solve ....will it solve by using UPDATE_INSERT for action?
Best Regards,SARANHi Nagarjuna,
i have done the following changes to target mapping structure;
1. action as UPDATE_INSERT
2. in access tab, i had mapped fieldDate to field4.
3. in Key tab, i assigned the sysdate to field4.
but issue still exist. could you please check my above changes are correct or not. if wrong please provide me the details that needs to be done.
thanks in advance.
i'm providing the error details again:
my query in sender channel is : select filedA, filedB, filedC, FiledDate from TEST_TABLE where fieldDate=sysdate or updatedate=sysdate
it returns 4 records as follows:
fieldA--fieldB-fieldC---fieldDate
1001----EU---- 1----
2011-11-10
1002----CN---- 0----
2011-11-10
1003----AP---- 1----
2008-03-15 (already exist in DB2)
1004----JP---- 1----
2007-04-12 (already exist in DB2)
the first two records are created today and remaining 2 records are updated the fieldC from 0 to 1 ( in DB1 )
while inserting these 4 records to DB2, we get the following error "java.sql.SQLException: ORA-00001: unique constraint (data.TEST_TABLE_PK) violated" .
Best Regards,SARAN -
INSERTION OF XML DATA INTO THE TABLE USING XMLDOM
hello,
i am using XMLDOM to insert the data into the table
i am using different function of it.
but i am facing the problem to retrive the the multiple entry.
like in my example i have two entry of the ' po number '
& i am using the function
dbms_xmldom.item(l_nodelist, 0)
i which i have to pass index no.
& through this i am getting only single entry according to the index no.
Example on which i am working is
declare
l_xml_data CLOB;
l_xml_doc dbms_xmldom.domdocument;
l_nodelist dbms_xmldom.DOMNodeList;
l_node dbms_xmldom.domnode;
l_xmltype XMLTYPE;
l_po_num VARCHAR2(30);
l_cust_ord VARCHAR2(30);
l_item_code VARCHAR2(30);
begin
l_xml_data := '<?xml version="1.0" encoding="UTF-8"?>
<!--DOCTYPE MobileInventoryResponse SYSTEM "MobileInventoryResponse.dtd"-->
<MobileInventoryResponse>
<message>
<message-header>
<message-id>16244182</message-id>
<transaction-name>ship-advice</transaction-name>
<partner-name>cbeyond</partner-name>
<source-url>http://www.brightpoint.com</source-url>
<create-timestamp>20080826150709</create-timestamp>
<response-request>1</response-request>
</message-header>
<ship-advice>
<header>
<customer-id>297859</customer-id>
<shipment-information>
<ship-first-name>RA_13Aug_1</ship-first-name>
<ship-last-name>MIND</ship-last-name>
<ship-address1>test</ship-address1>
<ship-city>test</ship-city>
<ship-state>VA</ship-state>
<ship-post-code>22102-4931</ship-post-code>
<ship-country-code>US</ship-country-code>
<ship-phone1>0040726335068</ship-phone1>
<ship-email>[email protected]</ship-email>
<ship-via>FX01</ship-via>
<ship-request-date>20080826</ship-request-date>
<ship-request-warehouse>CBY1</ship-request-warehouse>
</shipment-information>
<purchase-order-information>
<purchase-order-number>380928</purchase-order-number>
<purchase-order-number>380929</purchase-order-number> ----modi by Ananda Dubey
<account-description/>
<purchase-order-amount>0.0</purchase-order-amount>
<currency-code>USD</currency-code>
</purchase-order-information>
<order-header>
<customer-order-number>0002759</customer-order-number>
<customer-order-date>20080826</customer-order-date>
<order-sub-total>19.0</order-sub-total>
<order-discount>0.0</order-discount>
<order-tax1>0.0</order-tax1>
<order-tax2>0.0</order-tax2>
<order-tax3>0.0</order-tax3>
<order-shipment-charge>18.0</order-shipment-charge>
<order-total-net>0.0</order-total-net>
<order-status>Completed</order-status>
<order-type/>
<brightpoint-order-number>35028788</brightpoint-order-number>
<warehouse-id>CBY1</warehouse-id>
<ship-date>20080826</ship-date>
</order-header>
</header>
<detail>
<line-item>
<line-no>1</line-no>
<item-code>SKU1</item-code>
<universal-product-code>0</universal-product-code>
<ship-quantity>1.0</ship-quantity>
<unit-of-measure>EA</unit-of-measure>
<serial-list>
<serial-numbers>
<esn>TIMI000013</esn>
</serial-numbers>
</serial-list>
<line-status/>
<base-price>0.0</base-price>
<line-discount>0.0</line-discount>
<line-tax1>0.0</line-tax1>
<line-tax2>0.0</line-tax2>
<line-tax3>0.0</line-tax3>
<bill-of-lading>929406733828</bill-of-lading>
<scac>FX01</scac>
</line-item>
</detail>
</ship-advice>
<transactionInfo>
<eventID>16244182</eventID>
</transactionInfo>
</message>
</MobileInventoryResponse>';
l_xml_doc := dbms_xmldom.newDomDocument(l_xml_data);
-- Method 1 to get data
l_nodelist := dbms_xmldom.getelementsbytagname(l_xml_doc, 'purchase-order-number');
l_node := dbms_xmldom.item(l_nodelist, 0); -- gets first item from list
l_po_num := dbms_xmldom.getnodevalue(dbms_xmldom.getfirstchild(l_node));
dbms_output.put_line(l_po_num);
l_nodelist := dbms_xslprocessor.selectnodes(dbms_xmldom.makenode(l_xml_doc),
'/MobileInventoryResponse/message/ship-advice/detail/line-item/item-code');
l_node := dbms_xmldom.item(l_nodelist, 0); -- gets first item from list
l_item_code := dbms_xmldom.getnodevalue(dbms_xmldom.getfirstchild(l_node));
dbms_output.put_line(l_item_code);
l_xmltype := XMLTYPE(l_xml_data);
l_cust_ord := l_xmltype.extract('/MobileInventoryResponse/message/ship-advice/header/order-header/customer-order-number/text()').getStringVal();
dbms_output.put_line(l_cust_ord);
dbms_xmldom.freeDocument(l_xml_doc);
end;
/In the following code
l_nodelist := dbms_xmldom.getelementsbytagname(l_xml_doc, 'purchase-order-number');
l_node := dbms_xmldom.item(l_nodelist, 0); -- gets first item from listYou need to understand what the second parm on the .item call does. See [dbms_xmldom.item|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_xmldom.htm#i1126138]
The nodelist is a 0 based array of information and you are only requesting to pull the node info in the first array position. So to get the info in the second array position, you need to use ", 1)". You can also use .getLength and a loop to parse through everything in the node list. -
Unable to insert records in PRPS and PROJ tables.
I want to insert entries in PROJ and PRPS tables with new company code.
I am selecting entries with existing company code and changing old co. code to new co. code in work area.
Then I am using insert PRPS from work area in the same way inserting in PROJ.
Please help, why insert statement is not working with these tables..I hope you are in a sandbox system.
The internal and primary key is PSPNR, and this key is associated with an internal range number. If you don't want to use program, you have to get yourself the next number for PROJ and each PRPS, then you MUST insure that related objects like OBJNR the CO object number is adjusted (PR or PD + internal number/) else you will incur severe problem with your database. You MUST insure that other unique indexes are respected PSPID, etc.
*The correct way is reached via BAPI or Batch Input/Call Transaction*
For BTC or call transaction just record via [SHDB|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=shdb&adv=false&sortby=cm_rnd_rankvalue] a single run with [CJ2D transaction|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=cj2d+transaction&adv=false&sortby=cm_rnd_rankvalue].
BAPI suitable are :
- [BAPI_PS_INITIALIZATION|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=bapi_ps_initialization&adv=false&sortby=cm_rnd_rankvalue] to start the job
- to read the model use BAPIs like [BAPI_PROJECTDEF_GETDETAIL|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=bapi_projectdef_getdetail&adv=false&sortby=cm_rnd_rankvalue]
- to create the new project use BAPIs like [BAPI_PROJECTDEF_CREATE|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=bapi_projectdef_create&adv=false&sortby=cm_rnd_rankvalue]
- [BAPI_PS_PRECOMMIT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=bapi_ps_precommit&adv=false&sortby=cm_rnd_rankvalue] and then BAPI_TRANSACTION_COMMIT or ROLLBACK to end.
Regards -
Insert record incrementing date - low cost
Hi,
I have following record structure
PLAN_LEVEL PERIOD_NUM DAYS OPERATIONSEQ GROUP_ID ALLOY PLANNER_CODE DEPARTMENT_CLASS DEPARTMENT LOAD_HOUR OFFSET_DATE OFFSET
0 1 20 150 525150 INCONEL alloy 625 WIRE ROD CD WP 8.45402793 3/19/2007 14
0 1 20 140 525150 INCONEL alloy 625 WIRE ROD CD BA 4.586287974 3/17/2007 30
0 1 20 90 525150 INCONEL alloy 625 WIRE ROD MM MW2 0.750050215 3/12/2007 51
0 1 20 70 525150 INCONEL alloy 625 WIRE ROD MM M2M 0.027779638 3/12/2007 72
1 1 20 160 525150 INCONEL alloy 625 WIRE ROD PMD DPP 1.453799581 3/4/2007 101
1 1 20 140 525150 INCONEL alloy 625 WIRE ROD CHP CHP 0.97472359 3/2/2007 132
1 1 20 130 525150 INCONEL alloy 625 WIRE ROD CHP SG 4.873617025 2/25/2007 168
1 1 20 120 525150 INCONEL alloy 625 WIRE ROD CHP CHP 1.091515669 2/24/2007 205
1 1 20 110 525150 INCONEL alloy 625 WIRE ROD PMD PM 0.210131401 2/24/2007 242
1 1 20 90 525150 INCONEL alloy 625 WIRE ROD PMD PM 0.262927179 2/18/2007 285
1 1 20 60 525150 INCONEL alloy 625 WIRE ROD B30 ESR 15.18807308 2/15/2007 331
1 1 20 20 525150 INCONEL alloy 625 WIRE ROD VIM VIM 2.191847409 2/12/2007 380there is days column in the table i just need to replicate/insert above data into same table incrementing offset_date.
e.g.
as days value is 20 i have to insert above record group 20 times and increment offset_date by 1 every time so...
for I 1..days here is 20
insert table
offset_date+1 for each record value in this case 12 recordso total insert for this record group will be 12*20 and for each data set it should increase offset_date+1
is there any low cost ( good performance )solution than looping through it.
thanks in advanceMay be better:
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
Connected as SYS
SQL>
SQL> drop table t;
Table dropped
SQL> create table t(i number, d1 date, offset number);
Table created
SQL> insert into t values(1, sysdate - 37, 3 );
1 row inserted
SQL> insert into t values(2, sysdate - 34, 7 );
1 row inserted
SQL> select * from t;
I D1 OFFSET
1 26.12.2006 3
2 29.12.2006 7
SQL> SELECT t.i, t.d1 + t2.i - 1, t.offset
2 FROM t
3 ,(SELECT rownum i
4 FROM dual
5 CONNECT BY LEVEL <= (SELECT MAX(offset) FROM t)) t2
6 WHERE t.offset + 1 >= t2.i
7 ORDER BY t.i, t.d1 + t2.i - 1;
I T.D1+T2.I-1 OFFSET
1 26.12.2006 3
1 27.12.2006 3
1 28.12.2006 3
1 29.12.2006 3
2 29.12.2006 7
2 30.12.2006 7
2 31.12.2006 7
2 01.01.2007 7
2 02.01.2007 7
2 03.01.2007 7
2 04.01.2007 7
11 rows selected
SQL> drop table t_temp;
drop table t_temp
ORA-00942: table or view does not exist
SQL> CREATE TABLE t_temp AS
2 SELECT t.i, t.d1 + t2.i - 1 d1, t.offset
3 FROM t
4 ,(SELECT rownum i
5 FROM dual
6 CONNECT BY LEVEL <= (SELECT MAX(offset) FROM t)) t2
7 WHERE t.offset + 1 >= t2.i;
Table created
SQL> SELECT * FROM t_temp;
I D1 OFFSET
1 26.12.2006 3
2 29.12.2006 7
1 27.12.2006 3
2 30.12.2006 7
1 28.12.2006 3
2 31.12.2006 7
1 29.12.2006 3
2 01.01.2007 7
2 02.01.2007 7
2 03.01.2007 7
2 04.01.2007 7
11 rows selected
SQL> -
Insert Record Via Dblink Get Error ORA-01461: can bind a LONG value only
Hi
When i try to insert record in Htmldb 2.0 Form to a table that is locate in remote DB via DBlink , I get the error ORA-01461: can bind a LONG value only for insert into a LONG column ORA-02063: preceding line from SAPREPOS.ADBAZAN.COM.
My command is insert into [email protected]
(OVED_ID,
REPMONTH,
REPYEAR,
SAPDATE,
SAPTIME)
values
(:P1_XOVED_ID,
:P1_XMANTHLY,
:P1_XYEAR,
to_char(sysdate,'DDMMYYYY'),
to_char(sysdate,'HH:MI AM'));
I try on local Table and it work OK.
I try with sqlplus to the remote DB and it works OK.
Need Help !!!
ThanksHi
When i try to insert record in Htmldb 2.0 Form to a table that is locate in remote DB via DBlink , I get the error ORA-01461: can bind a LONG value only for insert into a LONG column ORA-02063: preceding line from SAPREPOS.ADBAZAN.COM.
My command is insert into [email protected]
(OVED_ID,
REPMONTH,
REPYEAR,
SAPDATE,
SAPTIME)
values
(:P1_XOVED_ID,
:P1_XMANTHLY,
:P1_XYEAR,
to_char(sysdate,'DDMMYYYY'),
to_char(sysdate,'HH:MI AM'));
I try on local Table and it work OK.
I try with sqlplus to the remote DB and it works OK.
Need Help !!!
Thanks -
How to insert large xml data into database tables.
Hi all,
iam new to xml. i want to insert data in xml file to my database tables.but the xml file size is very large. performance is also one of the issue. can anybody please tell me the procedure to take xml file from the server and insert into my database tables.
Thanks in advanceUnfortunately posting very generic questions like this in the forum tends not to be very productive for you, me or the other people who read the forum. It really helps everyone if you take a little time to review existing posts and their answers before starting new threads which replicate subjects that have already been discussed extensively in previous threads. This allows you to ask more sensible questions (eg, I'm using this approach and encountering this problem) rather than extremely generic questions that you can answer yourself by spending a little time reviewing existings posts or using the forum's search feature.
Also in future your might want to try being a little more specific before posting questions
Eg Define "very large". I know of customers who thing very large is 100K, and customers who think 4G is medium. I cannot tell from your post what size your files are.
What is the content of the file. Is it going to be loaded into a single record, or a a single table, or will it need to be loaded into multiple records in a single table or multiple records in multiple tables ?
Do you really need to load the data into exsiting relational tables or could your application work with relational views of the XML Content.
Finally which release of the database are you working with.
Define performance. Is it reasonable to expect to process this kind of document on this machine (Make, memory, #number of CPUs, CPU Speed, number of discs) in this period of time.
WRT to your original question. If you take a few minutes to search this forum you will find a very large number of threads with very similar titles to yours. These theads document a number of different approaches that can be used to solve this problem.
I suggest you start by looking for threads that cover topics like DBMS_XMLSTORE, XMLTable(), Relational Views of XML content, loading XML content in relational tables. -
Trigger problem -- can't insert the same data into audit table
Sir/Madam,
I'm trying to use insert trigger with a 'long raw' datatype data for my audit purpose. Each time, the data of original table can be inserted correctly. While the trigger for audit table in which it contains almost the same data as original would failed. The error messages are some thing like following:
java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
ORA-06512: at "CORPSEC.TI_ARCHIVE_PDF", line 9
ORA-04088: error during execution of trigger 'CORPSEC.TI_ARCHIVE_PDF'
If the column with 'long raw' datatype is taken out, then there is no error at all. I'm using Oracle 8i 8.1.6 for Windows NT and suspect there is bug in PL/SQL execution.
The following are SQL text for the trigger:
CREATE OR REPLACE TRIGGER "CORPSEC"."TI_ARCHIVE_PDF" AFTER INSERT ON "ARCHIVE_PDF" FOR EACH ROW DECLARE
LOG_SEQ_NO NUMBER;
BEGIN
SELECT AUDIT_SEQ.NEXTVAL INTO LOG_SEQ_NO FROM DUAL
insert into ad_archive_pdf (DOC_TITLE,PDF_FILENAME,CONTENT,DOC_DESC,AUDIT_REF_NO,AUDIT_DATE,AUDIT_MODE,AUDIT_BY)
values (:new.DOC_TITLE,:new.PDF_FILENAME,:new.CONTENT,:new.DOC_DESC,LOG_SEQ_NO,sysdate,'I',:new.created_by);
END;
Any help on this. Thank in advance.
Best regards,
RuijieSee here for a discussion of how to incorporate LONG datatypes into triggers:
http://asktom.oracle.com/pls/ask/f?p=4950:8:635439::NO::F4950_P8_DISPLAYID -
Insert an encrypt data in a Table
Hi all,
i have encrypted a data with HmacMD5, all its fine. but when i've tried to insert encrypt data in my table, hash code may return symbols like �?��Z��x��. then when i do a select data has been corrupted. how can i encrypted in stardand symbols( like mysql passwords). here is my code:
KeyGenerator kg = KeyGenerator.getInstance("HmacMD5");
SecretKey sk = kg.generateKey();
// Get instance of Mac object implementing HMAC-MD5, and
// initialize it with the above secret key
Mac mac = Mac.getInstance("HmacMD5");
mac.init(sk);
byte[] result = mac.doFinal(dirMAC.getBytes());
String macenc=new String(result);
String x = "jdbc:mysql://localhost/"+
"mydatabase?user="+user+"&password="+
pass;
Class.forName("com.mysql.jdbc.Driver").newInstance();
conn = DriverManager.getConnection(x);
conn.createStatement().executeUpdate("insert into user " +
"(User,Password) values('system','"+myPass+"')");
java.sql.ResultSet rs=conn.createStatement().executeQuery("select password "+
"from " +"user where user ='system' ");
rs.next();
if((rs.getString(1).equals(macenc))) {
System.out.println(rs.getString(1)+" YES "+macenc);
} else {
System.out.println(rs.getString(1)+" NO "+macenc);
}Output NO. and sometimes when hash has (') character Query not found.
thanks.Thie is most probably the offending line
String macenc=new String(result);
It is never a good idea to try to convert arbitrary bytes into a String using this approach. Not all byte sequences have valid char representation. If you must have a String representation use Base64 or Hex encoding of your Hmac. Google for Jakarta Commons Codec to get a library to assist you with this. -
2.1 Cannot remove filter on table column on data tab of table browser
In table browser, click on the data tab. Click a column name, click a data value and then double click to filter by the data value. Data filters as expected. However, when you click on the filter icon which appears to the right of the column name, it presents you with a list which contains "Remove('<DATA VALUE>')". If you double click "Remove('<DATA VALUE>')", all rows are removed from the data tab.
Refreshing does not make the data appear. Clicking on the filter icon again, the text is changed to "Remove('Remove')". Double clicking that also has no effect on the data grid.
Work around is to right click on a column name and select "Remove All Filters".Ahhh, so sorry.
This has been logged as similar issue
Bug 9192156 - rc2: double-click the list to remove filter will get invalid number
-Raghu -
How to manage 1Lakh of records of data in ADF table
We have requirment on ADF table component in jdev11g.
Currently we have to manage large amount of data (1million ) of records in database and we have to
display arount 1lakh in jsp page using adf table with pagination and sorting .
is it possible or good approch to use ADF table? any cautions we need to take care?
any altrnative solution will be helpfull.
Thanks for all help.ADF table does not do pagination out-of-the-box - it does scrolling, which is different.
However, my main concern would be that no user can make sense of 100's of 1,000's of records. Even Google only gives you 1000 actual results back, and no one ever scrolls to "Page 47" of the results.
John -
How to avoid duplicate data while inserting from sample.dat file to table
Hi Guys,
We have issue with duplicate data in flat file while loading data from sample.dat file to table. How to avoid duplicate data in control file.
Can any one help me on this.
Thanks in advance!
Regards,
LKRNo, a control file will not remove duplicate data.
You would be better to use an external table and then remove duplicate data using SQL as you query the data to insert it to your destination table. -
Equipment dismantle Date and Time - Table details
Hi,
We do Installation and dismantling Equipments from their Superior equipments/Functional Location. At that time default Date and Time is getting updated in the Field - DATUM [Date] and UZEIT [Time].
Which Table this DATUM [Date] and UZEIT [Time] can be found for a Equipment.
Please provide Table details.
Regards,
RajaTry Time Segments for Equipments - EQUZ
Fields DATBI & TIMBI are the end date and time for a time segment, so this will change each time the equipment is dismantled/installed in a new location.
Maybe you are looking for
-
Does Device Central accepts input from Flash Catalyst?
I'm a newby, and thinking of buying CS5. But I first want to know if I can check in Device Central if the SWF's and RIA's from Catalyst function properly on all kinds of phones. Is that possible?? Gr Willem
-
ICal crashing after iOS8 update
IiCal won't load, just keeps crashing since iOS8 update. Has anyone else had any similar problems
-
Macbook Air (new, with Lion) Epson all in one SX600FW connected WiFi With my previous MacBook air, no problem With the new one, the first document of a session i want to print generates an "error" message. The next ones print just fine. I removed and
-
/hi my ipad screen is not responding. Nothing appears. It seems to turn on but nothing appears on screen. maybe my niece of # years old that played with it entered too many tomes wrong passcode. Anyway, how can I restaure it? The itunes doesn't recog
-
In tcode ME2o SC Stock monitoring for vendor for creating delivery
hi This scenario in AFS for creating , for creating delivery in tcode ME2o SC Stock monitoring for vendor, for creating delivery iam getting error like this Essential transfer parameters are missing in record: 000001., Depending on the category