Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] How to use real text datatypes in database?
[Teneo] How to use real text datatypes in database? [message #1160986] Tue, 29 October 2013 09:54 Go to next message
John M. is currently offline John M.
Messages: 198
Registered: July 2010
Senior Member
Hello,

I have a small model, which contains some EString datatypes. But it seems my data is too big for them (more than 255 characters).

Is there any possibility to use instead of varchar for example text datatype in the database?

Thanks for any advices.
Re: [Teneo] How to use real text datatypes in database? [message #1160992 is a reply to message #1160986] Tue, 29 October 2013 09:59 Go to previous message
John M. is currently offline John M.
Messages: 198
Registered: July 2010
Senior Member
Okay my bad, I found the answer while I was posting.

You can easily use annotations for it.
index.php/fa/16580/0/

For examples look in the wiki:
http://wiki.eclipse.org/Teneo/Hibernate/ModelRelational/Teneo_Annotation_Examples#Examples_of_annotations_defined_in_Ecore_or_in_a_XML_Schema_model
  • Attachment: text.png
    (Size: 2.57KB, Downloaded 40 times)
Previous Topic:TENEO Session Controller
Next Topic:[EMFStore] Problem sharing project
Goto Forum:
  


Current Time: Wed Aug 27 17:23:29 EDT 2014

Powered by FUDForum. Page generated in 0.01568 seconds