Book a Demo

Author Topic: WTF memo text is truncated to 510 characters when SQL querying via search?  (Read 18446 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: WTF memo text is truncated to 510 characters when SQL querying via search?
« Reply #15 on: October 30, 2019, 11:02:29 pm »
I have removed my previous reply since I was deceived by probably some missing coffee. Firebase is no SQL database. It's a NOSQL one. Hmpf. Back to that eap gibberish again :-(

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: WTF memo text is truncated to 510 characters when SQL querying via search?
« Reply #16 on: October 31, 2019, 10:57:46 am »
I have removed my previous reply since I was deceived by probably some missing coffee. Firebase is no SQL database. It's a NoSQL one. Hmpf. Back to that eap gibberish again :-(

q.
Yes, Firebird is the SQL DB, Firebase is the NoSQL one...  ;)  The possibility of confusion abounds...

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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: WTF memo text is truncated to 510 characters when SQL querying via search?
« Reply #17 on: October 31, 2019, 06:14:55 pm »
Aren't you concerned that you'll end up with a solution that works on .feap or .eap, but not on SQL Server?

Most professional users use SQL server or another "real" database, not .eap or .feap

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: WTF memo text is truncated to 510 characters when SQL querying via search?
« Reply #18 on: October 31, 2019, 07:47:08 pm »
For professional use: no question. My customer unfortunately uses Oracle which probably explains their bad performance. But that's another story. Anyhow, for working off-site and there's the wish to have a lightweight SQL variant. For some time I had a SQL Server installed locally. Also for some time I used MySQL locally. But carrying additional 20G or so for SQL Server just for that little use I make of it and the configuration overhead for installing repositories does not outweigh this Access solution. Maybe if Apple makes me want to buy its next machine I'll look for a Docker solution.

Still, why there's no way to have a SQLite connection for EA native? EA isn't relying on complicated SQL syntax since the query everything one by one anyway (I'd guess). It won't come.

q.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: WTF memo text is truncated to 510 characters when SQL querying via search?
« Reply #19 on: November 01, 2019, 06:13:52 am »
Me again. That wasn't my day. Somehow I got trapped with that Fire-something - and got hooked up with Firebase, a NoSQL DB. Until I noticed that EA uses Firebird, an open source MS SQL replacement (99% or so). So back in business. If that proves to be true, there's no stopping in actually switching over from EAP. I'll report back what my endeavors will bring to light.

q.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: WTF memo text is truncated to 510 characters when SQL querying via search?
« Reply #20 on: November 01, 2019, 09:17:18 am »
Some progress (after to usual googling).

Minor observation: as said the initial file is about 18M. I added a 6M demo repo and the size stayed the same. I currently have only playgrounds of minor size here, so I can't test more. But it looks like the initial .feap comes with an empty bucket. Will see if I can get my hands on a larger repo.

Accessing that from outside (you won't need that for normal EA operation). That proved to be a more tough one. So here are my steps that got me working.

- Installed version 2.5.9 from the Firebird homepage. Just the vanilla MSI with no changes. That installs some server stuff which is obviously needed  for clients
- Next I got me DBeaver, which is a free Java-based client. That installs with ease and when you try opening a Firebird DB it automatically downloads some additional drivers and installs them.
- Finally the tricky part: opening a .feap. When get the open dialog you can select the file with the Browse button. Under User name enter SYSDBA and for the password enter "masterkey" without the quotes. That was hard to find out for a first time user. Luckily StackOverflow had an answer.

Now you should be up and running. In contrast to EA you have a nice SQL editor here which allows to create and save multiple SQLs. Right now it looks like you can not concurrently access a .feap with the client and EA. EA croaks with a strange ODBC error (what else?) when you try to open a .feap that is open in the external client. Interestingly EA can open a .feap concurrently in multiple EA instances. Maybe there's some setting?

First impression (after a few minutes testing): looks very good. I'll continue my research.

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: WTF memo text is truncated to 510 characters when SQL querying via search?
« Reply #21 on: November 01, 2019, 10:12:12 am »
One minor point with firebird models. They can slow down over time. If you notice that happening use Configure > Model > Integrity > Manage Firebird > Update Index Statistics.

Richard Freggi

  • EA User
  • **
  • Posts: 498
  • Karma: +18/-7
    • View Profile
Re: WTF memo text is truncated to 510 characters when SQL querying via search?
« Reply #22 on: November 01, 2019, 12:00:09 pm »
DBeaver is realy nice!  But only IDEF data modeling notation as I remember.  They say they are working on crow's foot, that would be a nice improvement (IDEF gives me the hives....)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: WTF memo text is truncated to 510 characters when SQL querying via search?
« Reply #23 on: November 04, 2019, 11:50:44 am »
You could use a FEAP rather than an EAP.
But be careful, there are gotchas with these such as not being able to live on a network drive, and being case sensitive.
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Richard Freggi

  • EA User
  • **
  • Posts: 498
  • Karma: +18/-7
    • View Profile
Re: WTF memo text is truncated to 510 characters when SQL querying via search?
« Reply #24 on: November 04, 2019, 01:40:00 pm »
You could use a FEAP rather than an EAP.
But be careful, there are gotchas with these such as not being able to live on a network drive, and being case sensitive.

Thank you, I am actively looking for more gotchas and pitfalls before I make the switch, I am in the middle of major project and can't afford any big surprise... don't want to just swap the warts of Access for another set of warts.  Any more insight, please share!