Recommendations on an ORM? I’m coming from C#/.NE...
# getting-started
s
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
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
Sounds like Hibernate/JPA...
j
I've yet to work with an ORM/framework combo as perfected as Entity Framework/.NET, with ActiveRecord/Rails is up there too.