Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Issues with procedure!

user782973-OracleJan 19 2015 — edited Jan 20 2015

Hi, Can someone help me understand whats wrong with my procedure.

CREATE OR REPLACE procedure VALID_PROC( START_DATE IN DATE, END_DATE IN DATE)

IS

cursor c1 is

SELECT * FROM EMP

WHERE HIREDATE BETWEEN TO_DATE('01-01-85','DD-MM-YY') AND TO_DATE('01-01-80','DD-MM-YY');

c_row c1%rowtype;

BEGIN

OPEN C1;

fetch c1 into c_row;

if c1%notfound then

endif;

INSERT INTO emp_back(empno,ename,job,mgr,hiredate,sal,comm,deptno)

VALUES(c_row.empno,c_row.ename,c_row.job,c_row.hiredate,c_row.sal,c_row.comm,c_row.deptno);

commit;

close c1;

END;

/

Comments

Unfortunately Java ME SDK 3.2 is not publicaly available now. Could you please help me to understend why are you asking for such an old version so I might be able to suggest you an alternative solution? What a use case do you have?

gdillen

Hi,

Sorry for the late answer.

Java ME SDK 3.2 is needed to build Eclipse PAHO MQTT library (org.eclipse.paho.mqtt.java.git - MQTT Client Package - Java Language).

From the README file:

Paho Java ME client for MQTT

The Java ME client requires the Oracle J2ME SDK 3.2 (which is only available for windows) and assumes it will be installed in c:/Java_ME_platform_SDK_3.2/

The client jar is built using ant and the build.xml file in org.eclipse.paho.jmeclient.mqttv3/

Sergey.N-Oracle

Hi!

J2ME SDK3.4 is good choice to substitute SDK3.2 without any source and binaries update

/Sergey

gdillen

Hi,

I asked the guys from Eclipse PAHO: Java ME SDK 3.2 is a requirement!

thanks.

Guy

Sergey.N-Oracle

Didn't try to build but reference to SDK3.2 and its library is placed at root/org.eclipse.paho.jmeclient/org.eclipse.paho.jmeclient.mqttv3/build.xml

<path id="lib.path.ref">
<fileset dir="c:/Java_ME_platform_SDK_3.2/lib">
<include name="**/cldc_1.1.jar" />
<include name="**/jsr75_1.0.jar" />
<include name="**/jsr120_1.1.jar" />
<include name="**/jsr172_1.0.jar" />
<include name="**/jsr177_1.0.jar" />
<include name="**/jsr179_1.0.jar" />
<include name="**/jsr280_1.0.jar" />
<include name="**/impng_1.0.jar" />
</fileset>
</path>

Please substitute SDK_3.2 with SDK_3.4

gdillen

Thanks.

I know and I already changed and tried (a while ago) by changing v3.2 in v3.4 in the build.xml; but that doesn't work unfortunately.

Thanks.

Guy

Sergey.N-Oracle

Hi!

May I ask to show error log?

/Sergey

1 - 7
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 17 2015
Added on Jan 19 2015
16 comments
8,103 views