java - Retriev Data from Persisten Object in Hibernate -
i have problem understanding hibernate. got object database. e.g java object this, created calling hibernate function: person: id,forename,name etc.
when got object write hashmap , print json, thing is: "de.test.carsharing.person@7eab0d73"
i don't know why, because can access values desperately not person object.
can give me hint?
i'm using hibernate xml mapping , transaction alright. i'm thankful answer.
the solution: packed content wrapper pojo , works.
java hibernate orm persistence
No comments:
Post a Comment