Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Override teneo.jpa annotation while runtime
[Teneo] Override teneo.jpa annotation while runtime [message #1194459] Mon, 18 November 2013 09:19 Go to next message
Eclipse UserFriend
Hello,

I am interested in changing the teneo.jpa annotations while runtime.
Background is that is should be possible to set a hash function within the property file.
So it could be possible that the length of the hash string is different, which has impact on the column length.

Can I do anything like that?
Re: [Teneo] Override teneo.jpa annotation while runtime [message #1194577 is a reply to message #1194459] Mon, 18 November 2013 10:30 Go to previous messageGo to next message
Eclipse UserFriend
Hi John,
One thing you can access the in-memory model and set eannotations programmatically. So with this you would be able to
change/set the eannotation at runtime before initializing the datastore.

gr. Martin

On 11/18/2013 03:19 PM, John M. wrote:
> Hello,
>
> I am interested in changing the teneo.jpa annotations while runtime.
> Background is that is should be possible to set a hash function within the property file.
> So it could be possible that the length of the hash string is different, which has impact on the column length.
>
> Can I do anything like that?


--

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] Override teneo.jpa annotation while runtime [message #1194728 is a reply to message #1194577] Mon, 18 November 2013 12:06 Go to previous message
Eclipse UserFriend
Okay thanks, works for me. Smile
Previous Topic:[Teneo] Using char with non-default size causes problems
Next Topic:[Texo] Save proxy
Goto Forum:
  


Current Time: Wed Jul 30 17:46:35 EDT 2025

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

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

Back to the top