Hibernate Settings in Teneo [message #122233] |
Fri, 09 May 2008 10:26  |
Eclipse User |
|
|
|
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 17:04  |
Eclipse User |
|
|
|
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 17:04  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.10133 seconds