eXsio / nestedj

NestedJ - a NestedSet implementation for Java
MIT License
95 stars 24 forks source link

Do you plan to write MyBatis Storage implementations of nestedj in future? #21

Open chengxinxin2021 opened 2 years ago

chengxinxin2021 commented 2 years ago

I use MyBatis framework,but i con't find Storage implementations of nestedj for MyBatis,Do you plan to write MyBatis Storage implementations of nestedj in future?

kousalik commented 2 years ago

A little late to the party but we implemented the MyBatis version for our project. If there is still interest we can discuss internally and submit a PR here.

IMHO though it would make better sense to extract the logic and API out of this project and then provide different implementations as separate artifacts. Mixing it all into a single library is not a sustainable way forward and might discourage people from using the project.

eXsio commented 2 years ago

Hi and thank you for talking the interest in the project :)

I'd very much welcome a PR for MyBatis implementation. As for modularization, I think it's a very good way forward and I think that the next version would include decoupled API and implementations.

dananguo commented 1 year ago

A little late to the party but we implemented the MyBatis version for our project. If there is still interest we can discuss internally and submit a PR here.

IMHO though it would make better sense to extract the logic and API out of this project and then provide different implementations as separate artifacts. Mixing it all into a single library is not a sustainable way forward and might discourage people from using the project.

Hi, I'm interested in Mybatis version, and I implemented it by translating the jdbc into mybatis. I wanna know your implementation