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 13:54 Go to next message
John M. is currently offline John M.Friend
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 13:59 Go to previous message
John M. is currently offline John M.Friend
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 51 times)
Previous Topic:TENEO Session Controller
Next Topic:[EMFStore] Problem sharing project
Goto Forum:
  


Current Time: Sun Dec 21 01:58:36 GMT 2014

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

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