Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » TENEO LONGTEXT DATATYPE(TENEO LONGTEXT DATATYPE)
TENEO LONGTEXT DATATYPE [message #1250519] Wed, 19 February 2014 10:14 Go to next message
Chandre Gowda is currently offline Chandre GowdaFriend
Messages: 56
Registered: April 2013
Member
Hello,

Iam using TENEO-HIBERNATE to persist ecore model which has description field which can vary from 0 to unlimited. We have 'LONGTEXT' datatype in mysql which grows dynamically. Could you please let me know what we need to use in TENEO Annotation corresponding to LONGTEXT ?

Thanks
Chandru
Re: TENEO LONGTEXT DATATYPE [message #1250757 is a reply to message #1250519] Wed, 19 February 2014 15:13 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Chandru,
You have 2 options:
- add a Column annotation with a length which is long enough (but some databases have length restrictions on varchars)
- add a Lob JPA annotation

The teneo wiki explains how to set annotations.

gr. Martin

On 02/19/2014 11:14 AM, Chandre Gowda wrote:
> Hello,
>
> Iam using TENEO-HIBERNATE to persist ecore model which has description field which can vary from 0 to unlimited. We
> have 'LONGTEXT' datatype in mysql which grows dynamically. Could you please let me know what we need to use in TENEO
> Annotation corresponding to LONGTEXT ?
>
> Thanks
> Chandru


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: TENEO LONGTEXT DATATYPE [message #1251404 is a reply to message #1250757] Thu, 20 February 2014 07:14 Go to previous message
Chandre Gowda is currently offline Chandre GowdaFriend
Messages: 56
Registered: April 2013
Member
Thanks Martin Smile
Previous Topic:[Emfatic] Assign attribute in inheritance
Next Topic:[EMFStore] Basic EMFStore Example doesn't work
Goto Forum:
  


Current Time: Tue Mar 19 08:26:31 GMT 2024

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

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

Back to the top