You saw how to create friendly URIs by adjusting controller code, add mappings to UrlMappings.groovy, and create a custom codec.
您了解了如何通过调整控制器代码创建更为友好的URI、向UrlMappings . groovy添加映射以及创建一个定制codec。
The joda-time-jpox project aims to add mappings necessary to persist Joda-Time objects using the DataNucleus persistence engine.
joda-time-jpox 项目的目标就是添加一些必需的映射,以使用 DataNucleus 持久化引擎持久化 Joda-Time 对象。
If you have more than one table, you can then either create multiple mappings files (one for each table) and add multiple elements, or create multiple mappings in one file and add one element.
如果您有多个表,您即可以创建多个映射文件(每个表一个),以及添加多个元素,也可以在一个文件中创建多个映射,并且添加一个元素。
应用推荐