aspose file tools*
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 Spring in Action this week in the Spring 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: 3681
    
  16
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: 3681
    
  16
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: 18669
    
    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.
 
 
subject: Problem with versata generate code from data model