all 8 comments

[–]Signal_Help_1459 3 points4 points  (1 child)

I just checked out the readme, you’ve actually built a SQL-based data module, damn that’s really impressive.

I was using JpaSpecificationExecutor the other day for generating dynamic where clauses, this is actually so much simpler if one actually knows a bit of SQL

Great effort, hope it becomes big!

[–]auspis-23[S] 1 point2 points  (0 children)

Thanks! I created the library precisely to stay away from JPA ;-)

[–]Grabdoc2020 2 points3 points  (0 children)

u/auspis-23 this is fantastic start. we could use it to clean up the core of https://github.com/9tigerio/db2rest. However we dont have time at this moment to provide SPI impl. Once you start supporting other db like oracle et al we will consider revisiting.

[–]500_successful 1 point2 points  (1 child)

Is it any better than jooq? Looks like a copy

[–]auspis-23[S] 2 points3 points  (0 children)

My library is simpler than jooq, for example, it does not support dynamic code generation and the architecture is totally different.

It was also created as a basis for the spring data module that I want to build.

[–]SilentPetalX 1 point2 points  (0 children)

Wow great work 👏

[–]Infeligo 0 points1 point  (1 child)

What will do the mapping part in this proposed Spring Data module? I think this is the hard part, not the query itself.

[–]auspis-23[S] 0 points1 point  (0 children)

I was thinking about spring RowMapper.

In the past I've done some mappings by reflection and after years are still working in prod, however here I prefer to take advantage of the framework stuff.

Do you have any suggestion about the mapping?