Skip to content

Conversation

@atandon2024
Copy link

Adding a new post introducing the MongoDB Extension for Hibernate ORM.

Please release on 11/03 at 12pm ET.

Copy link
Member

@yrodiere yrodiere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Just a suggestion on the tags, the rest of my comments is mostly informational.

----

This translation happens transparently; developers continue using Hibernate’s familiar API while the framework builds the corresponding link:https://www.mongodb.com/docs/manual/reference/mql/[MongoDB Query API] commands under the hood.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you probably don't have time right now, but maybe for a future blog post, you might want to consider explaining that Jakarta Data / Hibernate Data repositories would work as well (I can't imagine a reason why it wouldn't). This would enable things like this on MongoDB, which seems pretty interesting to me:

@Query("""
       select isbn, ssn, name, title
       from Author join books
       where title like :pattern
""")
List<AuthorBookSummary> summariesForTitle(String pattern);

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely, we can do that

Copy link
Member

@yrodiere yrodiere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants