Jakarta EntityManager null ,but how to solve it, please help me

Continuing the discussion from Hibernate 6 data save problem:

@PersistenceContext
private EntityManager manager;

jakarta EntityManager  null ,but how to solve it, please help me.

There’s no need to open another topic, you can just reply on your existing one. Please avoid spamming the forum.

As I already said in my previous comment, we cannot help you. You’re using tools that are not exposed by Hibernate, so you will need to ask the people from that library / framework for help.