Skip to Main Content

APEX

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!

Problem REF

984152Feb 14 2013 — edited Feb 14 2013
hi

CREATE TYPE emp_person_typ AS OBJECT (
name VARCHAR2(30),
manager REF emp_person_typ );

CREATE TABLE emp_person_obj_table OF emp_person_typ;

INSERT INTO emp_person_obj_table VALUES (
emp_person_typ ('John Smith', NULL));

SELECT *
FROM emp_person_obj_table;

in APPEX I get the following error:
ORA-00932: inconsistent datatypes: expected NUMBER got REF db.emp_person_typ
I was told that APPEX not accept REF, I wanted to know how I could do

Edited by: 981149 on 14-feb-2013 8.02

Comments

What is appearing in the logs of both servers in regards to the connection failure?

3720642

As shown on syslog:

[ERROR] [MY-010584] [Repl] Slave I/O for channel '': error connecting to master 'replica@belem.cidades.gov.br:3306 - retry-time: 60  retries: 1040, Error_code: MY-001129

The last error code given, after a stop slave and some changes to the master (file and log_pos), was Error_code: MY-002061, the rest of the line was the same.

Again, I have no idea what these errors actually are, nor why they went away as soon as I connected manually to the mysql console with the replication user.

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

Post Details

Locked on Mar 14 2013
Added on Feb 14 2013
25 comments
248 views