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

2020-05-06 Thread Faizel Dakri
Hi Nikita, That looks great and pretty much exactly what I was hoping for. Thanks! F > > On May 6, 2020, at 2:46 AM, Nikita Timofeev wrote: > > Hi Faizel, > > Accessing metadata from cgen is a long-standing task [1]. And I > finally made an approach to it and unshelved some code I've been >

Re: MySQL JSON Support

2020-05-06 Thread Malcolm Edgar
Thanks Andrus and John for the feedback. It looks like Postgres has better JSON support than MySQL. regards Malcolm On Wed, May 6, 2020 at 12:32 AM John Huss wrote: > I have been using the Postgres JSONB type as an entity attribute (mapped as > jdbc type OTHER) for some time, both with Lists a

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

2020-05-06 Thread Nikita Timofeev
Hi Faizel, Accessing metadata from cgen is a long-standing task [1]. And I finally made an approach to it and unshelved some code I've been working on [2]. It does exactly as you think it should, exporting "metadataUtils" to the Velocity context, see [3] as an example. [1] https://issues.apache.o