• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Table Values not getting updated for newly added columns using hibernate

 
M KumarBasotia
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

we have an existing hibernate code and its working fine, Based on new requirements i have added few more columns to the table, updated the hbm file with respective column names and the bean file. When i run this code i dont get any error. Even at the DB end the values are getting inserted for the old columns but new columns are empty . Though i checked that values are assiged to the Bean.


Any pointers why this is happening, Definetly i might be doing some silly mistake, but your expert advice will help to solve this issue faster.
New columns that i added in hbm file
<property name="ppdiooVal" type="string" column="PPDIOO" />
<property name="certiVal" type="string" column="CERTIFICATION" />
<property name="productVal" type="string" column="PRODUCT" />
<property name="technologiesVal" type="string"
column="TECHNOLOGIES" />
<property name="solutionVal" type="string" column="SOLUTION" />
<property name="fileExtensionType" type="string"
column="FILEEXTENSIONTYPE" />
<property name="documentumFilePath" type="string"
column="DOCUMENTUMFILEPATH" />

My bean has setter and getters for the below variables
private String ppdiooVal;

private String certiVal;

private String productVal;

private String technologiesVal;

private String solutionVal;

private String fileExtensionType;

private String DocumentumFilePath;



Thanks
Manihs
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic