netodevel / cli-spring-boot-scaffold

command line for generate crud and configs for spring boot projects
131 stars 49 forks source link

Creating Scaffold for tables with more than two columns #32

Closed 8904591612 closed 7 years ago

8904591612 commented 7 years ago

Hii. I tried to create a scaffold for table with 11 columns. But only two columns are created.

This is the command I gave

The name of my mysql table is payment_reg spring scaffold -n "Payment_reg" -p "organisers:String transaction_id:String amount:String sbi_ref_no:String payment_date:String status:String currency:String"

When I give the following command as you have mentioned in the tutorials , the output I am getting is "1". But when I remove the quotes and gave

spring scaffold -n "Payment_reg" -p organisers:String transaction_id:String amount:String sbi_ref_no:String payment_date:String status:String currency:String

The files are created with just two columns , the primary key id and the organisers column. Is it designed to work only for two columns? Please help. Thanks

8904591612 commented 7 years ago

Ya I solved it I had given extra blank space , Issue solved