How to access external database

I have an old external database (SQL Server) that I would like to access from my Cuba project (which uses HSQLDB) for purposes of migrating some of the old data. Is there an example or other documentation of how best to do this? Also, can Studio create entities for the external database while leaving my existing entities?


You can have additional Data Stores. In Studio, go to Project properties > Advanced > Additional data stores and specify a connection to your legacy database.

After that, click Generate model on the Data model tab, and choose your additional data store. Then Studio will create entities and UI for this database.

Wonderful! Studio is such an amazing product. Thanks for developing it.