I have a legacy application that is still in use and I want a view on the data from my Cuba application.
Everything is working well with the Cuba application, but it has added ID columns to the tables and the other application (which still inserts data) can’t insert as the ID cannot be null.
Looking at the documentation again, it looks like I need to have the Entities derived from a different class than BaseUuidEntity and use the existing unique value in the table.
What Studio version do you use? The recent versions choose appropriate base classes depending on existing PK types, e.g. BaseLongIdEntity, BaseStringIdEntity, etc. It even can map composite PK using embeddable entities and @EmbeddedId. So you normally don’t have to extend BaseUuidEntity.
Could you explain the whole situation in more detail?