zsoltherpai / fluent-jdbc

Java library for efficient native SQL querying (through JDBC)
Other
183 stars 22 forks source link

Roadmap of FluentJdbc #72

Open sachin-walia opened 5 years ago

sachin-walia commented 5 years ago

@zsoltherpai thanks for building this awesome library. In my organization we are using this for multiple extremely high scale services (few of them are handling 4K rps and over). It performs very well. I am curious if you have any roadmap planned for future improvements. Some of the minor things that I can think of: -- Better exception reporting (sometime on failure I only get an error that some query failed to execute) -- Compatibility with JDK 11 (meaning built on JDK 11 and not on JDK 8 anymore) -- metrics reporting through micrometer

zsoltherpai commented 5 years ago

Glad you find the lib useful. There is no long term roadmap for it.. Features are being added on demand on short notice - if they solve real problems and aligned with the library.

Feel free to create issues / feature requests.

About the things you mentioned specifically:

stevesobol commented 4 years ago

I must say, @zsoltherpai, I am coming from Hibernate and JOOQ (and NHibernate and Entity Framework on the .NET side) and... WOW.

The awesome thing about Hibernate is that it literally does everything.

The biggest problem with Hibernate is that it literally does everything. I don't need all of that bloat.

Your library strikes a very good balance between plain JDBC and big ORM frameworks that have lots of features I simply do not need.

Now, one of the things I would like to see is the ability to persist POJOs like this:

MyObject o = new MyObject();
o.setField1("I love FluentJdbc");
o.setOtherField(123);
o.saveOrUpdate();

A way to execute basic CRUD operations without writing SQL would be awesome.

I am actually working on a small framework that sits on top of FluentJdbc that does exactly this. Maybe I'll release it as a separate library that has FluentJdbc as a dependency. Or maybe you'd like a pull request?

Thank you for your work. I already love FluentJdbc, and I'm just starting to use it in production now.

strogiyotec commented 4 years ago

@stevesobol the main purpose of this project is to avoid ORM frameworks, if you need automatic sql generation then you should use any JPA framework