Book a Demo

Author Topic: How many chars EA supports as a "database field"  (Read 4475 times)

Hardy

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
How many chars EA supports as a "database field"
« on: October 30, 2014, 12:52:47 am »
I am creating sequence diagram to reflect some of existing old systems. I use class as lifeline in the sequence diagram, I want to use actual functions as message between lifelines. I reverse the code into my class diagram to get classes first.

In my old systems, many of the functions have lots of parameters. When I select this kind of function as my message I got error message "Message data is too large for database field. Please shorten message parameters and retry."



So what can I do with it?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How many chars EA supports as a
« Reply #1 on: October 30, 2014, 12:56:01 am »
IIRC most of them are about 256 chars. You can download a RDBMS creation schema and verify the column size for the according table.

Changing the column size has been done by a few people but it's not really recommended as nobody will know the side effects.

q.

P.S: Do NOT use classes in sequence diagrams. Use instances!
« Last Edit: October 30, 2014, 12:57:08 am by qwerty »

Hardy

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: How many chars EA supports as a "database fiel
« Reply #2 on: October 30, 2014, 12:58:52 am »
why not class in sequence diagram?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How many chars EA supports as a "database fiel
« Reply #3 on: October 30, 2014, 02:39:49 am »
a) a SD shows how instances communicate. It's a real life example. A class does not communicate, only an instance.
b) if you VC your model you will simply destroy it this way. It's also written somewhere in the help.

q.