Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
65thAirhacksQ&A.md

Ask questions and see you at August, 5th, 6.PM. CET: http://www.ustream.tv/channel/adambien

Also checkout recent episode:

64th airhacks.tv

Please keep the questions Java EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.

@altuga
Copy link

altuga commented Aug 5, 2019

Hello Adam

We are trying to migrate one small Spring project to Jakarta EE and we couldn't figure out exactly a shortcut about how to replace org.springframework.data.repository.CrudRepository utility.

I mean

import org.springframework.data.repository.CrudRepository;
public interface PostRepository extends CrudRepository<Post, Long> {

    Iterable<Post> findByUserId(Long userId);
}

Thanks.

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