aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Problems when generating code for data model in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Problems when generating code for data model in Eclipse" Watch "Problems when generating code for data model in Eclipse" New topic
Author

Problems when generating code for data model in Eclipse

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:



Hendra Kurniawan
Ranch Hand

Joined: Jan 31, 2011
Posts: 239
Perhaps I forgot to tell that this is using versata workbench 7. anybody familiar with it? thanks
 
Don't get me started about those stupid light bulbs.
 
subject: Problems when generating code for data model in Eclipse