|
|
|
|
|
|
| Author |
Message |
George Feinberg *nix forums beginner
Joined: 21 Nov 2005
Posts: 11
|
Posted: Mon Jun 05, 2006 6:53 pm Post subject:
Re: Problem in setting metadata
|
|
|
Wolfgang,
Inserting a document with metadata should work just fine. When you use
setGenerateName(true),
and use an XmlDocument object in the putDocument() call (as you need to
do
in order to set both content and metadata at once), the generated name
is
returned in the XmlDocument object, and can be obtained
via XmlDocument.getName() after the document has been "put."
That name needs to be used to get the document for future operations.
If you reply, please email me directly, as I do not generally monitor
this group.
Regards,
George Feinberg
gmf@sleepycat.com
wolfgang.schuller@googlemail.com wrote:
| Quote: | Hi again,
It works now, because earlier i was using document configuration object
with setGeneratedName(true). As i removed it i.e. docConfig from
putdocument function, worked fine. I think this is little bug in bdxml
java api that one cannot insert document and metadat with container
generated name.
thanks
schuller |
|
|
| Back to top |
|
 |
wolfgang.schuller@googlem *nix forums beginner
Joined: 04 Jun 2006
Posts: 3
|
Posted: Mon Jun 05, 2006 3:22 pm Post subject:
Re: Problem in setting metadata
|
|
|
Hi again,
It works now, because earlier i was using document configuration object
with setGeneratedName(true). As i removed it i.e. docConfig from
putdocument function, worked fine. I think this is little bug in bdxml
java api that one cannot insert document and metadat with container
generated name.
thanks
schuller
wolfgang.schuller@googlemail.com wrote:
| Quote: | Hi,
I am a newbie to berkeley dbxml. As shwon from the subject i have
problem in setting meta data for every document. I have followed the
sample shown in userguide but it does not work so far. Most
ineterstingly it doesnot give any error while setting and retrieving
metadata.
I shall be grateful if anyone can send running example to me.
Thanks,
schuller |
|
|
| Back to top |
|
 |
wolfgang.schuller@googlem *nix forums beginner
Joined: 04 Jun 2006
Posts: 3
|
Posted: Sun Jun 04, 2006 9:29 pm Post subject:
Problem in setting metadata
|
|
|
Hi,
I am a newbie to berkeley dbxml. As shwon from the subject i have
problem in setting meta data for every document. I have followed the
sample shown in userguide but it does not work so far. Most
ineterstingly it doesnot give any error while setting and retrieving
metadata.
I shall be grateful if anyone can send running example to me.
Thanks,
schuller |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 5:44 am | All times are GMT
|
|
Web Advertising | Loans | Promotional Web Design | AdSense Optimization Tutorials | Loans
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|