telosystools

Open full view…

Generate entity with column comment from database

riffi
Tue, 22 Jul 2014 11:28:07 GMT

Is there a way to get the column comment from the model. In Mysql you can store to every column a comment in the database. I want to put the comment in the java sources like /** comment */ The Mysql sql to get the infos is: SELECT column_comment FROM INFORMATION_SCHEMA.COLUMNS I found a tricky solution to implement a own db connection to get this information. Look here: http://stackoverflow.com/questions/24277470/telosys-how-can-i-get-database-table-records-in-template

Telosys Team
Mon, 24 Nov 2014 09:36:57 GMT

The "database comment" will be available in version 2.1.1 (comming soon) Stay tuned by following the blog ( http://telosys-tools.blogspot.fr/ ) or Twitter ( https://twitter.com/telosys )

Telosys Team
Fri, 06 Mar 2015 18:12:31 GMT

The version 2.1.1 is available, you can now retrieve the database comments see http://telosys-tools.blogspot.fr/2015/03/telosys-tools-ver-211-whats-new.html

riffi
Thu, 02 Apr 2015 12:47:14 GMT

Nice, thanks. It works.