Book a Demo

Author Topic: UML Pattern Images  (Read 4397 times)

davisr_uk

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
UML Pattern Images
« on: June 12, 2015, 12:36:07 am »
I'm having a minor issue importing UML patterns into the EA database. They import with no problem but EA is not storing an image of the pattern saying that it was removed as the pattern was too large for the database field.

I've used the exact (and bigger) patterns in previous EA versions where this wasn't a problem. Anyone got any ideas?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: UML Pattern Images
« Reply #1 on: June 12, 2015, 07:59:47 am »
Different DBMS?

davisr_uk

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: UML Pattern Images
« Reply #2 on: June 12, 2015, 07:50:31 pm »
Quote
Different DBMS?
Yes, previously I used SQL Server 2008 as the backend but in this instance I am using MySQL 5.6.

Using the same pattern with an eap file as the repo actually stores the image correctly.

davisr_uk

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: UML Pattern Images
« Reply #3 on: June 12, 2015, 11:10:05 pm »
It is actually worse than I first thought. Any pattern over the size of 64Kb cannot be imported into MySQL. The reason for this is that the XMI is stored in a single column of type "text". This type is limited to 64Kb in size.

Changing the type to mediumtext (allowing 16Mb) has no effect. Presumably the EA ORM configuration also needs updating and as Sparx are the only ones who can do this I see no way around it until a patch is issued.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: UML Pattern Images
« Reply #4 on: June 15, 2015, 09:16:08 am »
Quote
Changing the type to mediumtext (allowing 16Mb) has no effect.
No, it won't. EA is checking the size before it gets to the DB to provide a more friendly error message.