Re: Can I access metadata (InfoExtension) from my velocity templates

2020-05-04 Thread Faizel Dakri
No worries. I never did find a way to pass properties to the cgen goal in the plugin, so I ended up experimenting with the plugin source and modified it to allow specifying system properties from the pom.xml file (in the goal’s configuration section). Once the plugin was able to set system pro

Re: Error resolving fault for ObjectId: and state (hollow)

2020-05-04 Thread Andrus Adamchik
Hi Vince, My memory is really rusty on Cayenne 3.0 (and looks like you even have a pre-GA version there). > tried everything, including Restoring my Sql Server database from a backup, > but I still get the error. Does it happen after the Cayenne app restart? (Not suggesting that restart is

Re: MySQL JSON Support

2020-05-04 Thread Andrus Adamchik
Hi Malcolm, I haven't done it, but I suspect it should just work in the scenario you described. If it doesn't, we can look at details. On that note, I've been working with geospatial data structures lately (mostly on PostgreSQL). Parts of them map to JSON, and some - to geometries which are a

MySQL JSON Support

2020-05-04 Thread Malcolm Edgar
Hi All, I was hoping to use the JSON features in MySQL 5.7 and wondered if anyone had used with with Cayenne. I was hoping to use Named Queries to perform JSON specific queries, but treat it as a String otherwise with the Cayenne classes. Any comments or recommendations would be appreciated.

Re: Can I access metadata (InfoExtension) from my velocity templates

2020-05-04 Thread John Huss
Unfortunately I'm not a maven user, so I can't really help here. But hopefully someone else could chime in. On Sun, May 3, 2020 at 11:39 AM Faizel Dakri wrote: > Hi John, > > Thank you for the pointers. I didn’t see any way to easily get the > metadata into my templates via a custom tool, howeve