Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Hibernate Settings in Teneo
Hibernate Settings in Teneo [message #122233] Fri, 09 May 2008 14:26 Go to next message
No real name is currently offline No real nameFriend
Messages: 36
Registered: July 2009
Member
I am using Teneo 0.8. I am trying to turn off Hibernates schema generation
by setting hmb2ddl.auto = "off" or "validate" but it seems Teneo is not
passing that setting to Hibernate. Pls let me know how can I turn this off.

Also let me know if there is a way to turn OFF constraints creation during
schema update. We plan to enforce constraints through business apps so
that we can save data to relational DB in batches without worrying abt
order of SQL inserts/updates.

Any help is appreciated.
Re: Hibernate Settings in Teneo [message #122244 is a reply to message #122233] Fri, 09 May 2008 21:04 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Vaibhav,
Which version of Teneo are you using? Older versions used a Teneo specific option. The newest
versions should work using the hibernate option.

Can you post the exact code/property you use to set the hibernate option?

I don't know if it is possible to disable constraint creation during schema update.I checked but I
could not find such an option. You can dive into the hibernate source code maybe they have a hidden
feature somewhere.

gr. Martin

Vaibhav Kulkarni

> I am using Teneo 0.8. I am trying to turn off Hibernates schema
> generation by setting hmb2ddl.auto = "off" or "validate" but it seems
> Teneo is not passing that setting to Hibernate. Pls let me know how can
> I turn this off.
>
> Also let me know if there is a way to turn OFF constraints creation
> during schema update. We plan to enforce constraints through business
> apps so that we can save data to relational DB in batches without
> worrying abt order of SQL inserts/updates.
>
> Any help is appreciated.
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: Hibernate Settings in Teneo [message #618022 is a reply to message #122233] Fri, 09 May 2008 21:04 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Vaibhav,
Which version of Teneo are you using? Older versions used a Teneo specific option. The newest
versions should work using the hibernate option.

Can you post the exact code/property you use to set the hibernate option?

I don't know if it is possible to disable constraint creation during schema update.I checked but I
could not find such an option. You can dive into the hibernate source code maybe they have a hidden
feature somewhere.

gr. Martin

Vaibhav Kulkarni

> I am using Teneo 0.8. I am trying to turn off Hibernates schema
> generation by setting hmb2ddl.auto = "off" or "validate" but it seems
> Teneo is not passing that setting to Hibernate. Pls let me know how can
> I turn this off.
>
> Also let me know if there is a way to turn OFF constraints creation
> during schema update. We plan to enforce constraints through business
> apps so that we can save data to relational DB in batches without
> worrying abt order of SQL inserts/updates.
>
> Any help is appreciated.
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:Hibernate Settings in Teneo
Next Topic:jet editor java syntax coloring
Goto Forum:
  


Current Time: Tue Apr 07 13:02:30 GMT 2020

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

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

Back to the top