Hibernate problem

J

javafreak

Guys,

I am having a problem that all the properties of an object as specified
in the .hbm.xml file is not persisted in the database.

Say an Object A has attributes a1,a2,a3 Hibernate generates hbm files
with these 3 properites but persists only a1 and a2.

I am using Spring, Hibernate 3.1 and MySQL 5.0

any idea why this is happening

thanks
 
D

Dirk Michaelsen

Say an Object A has attributes a1,a2,a3 Hibernate generates hbm files
with these 3 properites but persists only a1 and a2.

do you have getter and setters for attribute a3?

cu
Dirk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top