The Proplem disapeared when i replaced the "null" parameter with the "p" Object in t.storeDocument(). Guess (hope) this was the problem, though i don't...
Hy, .. its me again the next error i get, is: " Element type not mapped as a class: lfn " but, as far as i understand Mapping-Files, my configuration is set ...
hi All, This is Bhuvaneswari new member of XML-DBMS group. I am new to XML-DBMS itself, and found it is very useful to work with. Now I am in need of your help...
I'm using v2(dev) and have uncovered the following behavior. I added the <EmptyStringIsNull/> element to my <Options> element, and was immediately greeted with...
hi, This is Bhuvaneswari from India. I have started working on XML-DBMS from the last week and I found it is very useful for retrieving things from the...
You must assign actions on a per-table basis, not a per-column basis. For example, it would not be possible to update the LFN column but insert the EXTID...
This is a bug in the code. storeDocumentInternal assumes that the Properties object is non-null and checks for various optional properties, such as whether to...
1) You do not need an action file when retrieving data. You only need an action file for updating / inserting / deleting data. 2) I tried your map and filter...
hi, Thanks for your reply. I want some clarification on the java coding part of DBMSToDOM class. 1. What I have done is, I have written a method for selecting ...
I just like to store XML To DBMS via High Level API: ______________________________________________________ p.load(new FileInputStream("parser.props")); ...
Is it possible (if yes- how) to store "Defaultvalues" or "fixed- Values, to a Row in a Database while i'm storing my documents to Database? -> Maybe via entrys...
Hello, How do I indicate in the mapping file that I want to map a given ClassMap to multiple tables? i.e. In a single invocation of storeDocument I want to...
No on both cases. When transferring data from XML => database, the best way to get fixed values is to set the default in the database and omit the element /...
Do you mean multiple tables or multiple databases? You say both below. 1) A ClassMap element maps a complex element type to a single table. 2) If you mean...
Hello, Thank you for responding. I meant mapping to multiple databases. I have a question about step 2 of the procedure. Do I create 1 classmap and have n...
OK. Now I understand what you want. XML-DBMS does not support this directly -- it assumes you want to map a particular element type to a single table in a ...
Hi! I've got a problem with inserting nested XML elements into database (using xmldbms V2alpha3 transfer api). Actually, this is what my XML looks like : <A...
If I am right, your element names have to be unique, so you have to use XSLT before calling XML-DBMS. <A id="1"> <B id="11">...</B> <B id="12>...</B> ...
holger.schimanski@...
Apr 13, 2004 11:03 am
3391
"If I am right, your element names have to be unique, so you have to use XSLT before calling XML-DBMS." --> I've tried this, but it seems like I can't redefine...
Maybe you can create two views to the same table and insert via this views. With this trick you can map two ClassMap to the same table at the database, because...
holger.schimanski@...
Apr 13, 2004 3:05 pm
3393
According to your map, A (SegmentDecomposition) can contain B (Segment) but can't contain A. This is the reason that the second level A's are not being...
... The problem with this is that, if two different ClassMaps point to the same table, there is no way to reconstruct the document when retrieving data from...
This is a good workaround if you don't want to use UseClassMap (as described in the previous mail). If the view could somehow determine which rows came from...
I now understand the problem. Since you are passing a result set to retrieveDocument, you need to: 1) Name the result set. You use this name as the index in...
salut ;je suis un etudiant de préparant le desa . svp j'ai un projet qui s'intitule :mapping entre xml et base de donneés ralationnelle( construction d'un ...
XML-DBMS uses primary keys to identify rows to update. Therefore, if you want to update a row, the primary key must be in the XML document. If you are using...
Using Views it is also Possible to set default values, which was a question in a previous mail....
holger.schimanski@...
Apr 14, 2004 7:10 am
3402
Hi! Thanx for the quick answer! It helped me to understand XMLDBMS mapping language better, and now the solution seems obvious... but doesn't work for me!...