Skip to content

Instantly share code, notes, and snippets.

View darrenhaken's full-sized avatar

Darren Haken darrenhaken

  • Auto Trader
  • Manchester, UK
View GitHub Profile
package com.hannahhaken.dining_review.repository;
import com.hannahhaken.dining_review.model.User;
import jakarta.inject.Inject;
import jakarta.persistence.EntityManager;
import jakarta.persistence.PersistenceContext;
import org.hibernate.exception.ConstraintViolationException;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest;

Keybase proof

I hereby claim:

  • I am darrenhaken on github.
  • I am darrenhakenat (https://keybase.io/darrenhakenat) on keybase.
  • I have a public key ASC85Ge6y1_aGrjhu8i446rjoKPGgyrb-VraS0CiqOFgzgo

To claim this, I am signing this object: