https://kotlinlang.org logo
Title
s

Sam Howes

01/28/2022, 3:13 PM
Recommendations on an ORM? I’m coming from C#/.NET with extensive experience EntityFrameworkCore Looking for, in priority order: 1. Postgres support 2. Model classes to load data from tables 3. Query generation from kotlin code (minimal hardcoded sql strings) 4. Schema generation from model classes 5. Database migrations 6. Reverse engineering model class from an existing database
h

hichem fazai

01/28/2022, 3:36 PM
Exposed, an ORM framework for Kotlin 1- Yes, also see supported databases from this link 2- Yes. 3- Yes. 4- Yes. 5- No. But there is a good idea how to manage migrations, see the comment of CharlieTap via this link 6- Yes See this link https://github.com/JetBrains/Exposed
k

kenkyee

01/28/2022, 7:05 PM
Sounds like Hibernate/JPA...
j

Jim

01/28/2022, 8:43 PM
I've yet to work with an ORM/framework combo as perfected as Entity Framework/.NET, with ActiveRecord/Rails is up there too.