google-cloud-spanner-hibernate-samples/microprofile-jpa-sample/src/main/java/com/example/microprofile/PersonController.java [46:59]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  @Inject EntityManager entityManager;

  /**
   * Create a new {@link Person} entity with auto-generated ID.
   *
   * @param person JSON payload for Person
   * @return created {@link Person} entity
   */
  @POST
  @Path("/")
  @Transactional
  public Person create(Person person) {
    Person p = new Person();
    p.setName(person.getName());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



google-cloud-spanner-hibernate-samples/quarkus-jpa-sample/src/main/java/com/example/PersonController.java [47:60]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  @Inject EntityManager entityManager;

  /**
   * Create a new {@link Person} entity with auto-generated ID.
   *
   * @param person JSON payload for Person
   * @return created {@link Person} entity
   */
  @POST
  @Path("/")
  @Transactional
  public Person create(Person person) {
    Person p = new Person();
    p.setName(person.getName());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



