Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with CMP2.0 in WSAD5  RSS feed

 
Jason Hunt
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use WSAD5 to develop an entity bean (2.0 compliant), one of the column type in the mapping table is Number(10,2) and I have a mapping field with type Double, when I try to generated the deploy code, the wsad5 ask me to choose a converter, but I can't find any converter like "VapNumberToDoubleConverter", any suggestions is really appreciated.

 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can write your own converter for this kind of special conversion that's not covered. This is covered on page 546 of my book, or you can look it up in the WSAD InfoCenter.

Kyle
 
Jason Hunt
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks kyle, I just found out in WSAD4, it has a build-in VapNumberToDoubleConverter, just wonder why the new version get ride of it.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!