java.lang.UnsupportedOperationException: Unsupported database

Hi Team,

Following the document for customizing DBMS, we encountered the following problem:
java.lang.UnsupportedOperationException: Unsupported database at com.haulmont.studio.backend.ed.ddl.DbManager.dbExists(SourceFile:227) at com.haulmont.studio.intellij.project.resolve.CubaProjectResolver.lambda$nonGradleImport$3(SourceFile:198) at com.intellij.openapi.application.ReadAction.lambda$run$1(ReadAction.java:62) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:821) at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:69) at com.intellij.openapi.application.ReadAction.run(ReadAction.java:62)

Here is a project for reproduce the problem:

Please suggest

Ray Lv,
Regards

Hi,

The project you have attached lacks necessary files.
When creating custom database, Studio generates six files.
Three Java classes reside in the com.haulmont.cuba.core.sys.persistence package (they are used in runtime).

Another three Groovy classes are called by Studio in design time. They should be located in the com.haulmont.studio.db.gbase package. These files are missing in the attached project.

1 Like

Hi Alex,

Thanks for your answer.
In the document have not described other files used by Studio. So those files are lacked.

I created a custom database using Studio,now the exception disappeared.

Ray,
Regards