[JAVA] "?" values when .persist(object) in H2 in memory database
Go to solution
Solved by shooter27,
Hi, I'm having trouble saving objects in my in memory h2 database (using hibernate)
I checked and my entityManager is correct, it starts the transaction, tries to persist the object, commit the transaction (or rollback if an exception is throws)
Now, I dont understant why, when I look in the console, as soon as I persist the object, I get this:
Entity:
In repository:
Content of object to persist:
I've been trying to figure this out for a couple hours but nothing seems to fix it, what dis I do wrong?
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now