Error when using dbname like: dbname-sql-db-dev in MSSQL

Hi,

it looks like, that JMIX (and also Cuba) cannot handle a db name with minus char in it,
like: dbname-sql-db-dev

When trying to run, it gets shortened to: dbname

Regards
Roland

Hello, Roland,

I do apologize for the late reply.

Thank you for reporting the problem! I’ve created the issue for it.

As a workaround, I’ve managed to make my test project work by creating manually two tables in the database:

  1. Main table: dbname-sql-db-dev
  2. Dummy table in form of “master”+{missed part of the main table name}: master-sql-db-dev - in order to avoid problems with login to db with incorrect connection parameters

Regards,
Dmitry

1 Like