This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

database reverse engineer doesn't generate json mappings

Sep 7th, 2011, 01:48 PM

I'm trying to generate json rest bindings for an existing postgresql database.
It works fine, except for the json mapping. There are no *_Roo_Controller_Json.aj files generated after running "web mvc json all".
Is this expected, or are json mappings not yet supported for the dbre plugin?

Comment

Looks like it is fixed in the latest snapshot. After I updated roo to the 0907 snapshot it gave me a bunch of warnings about some batch_job tables that I didn't really need anyway so I added a --excludeTables to remove the offending items and it dis generate the json mappings.
Let me know if you want the dbre.xml for the failed tables and I can send it to you.

Thanks to whomever recently fixed this. My guess is it was in the validation and that if I had excluded the same tables from an earlier version it may have worked too. In any case, this is very cool, this just saved me a huge amount of work!!