I have an application I am working on where I am trying to link to my PostgreSQL DB with the hibernate framework. I am new to this framework and I am having some issues getting a couple of my classes to successfully map to the DB. I will include the condensed, problematic, code below.
I have a feeling it has something to do with the way my classes are mapped because the following class works fine. These classes where actually originally generated with the jpa framework within Eclipse but they still did not work.
I don’t know that I can solve your problem, but the first thing I would do is ensure that all of my data model entity class attributes which represent database table columns are annotated @Column and have standard public getter and setter methods of the correct types on them.
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
Devious Experiments for a Truly Passive Greenhouse!