Urgent help on AF Query
Hi,
I wanted to get the Query from View Criteria, please let me know where can i get this query from bean or am.
Thanks
Thanks for your quick reply puthanampatti.
Here my problem is i need to modifiy my view criteria query bcoz when i am trying to search any result OR clause is appending to query because of this OR clause my query is taking long time to produce result. is there any process to add our query to view criteria?
Please help me.
Similar Messages
-
Need urgent help with the query - Beginer
Hello - I need help with a query to populate data in a table.Here is the scenario.
Source1
MnthID BranchCod CustID SegCode FXStatus ProfStatus Profit
200712 B1 C1 20 Y Y 100
Source2
MnthID BranchCod CustID ProdCode ProdIndex
200712 B1 C1 12 1
200712 B1 C2 12 0
Destination
MnthID BranchCod SegCode ProdCode CountSegCust CountProdCust ProfitProdCust
Condition and Calculations:
1)Source1 customer are base customers.If Source2 has customers who is not in source1 then that customer's record should not be fetched.
2)SegCode, FX Status, ProfStatus is one variable in destination table. [ SegCode = SegCode+ FXStatus (if FXStatus = Y)+ ProfStatus (if FXStatus = Y) ]
3)CountSegCust = CountCustID Groupby MnthID,BranchCod,SegCode Only.
4)CountProdCust = CountCustID Groupby MnthID,BranchCod,SegCode,ProdCode (when ProdIndex = 1)
5)ProfitProdCust = Sum of Profit of Customers Groupby MnthID,BranchCod,SegCode,ProdCode (when ProdIndex = 1)
Apologies for bad formatting.
Thanks in advance!!A total guess indeed.
It's not clear whether some aggregation can be done (summing counts of grouped data might cause some customers being counted more than once)
insert into destination
select mnthid,branchcod,segcode,prodcode,countsegcust,countprodcust,profitprodcust
from (select s1.mnthid,
s1.branchcod,
s1.segcode || case s1.fxstatus when 'Y' then s1.fxstatus || s1.profstatus end segcode,
s2.prodcode,
count(s1.custid) over (partition by s1.mnthid,
s1.branchcod,
s1.segcode || case s1.fxstatus when 'Y' then s1.fxstatus || s1.profstatus end
order by null
) countsegcust,
count(case proindex when 1
then custid
end
) over (partition by s1.mnthid,
s1.branchcod,
s1.segcode || case s1.fxstatus when 'Y' then s1.fxstatus || s1.profstatus end
s2.prodcode
order by null
) countprodcust,
sum(case proindex when 1
then profit
end
) over (partition by s1.mnthid,
s1.branchcod,
s1.segcode || case s1.fxstatus when 'Y' then s1.fxstatus || s1.profstatus end
s2.prodcode
order by null
) profitprodcust,
row_number() over (partition by s1.mnthid,
s1.branchcod,
s1.segcode || case s1.fxstatus when 'Y' then s1.fxstatus || s1.profstatus end
s2.prodcode
order by null
) the_row
from source1 s1,source2 s2
where s1.mnthid = s2.mnthid
and s1.branchcod = s2.branchcod
and s1.custid = s2.custid
where the_row = 1Regards
Etbin -
Very Urgent Help , ABAP SQL Query
Guys,
Please suggest.I have a table(custom_table1) with a field say A which is of date type = c and length = 9. And i want to query this table.Following is the query.
Select substr(A,0,5) B C into itab From table custom_table1
where b = ( select b from cusstom_table2 )
and substr(A,0,5) = Input_A.
That is i want to equate an Input_A (which is of 5 character length) with field A (only first 5 character of the 9 length). But it seems the query is wrong. Kindly help ,very urgent
ThanksThanks guys, U have helped me to fill up the where condition as
but what about the column A in the select query ?I need only 5 characters from the field populated into Itab.
CONCATENATE srch_str '%' INTO srch_str. -- bcos i want it to be 'InputA%'
Select Substr(A,0,5) , B C Into Itab From CustomTable 1 where B = (Select B from customtable2) and A Like SrchStr
Is there any means i can populate only the 5 characters from the select field A into Itab without using Substr (becos it doesnt work) ? Please help. -
Urgent Help:Tree structured query
Hi,
My requirement is as follows..
I have two tables let's say A and B
Table A has two fileds ID and PARENT_ID
ID is a primary key and Parent_id is a foreign key to the same tables "ID" field(i.e, parent_id references a.id)
Table B has 2 fields : status and id
where ID is a foreign key to table A.id(B.id references A.ID)
The data in those two tables looks like this
A
ID PARENT_ID
1 2
2 3
3 4
4
5 6
6 7
7
Table B has ..
Status id
Approved 1
Approved 2
Now I would like to select all the Approved Ids and all parent_IDs
So i should get the following result
id
1
2
3
4
Can somebody help me write this query.. this is Kinda urgent Please.
Thank yousql>select * from a;
ID PARENT_ID
1 2
2 3
3 4
4
5 6
6 7
7
7 rows selected.
sql>select * from b;
STATUS ID
Approved 1
Approved 2
2 rows selected.
sql>select distinct id
2 from a
3 start with id in (select id
4 from b
5 where status = 'Approved')
6 connect by prior parent_id = id;
ID
1
2
3
4
4 rows selected. -
Urgent Help Needed Union Query
Hello All
I have a complex query (at least i think) which returns result set. Now i want to add to it the records that were not mached by the query i tried
<Query1>
Union all
<Query2> where not in <query1> (hope i am able to express myself)
but it takes a lot of time
is there any way that query1 is refered once or i have to redefine the query
Any Help ??????
Thanks in advanceI think i am unable to clearly express myself
When i try to use outer join error occures end-of-file on communication channel. actualy i have a poorly designed database structure which is not in my control but i am supposed to report on it
<query1>
union all
<Query2> where not in <query1>
i wanted to say query 1 returns a result set and query 2 reurns rows not selected by query 1
any workaround -
URgent: Help regarding SQL Query
Hi ,
I need help regarding an sql query.
Sample Data:
ITEM_TYPE ITEM_NUM UNIT_PRICE QUANTITY LINE_TOTAL
ITEM 1 5 10 50
ITEM 2 10 5 50
ITEM 1 5 5 25
ITEM 2 10 20
TAX 16.5
TAX -3.5I would like to display the data as
ITEM_TYPE ITEM_NUM UNIT_PRICE QUANTITY LINE_TOTAL
ITEM 1 5 15 145
2 10 5
2 10
TAX 13.0
Line_total = unit_price * QuantityThanks in Advance
G.Vamsi Krishna
Edited by: user10733211 on Aug 5, 2009 7:42 AM
Edited by: user10733211 on Aug 5, 2009 7:49 AM
Edited by: user10733211 on Aug 5, 2009 8:12 AM
Edited by: user10733211 on Aug 5, 2009 8:22 AM
Edited by: user10733211 on Aug 5, 2009 8:24 AMHi,
Try this, use some analytics:
SQL> with t as (
2 select 'item' item_type, 1 item_num, 5 unit_price, 10 quantity, 50 linetotal from dual union all
3 select 'item', 2, 10, 5, 50 from dual union all
4 select 'item', 1, 5, 5, 25 from dual union all
5 select 'item', null, 2, 10, 20 from dual union all
6 select 'tax', null, null, null, 16.5 from dual union all
7 select 'tax', null, null, null, -3.5 from dual
8 ) -- actual query starts here:
9 select item_type
10 , item_num
11 , unit_price
12 , sum_qty
13 , case when sum_lt = lag(sum_lt) over ( order by item_type, item_num )
14 then null
15 else sum_lt
16 end sum_lt
17 from ( select item_type
18 , item_num
19 , unit_price
20 , quantity
21 , sum(quantity) over ( partition by item_type, item_num ) sum_qty
22 , sum(linetotal) over ( partition by item_type ) sum_lt
23 , row_number() over ( partition by item_type, item_num order by item_type, item_num ) rn
24 from t
25 )
26 where rn=1;
ITEM ITEM_NUM UNIT_PRICE SUM_QTY SUM_LT
item 1 5 15 145
item 2 10 5
item 2 10
tax 13
4 rows selected.
edit
And please use the code tag, instead of clunging with concats.
Read:
http://forums.oracle.com/forums/help.jspa
Edited by: hoek on Aug 5, 2009 5:15 PM
edit2
Also nulls for item_type:
ops$xmt%OPVN> with t as (
2 select 'item' item_type, 1 item_num, 5 unit_price, 10 quantity, 50 linetotal from dual union all
3 select 'item', 2, 10, 5, 50 from dual union all
4 select 'item', 1, 5, 5, 25 from dual union all
5 select 'item', null, 2, 10, 20 from dual union all
6 select 'tax', null, null, null, 16.5 from dual union all
7 select 'tax', null, null, null, -3.5 from dual
8 ) -- actual query starts here:
9 select case when item_type = lag(item_type) over ( order by item_type, item_num )
10 then null
11 else sum_lt
12 end item_type
13 , item_num
14 , unit_price
15 , sum_qty
16 , case when sum_lt = lag(sum_lt) over ( order by item_type, item_num )
17 then null
18 else sum_lt
19 end sum_lt
20 from ( select item_type
21 , item_num
22 , unit_price
23 , quantity
24 , sum(quantity) over ( partition by item_type, item_num ) sum_qty
25 , sum(linetotal) over ( partition by item_type ) sum_lt
26 , row_number() over ( partition by item_type, item_num order by item_type, item_num ) rn
27 from t
28 )
29 where rn=1;
ITEM_TYPE ITEM_NUM UNIT_PRICE SUM_QTY SUM_LT
145 1 5 15 145
2 10 5
2 10
13 13
4 rows selected.If you really need a space instead of nulls, then simply replace the nulls by a space....
Edited by: hoek on Aug 5, 2009 5:18 PM -
Urgent help needed in Query Find Window
Gurus
In my custom form i have a Query Find Window with three fields. The requirement is when user selects a value ( LOV) from any of the fields the other fields in the Query Find Window should get the relative value. I can acheive this only if i set the AUTOMATIC DISPLAY to yes for the fields. User identified this & they asked me to do this without setting the AUTOMATIC DISPLAY to yes.
I referred someother CUSTOM forms & i did tried but i am unable to achieve this one. Please guide me.
Thanks.In the key-list val trigger itself, you can populate the required information into those fields.
If i am wrong then the requirement is not so clear.
Regards
Balaji -
select userid,month,year from counter where to_char(month,'MM') ='04'
and to_char(year,'YYYY')='2003'
I am getting error when i ran this query
invalid number format
thanksThe error message appears to indicate your columns are numeric so the query is obviously:
select userid,month,year from counter
where month = 4
and year = 2003
... or am I missing some hidden problem here ? -
Urgently help needs on query performance please
HI,
Eache iteration taking four seconds while execution...
What could be the reason for this????
FOR tem_rec IN temp LOOP
UPDATE t_routing_operations_api SET routing= tem_rec.sub_routing
WHERE routing_id=latest_routing_id and routing_id != 3 and routing = tem_rec.routing ;
UPDATE t_next_operations_api SET routing = tem_rec.sub_routing
WHERE routing_id=latest_routing_id and routing_id != 3 and routing = tem_rec.routing;
--COMMIT;
END LOOP;
regards,
Khaleel.Hi there, thank you all for showing the interest in solving my problem....
here I am going bit more clear about my question...
My compete procedure is....
CREATE OR REPLACE
procedure rand_route_gen1 is
CURSOR get_routing_id IS SELECT * FROM t_routings_api WHERE routing_id=3;
CURSOR temp IS SELECT * FROM c_rname_tem;
CURSOR get_operation_id(v_routing_id number) IS SELECT *
FROM t_routing_operations_api WHERE routing_id=v_routing_id;
CURSOR get_next_oper(v_operation_id number) IS SELECT * FROM t_next_operations_api
WHERE operation_id=v_operation_id;
random_no INTEGER:=0;
rt_id INTEGER:=0;
latest_routing_id INTEGER:=0;
BEGIN
DELETE FROM c_rname_tem;
--COMMIT;
INSERT INTO c_Rname_tem SELECT distinct routing,null FROM t_routing_operations_api;
--COMMIT;
FOR routing_rec IN get_routing_id LOOP
FOR c in 2..10 LOOP
FOR tem_rec IN temp LOOP
random_no:=dbms_random.value(1,3);
UPDATE c_rname_tem SET sub_routing='T'||random_no WHERE routing LIKE tem_rec.routing;
END LOOP;
INSERT INTO T_ROUTINGS_API values ('R'||rout_id.nextval,'1000',null,null,'R',rout_id.nextval,null,1,null,'Test Routing'
,null,null,null,null,1,null,'N',null,null,'XL Sheet',null,null,null,null,null,null);
--COMMIT;
SELECT max(operation_id) INTO rt_id FROM t_routing_operations_api;
rt_id:=rt_id+1;
FOR Operation_Rec IN get_operation_id(routing_rec.routing_id) LOOP
IF operation_rec.routing is not null THEN
insert into T_ROUTING_OPERATIONS_API values (rout_id.currval,/*'T'||i,*/operation_rec.routing,null,
null,rt_id,null,null,null,90,null,null,operation_rec.primary_flag,Operation_Rec.operation_rank,null,null,null,null,null,
null,null,null,10,null,null,null,null);
ELSE
insert into T_ROUTING_OPERATIONS_API values (rout_id.currval,null,Operation_Rec.operation,null,rt_id,
null,null,null,90,null,null,operation_rec.primary_flag,Operation_Rec.operation_rank,null,null,null,null,null,null,null,
null,10,null,null,null,null);
END IF;
--commit;
For next_oper_rec in get_next_oper(operation_rec.operation_id) loop
BEGIN
IF next_oper_rec.routing is not null THEN
insert into T_NEXT_OPERATIONS_API values ( rt_id,rout_id.currval,null,null,null,null,
next_oper_rec.operation_rank,null,null,null,null,
/*'T'||i*/
next_oper_rec.routing );
ELSE
insert into T_NEXT_OPERATIONS_API values ( rt_id,rout_id.currval,next_oper_rec.operation,null,
null,null,next_oper_rec.operation_rank,null,null,null,null,null);
--COMMIT;
END IF;
EXCEPTION
when no_data_found then null;
END;
END LOOP;
rt_id:=rt_id+1;
--COMMIT;
SELECT max(routing_id) INTO latest_routing_id FROM t_routings_api;
DBMS_OUTPUT.PUT_LINE(' UPDATE STARTED AT::'||TO_CHAR(SYSDATE,'SSSSS'));
/*THIS BLOCK TAKING TOO MUCH TIME*/
FOR tem_rec IN temp LOOP
UPDATE t_routing_operations_api SET routing= tem_rec.sub_routing
WHERE routing_id=latest_routing_id and routing_id != 3 and routing = tem_rec.routing ;
UPDATE t_next_operations_api SET routing = tem_rec.sub_routing
WHERE routing_id=latest_routing_id and routing_id != 3 and routing = tem_rec.routing;
-- COMMIT;
END LOOP;
--COMMIT;
END LOOP;
--COMMIT;
END LOOP;
END LOOP;
COMMIT;
END;
For in that abouve probedure THE SHOWN BLOCK TAKING AROUND 4 SECONDS FOR EACH ITERATION.
IN THE MAIN TABLES THERE ARE VERY LESS RECORDS, AROUND 15 ROWS. SO FOR ONE MAIN ITERATION ITS TAKING ONE MUNITE THERE ITSELF. SO TO COMPLETE ALL THIS PROCEDURE ITS TAKING AROUND 9 MUNITES...
I HAVE VERY VERY LESS DATA IN THE TABLES.
SO I HOPE IT GIVE YOU CLEAR IDEA FOR YOU. AWITING FOR YOUR REPLIES.....
REGARDS,
KHALEEL. -
Urgent help on SAP BW3.5 GST Query Changes
Dear Experts,
Need your urgent help in modifying a query.
Requirement: The Query has two different hierarchy node structures in 1 hierarchy itself.
This hierarchy is used in report where we can now see 2 different node structures added, for which the calculation of Rate is different for one node and different for another.
Rate = Tax/ GST Val * 100 for first node
Rate = (GST Val /(GST Gross - GST Val)) * 100 for another node.
The differentiating factor for these two nodes is Tax Code which is a char value.
This rate value couldnt been calculated at Report level for the reason being that all others the Key figures except Tax Code which is a char and hence couldnt put any formula there.
We tried calculating the Rate at Cube lebel itself by creating another Key figure and written a 'field level routine' to it, it is working good and showing the right values at cube level, where the data is stored at Line item level.
Now the challenge is that in report, as we execute them at aggregated levels the value for Rate is being cumulated (added) and shown which is wrong.
Eg: Account LineItemNo Input Tax Credit GST GST Rate
123 1 10 10 100
123 2 20 20 100
In Report when we look at these figures it appears at say Account level then it is appearing as :
Account Input Tax Credit GST GST Rate
123 30 30 200 (Instead of 100 as expected).
Can anyone help us to resolve this, this is of top most priority to us.
We are not using any WAD and system is BW 3.5.
Please suggest if WAD can help us in this.
Kind Regards,
RJHi Gerrit Schang,
Thanks for your instant reponse, appreciate it.
But as this is BW3.5 system, the option for Exception Aggregation selection as "no aggregation along the hierarchy" is not available in dropdown.
But there is one option as 'No aggregation (X, if more than one record occurs)' below which there is an option to chose the Agg.ref.char on which this aggregation should be checked.
Can I use this option and select ' Account Number' as the Agg.ref.char to solve my problem?
or you have any other solution, please suggest.
Kind Regards,
RJ -
Urgent help needed in achieving below ADF 11g flow
Hi, I am using JDEV 11.1.1.2.0 with ADF 11g.
I have a below requirement.
Say in below eg. I am getting col1, col2, col3 from a single tbl in screen 1. On clicking col1's row I should go to screen 2
Screen1
Col1 Col2 Col3
Nm1 Code1 10
Nm1 Code1 30
Nm2 Code1 30
Nm1 Code2 20
Here in screen 2 I will have a calculated field as shown below. Besides this In the same screen I will have a list showing distinct of col2 for the value cliked in col1. So here in this eg. it will be for Nm1 I will have 2 values in the list Code1 and Code2.
Screen 2
Col1 Nm1
Col2 Code1
Tot *40*
Col2 Select
Code1 X
Code2
Now here if user selects the radio of 'Code2' Then my above data should change as below
Col1 Nm1
Col2 Code2
Tot *20*
Col2 Select
Code1
Code2 X
I do this by passing the col1 value as a param to a query VO.
I have tried this using different VOs like a VO with query, VO with user defined column... nothing helps.
I am just unable to reach to screen 2. I am either getting invalid column OR missing in out parameters.
Can any one help on how and what should be done? This is not even master-details stuff. master-details seems easier than this.
Urgent help is needed.
Thanks in advanceI have resolved your problem and build a sample application.
You have to create 2 views and use master detail.
First view will be a simple view for the page 1 and second view will be readonly using group by. Then create a view link between them.
Let me know your email id. I will email you the sample application.
SID
Edited by: manieshsailoz on Apr 26, 2010 5:12 PM -
R12 AR Invoice raxinv -Customization (add columns) - need urgent help
Hi,
I need urgent help in customization of AR invoice report (raxinv) in R12. I am doing report customization for Brazil. As soon as I add one more column in report common query, build query and main query Q_invoice. Report changes to new variables in report editor q_invoice itself for example from remit_to_address_id to remit_to_address_id1 , previous_customer_id to previous_customer_id1 and start giving error that original variables e.g. remit_to_address_id , previous_customer_id are not defined in the query. Variable names and xml tags are also different from each other. even after trying to fix it, error persist.
Thanks
AnjuHi,
I need urgent help in customization of AR invoice report (raxinv) in R12. I am doing report customization for Brazil. As soon as I add one more column in report common query, build query and main query Q_invoice. Report changes to new variables in report editor q_invoice itself for example from remit_to_address_id to remit_to_address_id1 , previous_customer_id to previous_customer_id1 and start giving error that original variables e.g. remit_to_address_id , previous_customer_id are not defined in the query. Variable names and xml tags are also different from each other. even after trying to fix it, error persist.
Thanks
Anju -
Your urgent help will be very much appreciated
I have a problem whenever I connect my database and need your urgent help. the sample source code is below
import java.sql.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
public class Table extends JFrame
private Connection con;
private JTable table;
public Table()
String url = "jdbc:odbc:Books";
String username="";
String password="";
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection(url, username, password);
catch(ClassNotFoundException cnfex)
System.err.println("Failed to load JDBC/ODBC driver.");
cnfex.printStackTrace();
System.exit(1);
catch(SQLException sqlex)
System.err.println("Failed to connect");
sqlex.printStackTrace();
getTable();
setSize(45,150);
show();
public void getTable()
Statement state;
ResultSet result;
try{
String query="Select * from Author";
state=con.createStatement();
result=state.executeQuery(query);
displayResult(result);
state.close();
catch(SQLException sqlex)
sqlex.printStackTrace();
public void displayResult(ResultSet rs)throws SQLException
boolean moreRecord=rs.next();
if (!moreRecord)
JOptionPane.showMessageDialog(this, "ResultSet contained no record");
setTitle("No records to display");
return;
setTitle("Author table from Books");
Vector columnHeads=new Vector();
Vector rows=new Vector();
try{
ResultSetMetaData rsmd=rs.getMetaData();
for (int i=1; i<=rsmd.getColumnCount(); i++)
columnHeads.addElement(rsmd.getColumnName(i));
do{
rows.addElement(getNextRow(rs, rsmd));
}while(rs.next());
table=new JTable(rows, columnHeads);
JScrollPane scroller=new JScrollPane(table);
getContentPane().add(scroller,BorderLayout.CENTER);
validate();
catch(SQLException sqlex)
sqlex.printStackTrace();
public Vector getNextRow(ResultSet rs, ResultSetMetaData rsmd)
throws SQLException
Vector currentRow=new Vector();
for (int i=1; i<=rsmd.getColumnCount(); i++)
switch (rsmd.getColumnType(i))
case Types.VARCHAR:
currentRow.addElement(rs.getString(i));
break;
case Types.INTEGER:
currentRow.addElement(new Long(rs.getLong(i)));
break;
default:
System.out.println("Type was: "+rsmd.getColumnTypeName(i));
return currentRow;
public void shutDown()
try{
con.close();
catch(SQLException sqlex)
System.err.println("Unable to disconnect");
sqlex.printStackTrace();
public static void main(String args[])
final Table app=new Table();
app.addWindowListener( new WindowAdapter()
public void windowClosing(WindowEvent e)
app.shutDown();
System.exit(0);Thank you for your help. When I compile it, it is fine, the problem happens when run it.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6d448d54
Function name=(N/A)
Library=C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\hotspot\jvm.dll
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at sun.jdbc.odbc.JdbcOdbc.driverConnect(Native Method)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at Table.<init>(Table.java:26)
at Table.main(Table.java:145)
Dynamic libraries:
0x00400000 - 0x00405000 C:\WINNT\system32\java.exe
0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
0x77D90000 - 0x77DED000 C:\WINNT\system32\ADVAPI32.dll
0x77E60000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
0x786F0000 - 0x78761000 C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
0x60000000 - 0x6003A000 c:\program files\rising\rav\ApiHook.dll
0x05000000 - 0x0502E000 c:\program files\rising\rav\MemMon.dll
0x77DF0000 - 0x77E55000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
0x75E00000 - 0x75E1A000 C:\WINNT\System32\IMM32.DLL
0x6D420000 - 0x6D4F7000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\hotsp
ot\jvm.dll
0x77530000 - 0x77560000 C:\WINNT\system32\WINMM.dll
0x6D220000 - 0x6D227000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\hpi.d
ll
0x6D3B0000 - 0x6D3BD000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\verif
y.dll
0x6D250000 - 0x6D266000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\java.
dll
0x6D3C0000 - 0x6D3CD000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\zip.d
ll
0x6D020000 - 0x6D12A000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\awt.d
ll
0x777C0000 - 0x777DE000 C:\WINNT\system32\WINSPOOL.DRV
0x75010000 - 0x75020000 C:\WINNT\system32\MPR.DLL
0x77A30000 - 0x77B25000 C:\WINNT\system32\ole32.dll
0x6D1E0000 - 0x6D21B000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\fontm
anager.dll
0x6DD30000 - 0x6DD36000 C:\WINNT\System32\INDICDLL.dll
0x37210000 - 0x3723D000 C:\WINNT\DOWNLO~1\CnsMin.dll
0x77C50000 - 0x77C9A000 C:\WINNT\system32\SHLWAPI.dll
0x777E0000 - 0x777E7000 C:\WINNT\system32\VERSION.dll
0x75950000 - 0x75956000 C:\WINNT\system32\LZ32.DLL
0x6D290000 - 0x6D29A000 C:\Program Files\JavaSoft\JRE\1.3.1_05\bin\JdbcO
dbc.dll
0x1F7F0000 - 0x1F825000 C:\WINNT\system32\ODBC32.dll
0x76AF0000 - 0x76B2D000 C:\WINNT\system32\comdlg32.dll
0x77B30000 - 0x77BB9000 C:\WINNT\system32\COMCTL32.DLL
0x78F90000 - 0x791D6000 C:\WINNT\system32\SHELL32.DLL
0x1F8E0000 - 0x1F8F6000 C:\WINNT\system32\odbcint.dll
0x77900000 - 0x77923000 C:\WINNT\system32\imagehlp.dll
0x72960000 - 0x7298D000 C:\WINNT\system32\DBGHELP.dll
0x687E0000 - 0x687EB000 C:\WINNT\system32\PSAPI.DLL
Local Time = Tue Feb 25 21:33:38 2003
Elapsed Time = 7
# HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
# Error ID : 4F530E43505002BD
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
# Java VM: Java HotSpot(TM) Client VM (1.3.1_05-b02 mixed mode)
# An error report file has been saved as hs_err_pid1792.log.
# Please refer to the file for further information.
# -
Urgent Help with network access to FileOutputStream
URGENT HELP NEEDED GUYS...I am stuck on this past 2 days. I tried several alternatives but to vain.
I am trying to access a Folder on a user's computer which is lying in a different Domain.
For accessing this folder, I have the following information with me.
Domain name, PC name, folder name, windows username, windows password.
Note: This username and password will give me rights to read + write to that folder.
How to use these information to open a fileoutputstream ? Does the java.io package allow programs to pass a username, password , domainname, pcname and then the folder and filename to create/read/write files..
Pls. suggest code examples. Sometime back I posted this query but didnt get an answer to my satisfaction. I have tried at my end but unsuccessful yet. Help would be appreciated.
I am trying this on a Windows File System and Network domain
THIS IS V. URGENT
Thanks,Hi HJK,
I am referring to the last reply of yours.
" Hi, there are three approaches I can think of offhand:
1) make sure the user-context under which you run the java app has the right to access the remote drive.
2) Do the network connection in a batch or c program and call that at the start of your java app with Runtime#exec.
3) Write some c/c++ code to open the connection and integrate that via JNI.
Let me know what (other) solution you came up with in the end!
Regarding the 1st.
I am supposed to write a remote installation utility actually. There are around 200 PC(s) in a network on which I need to copy these java class files. My problem statement is such that at runtime I only have username, passwords, domain access. I am not supposed to map any drives. Its supposed to be done dynamically. No manual intervention required. :(
How do I do the network connection in a batch mode ? Let me know that?
If 2nd option can be done, probably I can think of action-3 at the moment I am quite blurr :( -
Implementation Restriction 'DBMS_LOB.READWRITE' Urgent Help
*"Implementation Restriction 'DBMS_LOB.READWRITE' Cannot directly access remote package variable or cursor"*
Hello,
I need urgent help in implementing DBMS_LOB package.
I need to write data in LOB object using DBMS_LOB object
following code is written in PRE-UPDATE Trigger for the block CTX
on the form i have taken Clob_Desc_f as non database field of type CHAR(26000)
After querying the data I change Clob_Desc_f and enter the new data when saved it shoud empty the lob field based on the key value with empty lob
and then write the data into lob
DECLARE
w_Description_Clob CLOB;
BEGIN
Here Clob_Desc is the lob field in table cxt
UPDATE Cxt
SET Clob_Desc = Empty_Clob()
WHERE Cxt.Key_Field = :Cxt.Key_Field RETURNING Clob_Desc INTO
w_Description_Clob;
Dbms_Lob.OPEN(w_Description_Clob, Dbms_Lob.Lob_Readwrite);
Dbms_Lob.WRITE(w_Description_Clob
,Length(:Cxt.Clob_Desc_f)
,1
,:Cxt.Clob_Desc_f
Dbms_Lob.CLOSE(w_Description_Clob);
END;
The above code gives error saying
*1] RETURNING clause is not supported in client-side program.*
*2] For the statement*
Dbms_Lob.OPEN(w_Description_Clob, Dbms_Lob.Lob_Readwrite);
gives error as " Implementation Restriction Dbms_Lob.Lob_Readwrite : Cannot directly access remote package variable."
How can I use Dbms_Lob.OPEN
Thanks in advance.
Regards,
SourabhHello,
Here is the constants you can use directly:
* file_readonly CONSTANT BINARY_INTEGER := 0;
* lob_readonly CONSTANT BINARY_INTEGER := 0;
* lob_readwrite CONSTANT BINARY_INTEGER := 1;
* lobmaxsize CONSTANT INTEGER := 4294967295;
* call CONSTANT PLS_INTEGER := 12;
* session CONSTANT PLS_INTEGER := 10;
* warn_inconvertible_char CONSTANT INTEGER := 1;
* default_csid CONSTANT INTEGER := 0;
* default_lang_ctx CONSTANT INTEGER := 0;
* no_warning CONSTANT INTEGER := 0;
10g
* file_readonly CONSTANT BINARY_INTEGER := 0;
* lob_readonly CONSTANT BINARY_INTEGER := 0;
* lob_readwrite CONSTANT BINARY_INTEGER := 1;
* lobmaxsize CONSTANT INTEGER := 18446744073709551615;
* call CONSTANT PLS_INTEGER := 12;
* session CONSTANT PLS_INTEGER := 10;
* warn_inconvertible_char CONSTANT INTEGER := 1;
* default_csid CONSTANT INTEGER := 0;
* default_lang_ctx CONSTANT INTEGER := 0;
* no_warning CONSTANT INTEGER := 0;
Francois
Maybe you are looking for
-
Linked WMV files impossible to view
Something strange happened. I'm creating some new pages and I linked a wmv file to a text. I took a preview and clicked the link and the wmv file could be viewed by means of Nero Show time. Second tentative the progam says Nero Show Time needs an upd
-
2nd Gen iPod Touch - 3rd party apps work for 1 day, next day they crash
Hello I have a brand new 16gb Touch with 2.1.1 software. My problem is any application from the app store will work fine for 1 day and then the next day when I attempt to open the program it just loads for a second and then crashes back to the home s
-
I downloaded an album but one of the songs is corrupted, it only plays for about 4 seconds. When I try to re-download using the iTunes Store and "Purchased", it won't give me the option to download it again. How can I get the song I PAID for!!??
-
Dear Experts, I am facing problem
C:\>sqlplus sys as sysdba SQL*Plus: Release 10.2.0.3.0 - Production on Mon May 9 22:10:37 2011 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. Enter password: Connected to an idle instance. SQL> startup mount; ORACLE instance started. Total Sy
-
SCD 2 load performance with 60 millions records
Hey guys! I'm wondering what would be the load performance for a type 2 SCD mapping based on the framework presented in the transformation guide (page A1-A20). The dimension has the following characteristics: 60 millions records 50 columns (including