This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes Problem with versata generate code from data model Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Reply locked New topic
Author

Problem with versata generate code from data model

Hendra Kurniawan
Ranch Hand

Joined: Jan 31, 2011
Posts: 239
This is my attribute:


for starter I'll choose Int32 as the type for field Id

and my rule


Now the code generated for this setting is:


which produced a compile error "Incompatible operand types int and BigDecimal". How do I fix this? Do I always have to manually edit the generated code?

the correct code should be:



Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3432
    
  12
Don't post the same question more than once.


Joanne
Hendra Kurniawan
Ranch Hand

Joined: Jan 31, 2011
Posts: 239
oh sorry, it's because I don't really know which section versata belongs.
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3432
    
  12
One of the moderators will move your post to the correct forum if they think it's in the wrong one.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

It doesn't have anything to do with Websphere, as far as I can see. So I will close this copy of the question.

I note from their website that they describe their customer support as "WOW". So you would think you could ask them a question like this, instead of having to post it on an Internet forum. On the other hand when they devote their entire FAQ to explaining a court case they are involved in, perhaps they actually don't have any time for customer support.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with versata generate code from data model
 
Similar Threads
Need help with versata workbench 7?
Problems when generating code for data model in Eclipse
Funny gassy cartoons!
JComboBox in panel
something wrong with null exception in I/O processing