Skip to content

Commit

Permalink
fix(common-quarkus): switch to jakarta namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenzo.corso committed Nov 17, 2023
1 parent 4a1b8aa commit c19a6c4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

import it.vincenzocorso.carsharing.common.messaging.outbox.AbstractOutboxMessageProducer;
import it.vincenzocorso.carsharing.common.messaging.outbox.OutboxMessage;

import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
import jakarta.persistence.EntityManager;

@ApplicationScoped
public class OutboxJpaMessageProducer extends AbstractOutboxMessageProducer {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package it.vincenzocorso.carsharing.common.quarkus.messaging.outbox.jpa;

import it.vincenzocorso.carsharing.common.messaging.MessageFields;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "outbox")
@NoArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

import it.vincenzocorso.carsharing.common.messaging.outbox.AbstractOutboxMessageProducer;
import it.vincenzocorso.carsharing.common.messaging.outbox.OutboxMessage;

import javax.enterprise.context.ApplicationScoped;
import jakarta.enterprise.context.ApplicationScoped;

@ApplicationScoped
public class OutboxMongoMessageProducer extends AbstractOutboxMessageProducer {
Expand Down

0 comments on commit c19a6c4

Please sign in to comment.