Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo] How to disable automatic updating of DB schema when application starts
[Teneo] How to disable automatic updating of DB schema when application starts [message #425247] Thu, 20 November 2008 17:46 Go to next message
koloale is currently offline koloaleFriend
Messages: 41
Registered: July 2009
Member
Hello!
I'd like to turn off hbm2ddl generation and updating schema in DB when
an application starts. Does anybody know how to do it or it is
permanently enabled?

Thanks in advance, Alexey
Re: [Teneo] How to disable automatic updating of DB schema when application starts [message #425248 is a reply to message #425247] Thu, 20 November 2008 19:49 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Alexey,
The default for Teneo is indeed to update. You can prevent this by setting the option
Environment.HBM2DDL_AUTO (a hibernate option) to "none" or an empty value.

gr. Martin

koloale wrote:
> Hello!
> I'd like to turn off hbm2ddl generation and updating schema in DB when
> an application starts. Does anybody know how to do it or it is
> permanently enabled?
>
> Thanks in advance, Alexey


--

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@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:non-compact xml serialization
Next Topic:Teneo not passing hibernate.properties?
Goto Forum:
  


Current Time: Fri Apr 26 08:30:25 GMT 2024

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

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

Back to the top