Hi, I've found a problem when generating the SQL script for a model (NHibernate model, Mysql database).
I've got two entities mapped to tables with long but valid identifiers in Mysql but, when I create a relation between them, the generated FK name exceeds the maximum identifier length (as it's composed of both table names and a number).
Is there a way to make Entity Developer clip the generated FK names to a maximum size or just a property I haven't found yet to change manually the FK name?
Thanks!
Maximium identifier length
Re: Maximium identifier length
Thank you for your report. We will investigate the question and notify you about the result.
Re: Maximium identifier length
We cannot reproduce the case when the FK name generated by Entity Developer exceeds the allowed identifier length. Could you please send us a test model for reproducing?
-
- Posts: 12
- Joined: Wed 18 Mar 2015 17:31
Re: Maximium identifier length
Sorry for not replying before.
It seems it was my fault. I installed by mistake an older version on my laptop, which still generated identifiers that were too large for MySQL.
Thank you and my apologies for not noticing that before.
It seems it was my fault. I installed by mistake an older version on my laptop, which still generated identifiers that were too large for MySQL.
Thank you and my apologies for not noticing that before.
Re: Maximium identifier length
Thank you for letting us know.