[Teneo] MySQL does not create new tables on init [message #676147] |
Fri, 03 June 2011 01:29 |
|
Hi,
First off sorry if I did not post in the right topic I did not see a topic for Teneo. I'm having an interesting problem in my old dev machine I was able to use MySQL as a db db store for EMF/Teneo and was able to get the tables added into the DB via hibernate schema update but on my new machine and a second I can not. I've looked at the docs I have made sure that the hibernate property is set to create and still no luck when running MySQL I was able to run sucessfully on HSQL but have not tried another database, does anyone know what might be causing this issue where MySQL tables are not getting created? Thanks! - Duncan
|
|
|
|
Re: [Teneo] MySQL does not create new tables on init [message #676315 is a reply to message #676164] |
Fri, 03 June 2011 16:02 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Duncan,
The only reason I can think of is that the model uses some reserved word from mysql (although this should work fine
normally as Teneo will quote names). Hibernate should show some error in the log, note that Hibernate will not stop if
schema creation fails, it will happily continue, but you should see a log statement somewhere in the beginning.
gr. Martin
On 06/03/2011 06:39 AM, Ed Merks wrote:
> Duncan,
>
> Comments below.
>
> Duncan Krebs wrote:
>> Hi, First off sorry if I did not post in the right topic I did not see a topic for Teneo.
> In the future, use eclipse.tools.emf.
>> I'm having an interesting problem in my old dev machine I was able to use MySQL as a db db store for EMF/Teneo and was
>> able to get the tables added into the DB via hibernate schema update but on my new machine and a second I can not.
>> I've looked at the docs I have made sure that the hibernate property is set to create and still no luck when running
>> MySQL I was able to run sucessfully on HSQL but have not tried another database, does anyone know what might be
>> causing this issue where MySQL tables are not getting created? Thanks! - Duncan
> Martin usually has good ideas. I've added eclipse.tools.emf to the "to" list of the reply, so please monitor the
> eclipse.tools.emf forum/newsgroup and follow up there.
--
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
|
|
|
Powered by
FUDForum. Page generated in 0.02015 seconds