Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Large objects (BLOB)
Large objects (BLOB) [message #612629] Wed, 21 November 2007 10:32
Alex Mising name is currently offline Alex Mising nameFriend
Messages: 149
Registered: March 2010
Senior Member

I'm trying to persist binary objects using Teneo. What's the suggested
method of doing that? I tried using the EByteArray data type, as it was
the closest one to a BLOB I could find. Here's an example model:

<eClassifiers xsi:type="ecore:EClass" name="Document">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="filename"
<eStructuralFeatures xsi:type="ecore:EAttribute" name="content"

Teneo creates a table "document_content" and creates a row each byte in
the array.

The only relevant documentation I found was:
My model is not written as an XML schema. How does this map to a .ecore

P.S. I use hibernate 3.2.5 and Derby as the database backend.
Previous Topic:[Teneo] Timeout after 8 hours
Next Topic:[Ecore Tools] Inconsistencies building from CVS
Goto Forum:

Current Time: Thu Apr 25 01:42:37 GMT 2024

Powered by FUDForum. Page generated in 0.03292 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top