This project is read-only.

Need to save annotations in database

Oct 31, 2013 at 11:42 AM
I want to save the annotations to database but im not clear actually how can i do this? As Save method of AnnotationStore is write the annotation to Stream, so i need to save this stream to database ??
Please let me know the structure of database table which need to create for saving annotations like columns and its datatypes.
Oct 31, 2013 at 3:22 PM
You can model your annotations in a database any way you want. The AnnotationStore save an XML document to the stream. You can save the stream as blob in your database. Alternatively you can parse the saved XML document and store the annotation elements with their attributes per column.

The annotation XML format is extensible, there is no defined scheme. Each annotation type has its own attributes.