Good day.
JMix studio 2.3.1
Java 21
SQL Server 16. With 280+ tables, many use foreign keys.
Brand new project …
Created data store for SQL Server, test ok
delete and proceed with Liquibse changes.
(In fact, I have successfully reversed several tables already)
But all of a sudden, I’m no longer able to …
Searched for and selected the table.
And now the love affair is over
I get the following
Failed to create entity: ‘mytable’
com.intellij.openapi.project.IndexNotReadyException:
Please change caller according to
com.intellij.openapi.project.IndexNotReadyException documentation
See log file for details (C:\Users<user>\AppData\Local\JetBrains\IdeaIC2024.1\log\idea.log)
Build it a 2nd time and I get a slightly different error:
Caused by: jakarta.persistence.PersistenceException:
Exception [EclipseLink-28018] (Eclipse Persistence Services - 4.0.2-3-jmix.v202404051618): org.eclipse.persistence.exceptions.EntityManagerSetupException
Out of the 280+ tables, about 70 are actually used. The existing app is old as the hills. The database was originally in FoxPro, remember those days?
To help you out, if I get an error, I create a brand new project and start over completely fresh. Now, I’m going to let liquibase do it’s thing and modify the schema. I have saved the schema as text and will do a difference to see what changes happen.
But, in production, we have to have absolute minimal schema changes.
If I can solve this issue in Reverse Engineering, I can get this job and it’s worth a lot to me. Thanks!