Hi Roded,
Thanks for your question. Interesting, I wasn't aware that SQL Server 2016 introduced type aliases. They look a lot like the SQL standard (and PostgreSQL) "domains". I've updated the relevant feature request here and increased its priority. I think that domains are a really interesting SQL feature:
Currently, jOOQ doesn't fully support domains as there are a lot of open questions how to support them in a very useful, yet database agnostic way. Certainly, once they're supported, it should be possible to pattern-match them in the existing <types> element as you described.
Unfortunately, right now, that's not possible, so you will have to combine <types>BIGINT</types> with an expression matching either all columns, or a well-defined naming pattern.
A workaround might be to write a short SQL query that queries the SQL Server INFORMATION_SCHEMA (or SYS tables) to find out all the columns that are of alias type UNIX_TIME, and then generate a regular expression from that. If you were using the programmatic generator configuration, it would then be easy to embed this resulting regular expression in the configuration: