You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @vitusortner, i have a question it is possible that an entity can contain other entities for example: @Entity(tableName: 'configuration') class Configuration { Settings settings; }
@Entity(tableName: 'configuration') class Settings { //fields }
The text was updated successfully, but these errors were encountered:
If you want Settings to be embedded into Configuration and the table of Configuration simply including all the fields of Settings, then you want @Embedded (Feature Request Support embedded objects #9, Implementation: Add support for embedded objects #328 )
As this is mainly a duplicate of those two features, I will close this as a duplicate. If you are disagreeing, please reopen :)
Hi @vitusortner, i have a question it is possible that an entity can contain other entities for example:
@Entity(tableName: 'configuration') class Configuration { Settings settings; }
@Entity(tableName: 'configuration') class Settings { //fields }
The text was updated successfully, but these errors were encountered: