Questions tagged [berkeley-db-xml]

Berkeley DB XML is a C++ library that enables XML data storage and XQuery and XPath queries.

Berkeley DB XML is part of the Oracle Berkeley DB family of products. It is a C++ library that links into your application, enabling XML data storage and XQuery and XPath queries. It provides C++ & Java APIs and support for several scripting languages. It supports transactional and non-transactional operations, XML and/or key-value data storage and High Availability via replication. It's designed to be small, highly performant, reliable and scalable.

You can find more information about Berkeley DB XML in the following locations:

Product Homepage

Downloads

FAQ

Documentation

Primary technical discussion forum

.NET Implementation

32 questions
0
votes
1 answer

Cannot find declaration of element 'Root' with dbxml

I'm new to XML. I'm trying to import an XML file but I'm getting an error - "Cannot find declaration of element 'Root'". I suspect it is because the namespace URI (http://xmlns.oracle.com/apps/otm/DBXML) is inactive. I tried going to the URI but it…
0
votes
0 answers

why does Berkeley DB stand in CP in the CAP theorem?

According to CAP-theorem, in databases, it is impossible to simultaneously achieve consistent, availability and partition tolerance. why does Berkeley DB stand in CP in the CAP theorem? Why Berkeley DB does not support Availability? I could not find…
0
votes
1 answer

XML BerkeleyDB with C#

I would like to use C# as a wrapper application for Oracle Berkeley XML database. I tried to find how to do this on the Internet but could not. Basically, I am a new user for this kind of native XML database and I know that lots of users are using…
Dena
  • 43
  • 1
  • 2
  • 7
0
votes
1 answer

Berkeley DB: Storing List of values for a Key

Consider a sample application where we need to store Customer name as primary key and list of his transactions as value in Berkeley db. Do berkeley support storing list of values against a primary key? If so, how to approach designing the entity?
Dhakchianandan
  • 351
  • 1
  • 6
  • 15
0
votes
1 answer

Linux version that is compatible with Berkeley XMLDB 2.5.16

Is Berkeley DBXML 2.5.16 compatible with latest version of Red hat Linux?
Ragasudha
  • 31
  • 3
0
votes
1 answer

Copy contents from one container to another container in Berkeley XMLDb

I need to copy some documents from one container to another container in XML DB 2.5.16. Below is the snippet to open those containers public static void main(String[] args) throws DatabaseException { EnvironmentConfig config_1 =…
Ragasudha
  • 31
  • 3
0
votes
1 answer

com.sleepycat.db.DatabaseException: Permission denied Exception while creating DB Env

Below is the piece of code to create instance for XMLManager, EnvironmentConfig config = new EnvironmentConfig(); config.setErrorStream(System.err); config.setAllowCreate(true); config.setRunRecovery(true); …
Ragasudha
  • 31
  • 3
0
votes
1 answer

Size of the Berkley XMLDB container remains unchanged even after deleting document

I am using Berkeley dbxml 2.5.16. First I insert a document Test.xml to myDb.dbxml container. dbxml> putDocument KEY_1 Test.xml` Then I checked the file size of the container, bash-3.2$ ls -ll ${dbxml-home}/myDb.dbxml rw-r----- 1 raga raga…
Ragasudha
  • 31
  • 3
0
votes
1 answer

Unexpected

I am running the following command which is running perfectly in other XQuery processors for $title in doc("dbxml:/auction/auction")/site/regions/* for $tit in $title for $it in $tit/item let $country:=$it/location group by $country return…
user4542931
0
votes
1 answer

Should use Berkeley DB XML without an on disk container?

I am considering to use BDB XML, as in memory application data store. It is XML like data with definition records and data records, i have provided XPath like quiring for data access. Its running well except for a memory overflow problem, that…
theCakeCoder
  • 1,088
  • 1
  • 11
  • 20
0
votes
1 answer

Berkeley XML DB "where" analog

I'm currently studying Berkeley XML DB and got an assignment to write Python script using it. The problem I'm currently facing is to select specific node of container. For example we have container with such information
Andrew Nikolin
  • 297
  • 1
  • 4
  • 18
0
votes
1 answer

XML formatted fileDataBodyPart not uploading via ApacheHttpClient to CherryPy

Please excuse my probably inaccurate vocabulary. I am using an ApacheHttpClient, through Jersey, to send a file over to our Berkeley DBXML server, handled by CherryPy. The transmission is sent via Chunked and not streaming encoding - because we…
tenwest
  • 2,058
  • 1
  • 13
  • 16
0
votes
1 answer

Django + dbxml + Apache = problems. Any solutions?

I'm trying to set up a Django application using WSGI. That works fine. However, I am having some issues with part of my Django app that uses BDB XML. My Apache config is as follows: Listen 8000 WSGISocketPrefix /tmp/wsgi
Jason
  • 95
  • 1
  • 2
  • 6
0
votes
1 answer

"error: 'ptrdiff_t' does not name a type" on installing Berkley DB XML 2.5.16 in Ubuntu 12.04

An error is received when running the build script for Berkley DB XML 2.5.16 in Ubuntu 12.04 with vagrant on a virtualbox: ../include/xqilla/framework/XPath2MemoryManager.hpp:90:11: error: 'ptrdiff_t' does not name a type make[1]: ***…
Nigel_V_Thomas
  • 907
  • 13
  • 27
0
votes
1 answer

berkeley dbxml django mod_wsgi not working with error: 'finally' pops bad exception

I have a python/django application, 'mysite', which connects to bdbxml. The application works fine using the django development server but fails when run using mod_wsgi with apache - my chosen route for production. Specifically it is the parts of…