advanced-queuing

mongodb query without field name

妖精的绣舞 提交于 2019-11-29 08:31:23
I would like query all objects that have a field containing a specific value. For example, I have two documents: {"123": "apple", "217": "pear", "179": "orange"} {"831": "pear", "189": "grapes"} and would like to get all objects that has a field whose value is "apple", but I do not know the name of the field. Is it possible to specify a query in MongoDB to achieve this? (The numerical keys in the objects are children ids, and the values in the objects are long GUIDs) Unfortunately, MongoDB does not support any method of querying all fields with a particular value. There is an existing Jira

PL/SQL function in Oracle cannot see DBMS_AQ

五迷三道 提交于 2019-11-28 09:21:00
问题 I have problem with Oracle 9.2 and JMS. I created PL/SQL routine to send XML text (from file or CLOB) to queue, but this routine do not compile. My code looks like (filling message omitted): create or replace procedure jms_test(msg varchar2) is id pls_integer; message sys.aq$_jms_stream_message; enqueue_options dbms_aq.enqueue_options_t; message_properties dbms_aq.message_properties_t; msgid raw(16); java_exp exception; v_filehandle_input utl_file.file_type; v_newline varchar2(32767); pragma