4 ms·
Just because I hate extracting the results of a query into a structure the program can use, doesn't mean I don't like SQL. It's a very nice language to write r
by jimktrains2 12y ago
Just because I hate extracting the results of a query into a structure the program can use, doesn't mean I don't like SQL. It's a very nice language to write relational algebra in.
- twic 12y agoIndeed. The current crop of lightweight semi-ORMs (MyBatis, Ebean, ORMLite, etc) are built around that use case: let programmers write SQL, but automate the conversion of result sets to objects. You can also do this in standard JPA, to some extent, using constructor expressions, although those are pretty verbose.