This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate @Embeddable Annotation

 
subha nair
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a Customer table which has Name,id and phone
I have an embeddable class Name having firstname and lastname.

Code is as follows..

Customerbean.java
====================


============================================================================

When I run this it is giving an exception

org.apache.jasper.JasperException: Invalid property 'firstname' of bean class [com.palnar.library.service.CustomerRegistrationBean]: Bean property 'firstname' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?


Please help me in this.....
[ July 12, 2008: Message edited by: Mark Spritzler ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic