Bookmark Topic Watch Topic
  • New Topic

Problem with versata generate code from data model

 
Hendra Kurniawan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Don't post the same question more than once.
 
Hendra Kurniawan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Report post to moderator
oh sorry, it's because I don't really know which section versata belongs.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Report post to moderator
One of the moderators will move your post to the correct forum if they think it's in the wrong one.
 
Paul Clapham
Sheriff
Posts: 21117
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
    Bookmark Topic Watch Topic
  • New Topic