Hi, I have been migrating a project from Spring Da...
# exposed
j
Hi, I have been migrating a project from Spring Data/Hibernate to Exposed. It was fairly trivial to get hibernate to generate the tables, export the create statements and get chatgpt to convert to Exposed tables. One drawback was that generating the tables from the form tool left many columns as nullable when in fact they were mandatory. However, I have had to do a fair bit of work to map to and from my domain classes to the exposed entity classes. I suppose I could adapt to using the entity classes for my domain model but that comes with a lot of compromise. Qu. Since I map data from entity class to my domain class, I may not always want to retrieve related many associations and would prefer such to be lazy. Is there a way to do that - something like my domain classes implementing such properties by a delegate or some other lazy mechanism?