Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

custom class name in middlegen?

 
Sundar Murthi
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guis

I am generating POJO objects from the Schema using middlegen. But i want to customize my generated POJO.

eg:
if my table name is CGA_CLASSIFICATION. The generated class name in cga_classification.
What i need is the class name is just classification insted of cga_classification.

How can i do???
 
Surya Suravarapu
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add "singular" attribute to your 'table' element under middlegen task. For your case you can add something like the following:



- SPS
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic