Book a Demo

Author Topic: MySQL version problem: "Partition" is now reserved  (Read 5598 times)

Rhys Lewis

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
MySQL version problem: "Partition" is now reserved
« on: February 25, 2013, 04:13:03 pm »
From version 5.6 of MySQL the word "Partition" is a reserved word - see here: http://dev.mysql.com/doc/refman/5.6/en/reserved-words.html compared to http://dev.mysql.com/doc/refman/5.5/en/reserved-words.html

Unfortunately the table t_xref has a column called "Partition", so whenever you interact with a diagram in a model that is hosted on a MySQL database that is version 5.6 you will get an SQL error as it doesn't recognise Partition as a column name unless it is quoted.

Any chance you could go through and quote all those SQL statements?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MySQL version problem: "Partition" is now rese
« Reply #1 on: February 25, 2013, 07:56:58 pm »
I hope you've sent this to Sparx as well, because we (EA - users) can't help you much with this.
You can use the Report a buglinks on the bottom of the page.


Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: MySQL version problem: "Partition" is now rese
« Reply #2 on: February 25, 2013, 08:58:46 pm »
There's PILE of columns in various tables that will break some database technologies.

I recall trying to setup EA many years ago for an unsupported RDBMS  and being shocked at the number of column names that were reserved words.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: MySQL version problem: "Partition" is now rese
« Reply #3 on: February 26, 2013, 06:26:28 am »
Maybe this could be solved with a MySQL adapted database scheme and an 'alias' for the particular column names (calling in qwerty ...)?

Just my 0.02 EUR,
Günther
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MySQL version problem: "Partition" is now rese
« Reply #4 on: February 26, 2013, 08:31:49 am »
Unfortunately I'm not a DBA, so I'm out :-[

q.

Rhys Lewis

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: MySQL version problem: "Partition" is now rese
« Reply #5 on: February 26, 2013, 10:37:37 am »
I emailed it to Sparx yesterday, so I assume they are looking at it.

The workaround is to use version 5.5 or below.

Ian Mitchell

  • EA User
  • **
  • Posts: 507
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: MySQL version problem: "Partition" is now rese
« Reply #6 on: August 08, 2013, 08:52:27 pm »
This is also a problem for me. Any chance of Sparx looking at this?
I thought that the Sparx devs mostly use MySQL: how are they managing this ?
There should at least be a warning in BIG LETTERS that more recent versions of mySQL are not supported by EA. I wasted a day discovering this....
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: MySQL version problem: "Partition" is now rese
« Reply #7 on: August 09, 2013, 08:32:17 am »
We were made aware of this problem recently and have support for 5.6 in the works and it will be included in a future version.

In the mean time I would recommend using 5.5 or below.