Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created July 4, 2019 14:46
Show Gist options
  • Save AdamBien/87815259f16ea1080df7b34a394958f1 to your computer and use it in GitHub Desktop.
Save AdamBien/87815259f16ea1080df7b34a394958f1 to your computer and use it in GitHub Desktop.
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