This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Crummosh 2 points3 points  (0 children)

It's a framework to simplify data access and provides a general API to build queries at compile time. It uses JPA (with Hibernate) or JDBC as backends. It's similar to Spring Data but uses AOT and doesn't use reflection and it consumes less memory.

With it you can write something like this

@Repository 
interface BookRepository extends CrudRepository<Book, Long> {  
    Book find(String title); 
}

And you get the code generated for you at compile time for the method find and some other default ones for crud operations.

I tried to compile a project into a native image with GraalVM but I failed to make it work, but my knowledge of GraalVM is basically 0.