telosystools

Open full view…

Duplicate EntityLinks in Entities

fortm
Sun, 05 Oct 2014 05:12:54 GMT

These issues are happening across all Tables in MySQL 5.6 with InnoDB. @ManyToOne @JoinColumn(name="shared_by_user_id", referencedColumnName="id") private TblUser tblUser ; @ManyToOne @JoinColumn(name="user_id", referencedColumnName="id", insertable=false, updatable=false) private TblUser tblUser ; Secondly, I am getting Primary Key is mandatory for some tables which currently only hold FK ? The very same Tables got generated by JBOSS Hibernate Tools without any issues. I was also able to get rid of TBL prefix there and plural "s" using ReverseEngineeringStrategy. Please suggest on above 2 issues. It seems here is where I have issues from jpa_bean.vm #foreach( $link in $entity.selectedLinks ) $jpa.linkAnnotations(4, $link, $allMappedFields) private ${link.formattedFieldType(0)} $link.formattedFieldName(12); #end

fortm
Sun, 05 Oct 2014 05:17:37 GMT

using spring-data-rest-template-TT210

Telosys Team
Mon, 03 Nov 2014 16:57:38 GMT

This situation occurs when there are many foreign keys in the same origin table referencing the same table A workaround solution is to edit the links names after the repository generation ( in the tab “Links between entities” ) This bug will be fixed in the upcoming version. (the "attributes naming strategy" is also in the roadmap)

shawns
Sun, 23 Nov 2014 18:12:14 GMT

Thank you! Where can we track this bug so that we know when this is fixed.

Telosys Team
Mon, 24 Nov 2014 09:34:00 GMT

This fix will be included in version 2.1.1 (comming soon) Stay tuned by following the ( blog http://telosys-tools.blogspot.fr/ ) or Twitter ( https://twitter.com/telosys )

José Mansilla
Mon, 02 Nov 2015 08:26:40 GMT

Sorry I'm with version 2.1.1 and this bug is still unresolved, could you tell me if there is a solution?. Thanks

Telosys Team
Mon, 02 Nov 2015 10:37:54 GMT

Could you send us your model ( the ".dbrep" file ) and the generated file with this problem ?

José Mansilla
Mon, 02 Nov 2015 13:08:35 GMT

How could I send you them?, I only can upload imagen files

Telosys Team
Mon, 02 Nov 2015 13:11:19 GMT

Just send your files at : telosysteam@gmail.com