使用Spring Roo创建List <>成员

Sta*_*man 12 java spring-roo

Spring Roo的命令field set创建一组<>构件.

字段集--fieldName --type

如何创建List <>呢?

小智 2

从最新版本(1.2.4)开始,roo 支持列表。

field list --fieldname -- type
Run Code Online (Sandbox Code Playgroud)