i have a User entity with a password property. I want to store bcrypt hashed passwords in the database.
How can i handle the hashing as transparent as possible with jpa/eclipselink.
I want the hashing to take plase as late as possible and for the code that accesses the user to know as few as possible about the underlying hash mechanism (or its existence).
Currently i only access the password in jpql queries and the user doesn't even have a getPassword() method.
Greetings, Laures