-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Not able to read newly added field
PostPosted: Mon Jul 02, 2007 3:14 pm 
Newbie

Joined: Mon Jul 02, 2007 3:11 pm
Posts: 4
Hello,

I am using Hibernate 3 annotation.

I am not able to read newly added field in the bean

@Column(name="requiredFieldsForSavingVideo")
private String requiredFieldsForSavingVideo;

and getter and setter for the above attribute

Please let me know if I am missing anything

Thank You,

~Ritesh


Top
 Profile  
 
 Post subject: Not able to read newly added field
PostPosted: Mon Jul 02, 2007 3:51 pm 
Newbie

Joined: Mon Jul 02, 2007 3:11 pm
Posts: 4
Hello,

I got what I wanted.

Actually tried printing these attributes in the bean itself however failed.

The relationship was Video---VideoProfile

The field were present in Video Profile

When I did this : video.getVideoProfile().get<attribute>, I got the right result.

Still wondering why did not it print in the bean?

~Ritesh


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.