Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Apekshit Sharma <[email protected]>
  • Loading branch information
apeksharma committed Jun 10, 2020
1 parent c5bfc03 commit 487486f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.hedera.mirror.importer.config.CacheConfiguration;
Expand All @@ -34,7 +33,6 @@
public interface EntityRepository extends PagingAndSortingRepository<Entities, Long> {

@Cacheable(key = "{#p0}", sync = true)
@Query("from Entities where id = ?1")
Optional<Entities> findById(long id);

@CachePut(key = "{#p0.entityShard, #p0.entityRealm, #p0.entityNum}")
Expand Down

0 comments on commit 487486f

Please sign in to comment.