|
I've been mucking about with the Play framework and am looking for a half decent ORM to use with it. I see it comes with Ebean, anyone have opinions on it? If it turns out to be junk I might just use spring with jpa. I also took a look at squeryl but it didn't seem that fantastic.
|
# ¿ Jun 4, 2015 01:49 |
|
|
# ¿ May 10, 2024 05:38 |
|
loinburger posted:I used Slick up until about six months ago - it may have gotten better since then, but at the time vanilla Slick was reliant on case classes and tuples and all of their attendant restrictions. However, it's got a code generation tool that lets you bypass those restrictions (generating classes instead of case classes to represent rows), and that also saved us a boatload of time in refactoring (this was a startup and so the database kept changing on us) because the code generation tool would read the metadata from the database tables and produce appropriately typed row classes. This is really interesting and I would definitely be interested in viewing some example code. Thanks for the option, I'll look into it. EDIT: Wait a minute, if Play and Slick are both made by TypeSafe, why the heck haven't they started using Slick with Play? Mellow_ fucked around with this message at 03:36 on Jun 5, 2015 |
# ¿ Jun 5, 2015 03:29 |