• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transient not working

 
Mirko Bonasorte
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings,

I'm trying to use the @Transient annotation.
So, in a persistent object I created a getter/setter for a field not mapped to the database.
Then, I've tagged the getter with @Transient.
The persistent object is returned by a stateless session bean to a servlet, which invokes the getter. But when I try to invoke it, I get a NoSuchMethodError: <myMethod>()I (yes, with the 'I' char after the parenthesis)

Have you got any idea of why it happens?

Thanks in advances...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic