Discussions
Categories
- 196.8K All Categories
- 2.2K Data
- 238 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 544 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.8K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.5K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 437 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
Error al cargar archivos a colección

rober584812
Member Posts: 471 Bronze Badge
Hola tecnólogos de Oracle.
Al intentar subir archivos a la tabla APEX_COLLECTIONS de Oracle APEX, se genera el siguiente mensaje de error: "La llamada Ajax ha devuelto el error de servidor ORA-01403: No se ha encontrado ningún dato para ajax_set_session_state."
La configuración del control de tipo FileBrowser es la siguiente:
Oracle APEX es 21.2.6 corriendo en OCI.
El código de la Acción Dinámica es el siguiente:
declare filename VARCHAR2(255); blob_content blob; mimetype VARCHAR2(255); l_file_names apex_t_varchar2; l_file apex_application_temp_files%rowtype; begin if not(apex_collection.collection_exists('ARCHIVOS_SUBIDOS')) then apex_collection.create_or_truncate_collection('ARCHIVOS_SUBIDOS'); end if; l_file_names := apex_string.split ( p_str => :P3_CARGAR_ARCHIVOS, p_sep => ':' ); for i in 1 .. l_file_names.count loop select *--blob_content, filename, mime_type into l_file from apex_application_temp_files where name = l_file_names(i); -- add code here to store the uploaded file in your own table apex_collection.add_member( p_collection_name=>'ARCHIVOS_SUBIDOS', p_c001 => l_file.filename, p_c002 => l_file.mime_type, p_blob001 => l_file.blob_content ); end loop; end;
Cordiales.
Answers
-
Hola @rober584812,
¿Podría replicar el caso en apex.oracle.com y compartir el acceso a su workspace?
Regards/Saludos/Obrigada,
Mónica Godoy