PL/SQL does not work in Oracle 8i Personal Edition
I just installed Oracle 8i Personal Edition for Win 98. Everything works perfectly, except the PL/SQL.
Then I tried to install Oracle 8i EM, but I always get the listener or adapter error. Even when I tried to start the listener from lsnrctl prompt, it gives me those errors. Anyone can help?
You need use correct type when you create object.
Don't forget object in reality is a memory pointer,
so what if you don't allocate correct memory in creation,
you can't treat object as subtype.
And meanwhile, it doesn't depend on Oracle version -
your example doesn't work in 9.2.0.1 for example.
SQL> declare
2 super one_t;
3 sub two_t := two_t(1, sysdate);
4 begin
5 super := two_t(1, sysdate);
6 sub := treat(super as two_t);
7 dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
8 select treat(super as two_t) into sub from dual;
9 dbms_output.put_line('super ' || super.x || ' ' || super.y );
10 if sub is null then
11 dbms_output.put_line('stupid');
12 end if;
13 if sub is of (two_t) then
14 dbms_output.put_line('stupid');
15 end if;
16 end;
17 /
sub 1 08.06.05
super 1 08.06.05
stupid
 
PL/SQL procedure successfully completed.Rgds.
Similar Messages
-
SQL Plus not working in Oracle 8i personal edition
I just installed Oracle 8i personal edition, went through all the steps. When I start SQL* Plus, I give it the SCOTT/TIGER combo, but when it tries to start up the database, it asks for another password, which I can't figurew out.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Meyer ([email protected]):
I just installed Oracle 8i personal edition, went through all the steps. When I start SQL* Plus, I give it the SCOTT/TIGER combo, but when it tries to start up the database, it asks for another password, which I can't figurew out.<HR></BLOCKQUOTE>
Fixed the problem yesterday.
null -
Downcasting in Object PL/SQL Does not Work in Oracle 10g Enterprise Edition
create type one_t as object (
x number, y date ) not final
create type two_t under one_t()
set serverout on
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := new two_t(1, sysdate);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
The Other Piece Does not Even Compile
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := treat(super as two_t);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
subtype
ORA-06512: at line 6You need use correct type when you create object.
Don't forget object in reality is a memory pointer,
so what if you don't allocate correct memory in creation,
you can't treat object as subtype.
And meanwhile, it doesn't depend on Oracle version -
your example doesn't work in 9.2.0.1 for example.
SQL> declare
2 super one_t;
3 sub two_t := two_t(1, sysdate);
4 begin
5 super := two_t(1, sysdate);
6 sub := treat(super as two_t);
7 dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
8 select treat(super as two_t) into sub from dual;
9 dbms_output.put_line('super ' || super.x || ' ' || super.y );
10 if sub is null then
11 dbms_output.put_line('stupid');
12 end if;
13 if sub is of (two_t) then
14 dbms_output.put_line('stupid');
15 end if;
16 end;
17 /
sub 1 08.06.05
super 1 08.06.05
stupid
 
PL/SQL procedure successfully completed.Rgds. -
Downcasting In Object PL/SQL Does not Work in Oracle 10g 10.1.0.2
create type one_t as object (
x number, y date ) not final
create type two_t under one_t()
set serverout on
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := new two_t(1, sysdate);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
The Other Piece Does not Even Compile
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := treat(super as two_t);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
subtype
ORA-06512: at line 6You need use correct type when you create object.
Don't forget object in reality is a memory pointer,
so what if you don't allocate correct memory in creation,
you can't treat object as subtype.
And meanwhile, it doesn't depend on Oracle version -
your example doesn't work in 9.2.0.1 for example.
SQL> declare
2 super one_t;
3 sub two_t := two_t(1, sysdate);
4 begin
5 super := two_t(1, sysdate);
6 sub := treat(super as two_t);
7 dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
8 select treat(super as two_t) into sub from dual;
9 dbms_output.put_line('super ' || super.x || ' ' || super.y );
10 if sub is null then
11 dbms_output.put_line('stupid');
12 end if;
13 if sub is of (two_t) then
14 dbms_output.put_line('stupid');
15 end if;
16 end;
17 /
sub 1 08.06.05
super 1 08.06.05
stupid
 
PL/SQL procedure successfully completed.Rgds. -
What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2
928714 wrote:
yes sir.If you help me in answering my questions i wll be very thankful to you sir.
tnx,I haven't a clue.
As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
For me to answer your questions, I would need to go get that documentation.
Then I would need to read that documentation.
Then I would need to write a forum post that interprets what I think I learned from that documentation.
It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself. -
Headstart forms - down key does not work in Oracle Forms 11g
Just moved forms from 10g to 11g.
But when run the down key does not work. The .res file looks OK.
I have included the hst65.jar in the search path for jar-files in formsweb.cfg.
Anybody had this isssue?It was an erroneous .res-file! So problem solved. :-)
-
Insert SQL does not work properly when called using CALL
I have a stored procedure (TEST_SP) which is used to insert a record in this perticular case. The SQL statement is 2526 characters long. I'm using
dim Params : Params=chr(1) & "Insert query" & Chr(1) & "=300"
runsql=&"{call TEST_SP(?,?)}"&Params
dim db : db=dbSelect("",0,"","")
dbExecSQL db,runsqlto execute the stored procedure. I'm facing an issue when the 2000th character on the insert SQL (pUPDSQL) is a single quote, where the SQL is not getting executed (i.e. record is not getting created).
The same stored procedure and the same SQL when run as below
runsql=runsql&"DECLARE "
runsql=runsql&"PUPDSQL VARCHAR2(4000); "
runsql=runsql&"PRES VARCHAR2(300); "
runsql=runsql&"BEGIN "
runsql=runsql&"PUPDSQL := 'INSERT query..."
runsql=runsql&"PRES:=300; "
runsql=runsql&"MRT_LKIDFULUP(PUPDSQL => PUPDSQL,PRES => PRES); "
runsql=runsql&"END; "
dim db : db=dbSelect("",0,"","")
dbExecSQL db,runsqlis working fine. Does anyone know if there is a limitaion in ODBC Call function or any explanation to above behaviour? I'm connecting to a Oracle 11g database using Microsoft ODBC for Oracle driver on Window 7
The stored procedures:
create or replace procedure TEST_SP(pUPDSQL IN VARCHAR2,pRES OUT VARCHAR2)
AS
BEGIN
DECLARE
emsg VARCHAR2(100);
BEGIN
if pUPDSQL<>'-1' then
emsg:='Cant exec UPDATE';
EXECUTE IMMEDIATE pUPDSQL;
if SQL%RowCount=0 then
pRES:='ERR:No row updated';
return;
end if;
end if;
pRES:='OK:';
EXCEPTION
WHEN OTHERS THEN
pRES:='ERR:' || emsg;
END;
END;Edited by: BluShadow on 11-Dec-2012 15:47
added {noformat}{noformat} tags for readability. Please read {message:id=9360002} and learn to do this yourself in future.... I'm facing an issue when the 2000th character on the insert SQL (pUPDSQL) is a single quote, ...Perhaps you need two single quotes? like:
runsql=runsql&"PUPDSQL := 'INSERT query...Values(..,..,,,''This value in two single quotes'',..,...)' "
... I'm connecting to a Oracle 11g database using Microsoft ODBC ...Dump windoze ODBC and better use the Oracle client ODBC.
:p -
Linux script call from PL/SQL does not work?
We are trying to run a simple Linux command using this PL/SQL 10.2 procedure:
PROCEDURE run_linux_script_from_oracle IS
BEGIN
dbms_scheduler.create_job
job_name=>'runtop',
job_type=>'executable',
job_action=>'/vol0/FileLoadDir/Bank/DATA_FILES/spell_check.sh',
enabled=>true,
auto_drop=>true
DBMS_OUTPUT.PUT_LINE('Successful');
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('Error: ' || SQLERRM);
END;The .sh file has this command which works fine when we run in Linux.
spell /vol0/FileLoadDir/Bank/DATA_FILES/ebill2.fmt_form_strings_.txt > /vol0/FileLoadDir/Bank/DATA_FILES/abcd.txtI get a Successful when I run this command in my SQL*Navigator and a PLS-00225: subprogram or cursor 'ABS' reference is out of scope when I run it in the SQL*Nav in another machine???
Any help would be greatly appreciated.Channa wrote:
We are trying to run a simple Linux command using this PL/SQL 10.2 procedure:NO, posted procedure below RUNS nothing,
post code simply CREATE JOB, but does NOT invoke it!
>
PROCEDURE run_linux_script_from_oracle IS
BEGIN
dbms_scheduler.create_job
job_name=>'runtop',
job_type=>'executable',
job_action=>'/vol0/FileLoadDir/Bank/DATA_FILES/spell_check.sh',
enabled=>true,
auto_drop=>true
DBMS_OUTPUT.PUT_LINE('Successful');
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('Error: ' || SQLERRM);
END;EXCEPTION handler is BUG & should be removed, discarded & 100% eliminated.
>
The .sh file has this command which works fine when we run in Linux.
spell /vol0/FileLoadDir/Bank/DATA_FILES/ebill2.fmt_form_strings_.txt > /vol0/FileLoadDir/Bank/DATA_FILES/abcd.txtI get a Successful when I run this command in my SQL*Navigator and a PLS-00225: subprogram or cursor 'ABS' reference is out of scope when I run it in the SQL*Nav in another machine???What is "ABS" & why/how does it exist in error message? -
SQL file not working in Oracle
I cannot get all my tables to work in Oracle, can anyone see where i'm going wrong?
CREATE TABLE Property
(Property_Num CHAR (4) PRIMARY KEY,
Property_Address CHAR (25),
Property_City CHAR (15),
Property_State CHAR (2),
Property_Zip CHAR (5),
Property_Price DECIMAL (15,2),
Property_Type CHAR (15));
CREATE TABLE Owner
(Owner_Num CHAR (3) PRIMARY KEY,
Property_Num CHAR (4),
Owner_Name CHAR (15),
Owner_Telephone CHAR (15));
CREATE TABLE Inspection
(Inspection_Code CHAR (4) PRIMARY KEY,
Inspection_Type CHAR (20),
Inspection_Description CHAR (30),
Owner_Num CHAR (3),
Inspection_Date DATE (15));
CREATE TABLE Realtor
(Realtor_Num CHAR (2) PRIMARY KEY,
Inspection_Code CHAR (4),
Realtor_Name CHAR (30),
Realtor_Telephone CHAR (15));
INSERT INTO Property
VALUES ('0001', '245 Benner St', 'Philadelphia', 'PA', '19111', '152.000.00', 'Townhome');
INSERT INTO Property
VALUES ('0002', '327 Silver Ave', 'Willow Grove', 'PA', '19090', '260.000.00', 'Duplex');
INSERT INTO Property
VALUES ('0003', '9243 Treaty Rd', 'Philadelphia', 'PA', '19114', '190.000.00', 'Single Family');
INSERT INTO Property
VALUES ('0004', '225 Chestnut St', 'Philadelphia', 'PA', '19103', '245.000.00', 'Condo');
INSERT INTO Property
VALUES ('0005', '511 Franklin Ave', 'Cherry Hill', 'NJ', '08002', '225.000.00'', 'Single Family');
INSERT INTO Owner
VALUES ('101', '0001', 'John Smith', '267-333-4667');
INSERT INTO Owner
VALUES ('102', '0002', 'Joe Taylor', '215-657-2200');
INSERT INTO Owner
VALUES ('103', '0003', 'Debra Jones', '215-745-9087');
INSERT INTO Owner
VALUES ('104', '0004', 'Frank Martin', '267-457-9300');
INSERT INTO Owner
VALUES ('105', '0005', 'Drew Hunt', '856-908-3200');
INSERT INTO Inspection
VALUES ('1001', 'Pre-Listing Check', 'Passed all eight tests', '101', '2/16/10');
INSERT INTO Inspection
VALUES ('1002', 'Walk-In', 'Property up to date on requirements', '102', '3/11/10');
INSERT INTO Inspection
VALUES ('1003', 'Appointment', 'All checks upo to date', '103', '1/15/10');
INSERT INTO Inspection
VALUES ('1004', 'General Check', 'Property is in good shape to sell', '104', '3/14/10');
INSERT INTO Inspection
VALUES ('1005', 'Request', 'Everything requested is up to date', '105', '2/22/10');
INSERT INTO Realtor
VALUES ('01', '1001', 'Tim Simpson', '267-543-2267');
INSERT INTO Realtor
VALUES ('02', '1002', 'Bill Bradley', '215-754-2330');
INSERT INTO Realtor
VALUES ('03', '1003', 'Phil Harris', '215-742-6687');
INSERT INTO Realtor
VALUES ('04', '1004', 'Sam Brown', '267-277-5500');
INSERT INTO Realtor
VALUES ('05', '1005', 'April Young', '856-228-3550');I changed everything, can someone please check these tables in Oracle. I am in school with no access to Oracle.
CREATE TABLE Property
(Property_Num CHAR (4) PRIMARY KEY,
Property_Address CHAR (25),
Property_City CHAR (15),
Property_State CHAR (2),
Property_Zip CHAR (5),
Property_Price DECIMAL (15,2),
Property_Type CHAR (15));
CREATE TABLE Owner
(Owner_Num CHAR (3) PRIMARY KEY,
Property_Num CHAR (4),
Owner_Name CHAR (15),
Owner_Telephone CHAR (15));
CREATE TABLE Inspection
(Inspection_Code CHAR (4) PRIMARY KEY,
Inspection_Type CHAR (20),
Inspection_Description CHAR (40),
Owner_Num CHAR (3),
Inspection_Date DATE );
CREATE TABLE Realtor
(Realtor_Num CHAR (2) PRIMARY KEY,
Inspection_Code CHAR (4),
Realtor_Name CHAR (30),
Realtor_Telephone CHAR (15));
INSERT INTO Property
VALUES ('0001', '245 Benner St', 'Philadelphia', 'PA', '19111', 152.00, 'Townhome');
INSERT INTO Property
VALUES ('0002', '327 Silver Ave', 'Willow Grove', 'PA', '19090', 260.00, 'Duplex');
INSERT INTO Property
VALUES ('0003', '9243 Treaty Rd', 'Philadelphia', 'PA', '19114', 190.00, 'Single Family');
INSERT INTO Property
VALUES ('0004', '225 Chestnut St', 'Philadelphia', 'PA', '19103', 245.00, 'Condo');
INSERT INTO Property
VALUES ('0005', '511 Franklin Ave', 'Cherry Hill', 'NJ', '08002', 225.00, 'Single Family');
INSERT INTO Owner
VALUES ('101', '0001', 'John Smith', '267-333-4667');
INSERT INTO Owner
VALUES ('102', '0002', 'Joe Taylor', '215-657-2200');
INSERT INTO Owner
VALUES ('103', '0003', 'Debra Jones', '215-745-9087');
INSERT INTO Owner
VALUES ('104', '0004', 'Frank Martin', '267-457-9300');
INSERT INTO Owner
VALUES ('105', '0005', 'Drew Hunt', '856-908-3200');
INSERT INTO Inspection
VALUES ('1001', 'Pre-Listing Check', 'Passed all eight tests', '101', to_Date('2/16/10','mm/dd/yyyy'));
INSERT INTO Inspection
VALUES ('1002', 'Walk-In', 'Property up to date on requirements', '102', to_Date('3/11/10','mm/dd/yyyy'));
INSERT INTO Inspection
VALUES ('1003', 'Appointment', 'All checks upo to date', '103', to_Date('1/15/10','mm/dd/yyyy'));
INSERT INTO Inspection
VALUES ('1004', 'General Check', 'Property is in good shape to sell', '104', to_date('3/14/10','mm/dd/yyyy'));
INSERT INTO Inspection
VALUES ('1005', 'Request', 'Everything requested is up to date', '105', to_date('2/22/10','mm/dd/yyyy'));
INSERT INTO Realtor
VALUES ('01', '1001', 'Tim Simpson', '267-543-2267');
INSERT INTO Realtor
VALUES ('02', '1002', 'Bill Bradley', '215-754-2330');
INSERT INTO Realtor
VALUES ('03', '1003', 'Phil Harris', '215-742-6687');
INSERT INTO Realtor
VALUES ('04', '1004', 'Sam Brown', '267-277-5500');
INSERT INTO Realtor
VALUES ('05', '1005', 'April Young', '856-228-3550'); -
Pasword Manger does not work with IE8 64-bit edition
Recently I upgraded my IE7 to IE8 and decided to try 64-bit version. Everything works perfectly except Pasword Manager which does not supply paswords for logins anymore. Has anybody ecnountered this problem and found a solution?
ThinkPad T500 2242-CTO P8600 / 4GB RAM / WSXGA+ / HDD Fujitsu 7200rpm 1TB / 6 Cell Sony / Windows 8 Pro 64-bit
ThinkPad Tablet 2
ThinkPad X61s 7669-3KG Windows 7 Home Premium 32-bitThis may solve your problem - It solved mine.
In the latest update for iTunes and QuickTime Player, For some reason the QuickTime update isn't completing and there's no error message warning that it's not initialized. The solution:
1) Reboot your PC.
2) Launch QuickTime (If windows says that it is configuring QuickTime then this is most likely the culprit).
3) When QuickTime opens successfully , then launch iTunes and it should launch successfully this time.
The other thing I did was to rename my iTunes library before step 3 and let iTunes create a new library. Then, when iTunes launched successfully, I shut it down - renamed the new library iTunesNew and renamed the original library iTunes. (I'm not sure this step is necessary since the root problem was the incomplete installation of QuickTime during the program update.) -
Client-cert auth impl in web.xml does not work in Oracle Application Server
Hi,
I am new to implementing security features on the web applications.. I have developed a new web service using jdev1012 and deployed in OAS 10.1.2. Its working fine according to the business requirements, but I am in need of implementing client-cert authentication to enable the web service available to only those who have client certificate.
My server details are:
Oracle Application Server 10g Release 2 (10.1.2)
Server certificate is in place and SSL mode have been already enabled.. able to access my web service through https://<mydomain.com>/myws/TreqWS as well able to see the WSDL file through https://<mydomain.com>/myws/TreqWS?WSDL.
I tried to include the following in my web.xml file as part of implementing CLIENT-CERT authentication.
<security-constraint>
<display-name>SecurityConstraint</display-name>
<web-resource-collection>
<web-resource-name>WSCollection</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>CLIENT-CERT</auth-method>
<realm-name>WSCollection</realm-name> <!-- am not sure about this realm-name and its purpose -->
</login-config>
It is not woking as expected, though I have restarted my oc4j container after including this content to the web.xml file. i.e, I am able to invoke the web service though my sample java client program, though I donot have client certificate/keystore.
I believe I am missing something..Can anyone help me in this regard to implement CLIENT-CERT authentication successfully?
Thanks,
MsI am having the same problem with doc and xsl. I have added this
<mime-mapping>
<extension>xls</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
<mime-mapping>
<extension>doc</extension>
<mime-type>application/msword</mime-type>
</mime-mapping>
to my web.xml. I even restarted the server. I still see doc and xsl in binary.
Is there some other setting that needs to take place?
I am using WL6.1 with fixpack 1.
I can see the doc and excel files in the browser if I don't go through the weblogic
server. That just confirms it's not my browser.
Kumar Allamraju <[email protected]> wrote:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
It works fine for me in 6.1 SP1.
<br><br>
If the following doesn't work , can you
<br>try application/winword instead of application/msword?
<p>--
<br>Kumar
<p>Siming Mu wrote:
<blockquote TYPE=CITE>Hi,
<p>I setup in my web.xml a mime mapping as follows,
<p><mime-mapping>
<br><extension>doc</extension><mime-type>application/msword</mime-type>
<br></mime-mapping>
<p>When I specify a test.doc url, the doc file appears in my browser
as
binary data
<br>instead of download.
<p>Please reference change request 055002, which decribes this problem.
According
<br>to edocs, it has been fixed in wls6.1sp1.
<p>But I am seeing it fixed. Am I doing anything wrong? Thanks.
<p>Siming</blockquote>
</html> -
Ralink RA3290 does not work on Oracle Linux
I have just bought a new HP Pavilion G6-2213so which seems to have a ralink rt3290 wifi chipset
(Just so you know I'm not very experienced with linux when it comes to install new drivers etc)
I have installed:
Red Hat Enterprise Linux Server release 6.3 (Santiago)
Linux hp-v074617 2.6.39-300.17.2.el6uek.x86_64
I have downloaded a driver from mediatek, unzipped it and
ran
make
make install
modprobe rt3290sta
When I run i got
lsmod|grep rt3290
rt3290sta 1255193 0
iwconfig
lo no wireless extensions.
ra0 Ralink STA
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
eth0 no wireless extensions.
rfkill list all
0: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hp-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
dmesg|grep rt3290
rt3290sta: module license 'unspecified' taints kernel.
(Related to GPL I think but not sure if it has an impact)
To me it seemes that the system are aware of my wifi card but still I can not get any wifi connection
Apprecate if someone can tell me if I missed something or what other steps I need to do to make it work
Best regards
MagnusSupport and demand for Wifi on a Linux enterprise server system (RHEL based) is generally limited and usually a desktop system requirement, for which other more suitable Linux distributions exist.
You need to be 100 % about the model of your Wifi adapter.
What is the output of lspci -v related to your Wifi adpater?
Does the driver you download support the Oracle UEK2 kernel (2.6.39)?
You could try your installation starting the system from the original RHEL kernel at the Grub menu to see if it makes any difference. If HP support nor the OS installation provides a driver for your hardware, check http://elrepo.org/tiki/tiki-index.php which focuses on hardware related packages to enhance Enterprise Linux. -
Ankh SVN does not work with Oracle DB Project in ODT 11.1.0.5.10 beta
I was able to add the new Oracle Database Project to my Subversion repository using TortioseSVN, but unfortunately, the Ankh Source Control options do not appear within Visual Studio and none of the icon overlays appear within Visual Studio.
Does anyone know any way to get this to work? Does anyone know if this would be an issue with Ankh or with the new Oracle Database Project?
nullYes. Visual C# class projects work just fine with Ankh. It's only the new Oracle Database Project that doesn't have any Ankh menu options or Ankh icon overlays.
Check out this screenshot of my Visual Studio Solution explorer:
http://www.mixcollective.com/media/559/oracledbproject.jpg
You'll see that none of the folders under "Oracle.New" (a new 11.1.0.5.10 beta Oracle Db Project) have the green/read/yellow Ankh icons that indicate the status of the file. Also, none of the repository commit, update, etc options are available when you right click on folders or files in the project. -
DB adaptor polling, edited sql does not work correctly
Please considet the following table
BPELProcess State
BPEL1 0
BPEL2 0
My DB adaptor is polling on this table to check for the state 0.after reading it changes it to 1. and invokes the bpel process 1 .Bpel1 invokes another process which changes the state back to 0 .
DBAdaptor polling freq is 2 min
DB adaptor SQL is
SELECT BPELPROCESS, STATE FROM INVOKEDMADMPKG WHERE (((BPELPROCESS = BPEL1) AND (STATE = 0)) AND (ROWNUM <= 1)) ORDER BY BPELPROCESS ASC FOR UPDATE NOWAIT
but i used to see 2 instances every 2 minutes,i should see 1.
when i deleted the 2nd row from the database table then it started working fine FOR SOME TIME and thenm the issue returned.
I see twp bpel instances every 2 min
Why cannot i pol on condition where BPEL PRocess =BPEL1 and State =0
Is there a way to accomplish this
Edited by: 850101 on Nov 14, 2012 2:10 PM850101 wrote:
DB adaptor ... check for the state 0 ... changes it to 1 ... changes the state back to 0 ...BPEL will allways work in a transaction... So the change to 1 in the middle of the transaction doesn't make much sense, it will never be visible by other threads...
I'm not sure what you're trying to achieve with that construction but I would say DbAdapter/Bpel wasn't designed to work like that... The results will be unpredictable, as you noticed yourself on your tests...
If you need a BPEL to be invoked every two minutes you may have a look at using a scheduler...
http://www.oracle.com/technetwork/middleware/soasuite/learnmore/soascheduler-186798.pdf
Cheers,
Vlad -
"contains" and "order by" does not work in Oracle 9i
Hello All.
I have next query:
select q.*
from
(SELECT v.id, o.longname as name, v.dord,
TP.longname as TYPE_NAME, v.actualfl, o.NORD, v.version
FROM R_ORD O, R_VORD V, R_TPORD TP, R_BODY b
WHERE TP.ID = o.tp_id and v.ORD_ID = o.ID
and v.ID = b.ID(+) and v.actualfl = '1'
and CONTAINS( o.longname, 'bank%', 1) > 0
) q
ORDER BY name
It's work perfect in Oracle 8.1.7, but I can not get result of the query in Oracle 9.
If I comment
-- ORDER BY name
or
-- and CONTAINS( o.longname, 'bank%', 1) > 0
then the query return a result.
Please help.
Thanks in advance.
P.S. I use Oracle 9i SR1 and
sort_area_size = 524288
sort_area_retained_size = 0
Victor Zogin.Description Cost Cardinality Byte
SELECT STATEMENT, GOAL = CHOOSE 6 1 1260
SORT ORDER BY 6 1 1260
COUNT
NESTED LOOPS OUTER 4 1 1260
NESTED LOOPS 8 1 1247
NESTED LOOPS 3 61 11895
TABLE ACCESS BY INDEX ROWID OMEGA R_TPORD 1 1 140
INDEX RANGE SCAN OMEGA PK_R_TPORD 1 1
TABLE ACCESS BY INDEX ROWID OMEGA R_VORD 2 149 8195
INDEX RANGE SCAN OMEGA IDX_R_VORD_ACT 1 149
TABLE ACCESS BY INDEX ROWID OMEGA R_ORD 8 1 1052
DOMAIN INDEX OMEGA CK_ORD_IDX 4 1
INDEX UNIQUE SCAN OMEGA PK_R_BODY 22437 291681
Maybe you are looking for
-
Creating a standbay database from an rman backup
hi, I have a situation that a standby database has a large gap in archive log files, the primary server does not now have those files. I understand that you can create a standby from an rman backup of the primary but all reading I have done shows tha
-
Macbook Pro - 2 Hard Drives - Dual Boot OS OSX + Windows
Hello guys, I've been facing an issue here I bought an SSD 2 years ago and changed the original MBP HD. I did a fresh install of OSX while still having my optical drive. Everything is fine with the OSX installation. Recently I bought an enclosure and
-
Why are my PSD's placed in Indesign not printing as accurate as Jpegs?
Are there any common do's and donts when placing PSD's in indesign? I know its an extremely broad question. Ill explain my process... Take Raw photo - use adjustment layers to modify image - save as PSD - place saved image in indesign - scale to app
-
I developed a 1 page Xmas comic using 'comic life' and photos dragged from iPhoto. I exported it to PDF so it was easier to email to people. The size of the PDF is 12 Mb. However when I tried to compress it using the inbuilt leopard features, the zip
-
Purchasing Group in equipment BOM ( Item level)
At the time of creating equipment BOM , purchasing group in equipment BOM (item level ) will be in sync with material master purchasing data. When we change purchasing data (Purchasing group) in material master at that time system will not change pur