telosystools

Open full view…

Which set of templates for a java rest backend, generated from mysql ?

ericmerles
Fri, 17 Jul 2020 12:37:59 GMT

Hello, I m trying to generate a java rest backend from mysql, I tried to use this set of templates : java7-web-rest-jaxrs1-T300 java7-persistence-jpa-T300 java7-persistence-commons-T300 is it enough ? thanks in advance for your answers

ericmerles
Fri, 17 Jul 2020 13:46:50 GMT

I added : java7-persistence-commons-jpa-T300 java7-commons-T300 It seems better but in persistence.impl.fake there is long to Byte conversion problem...

ericmerles
Fri, 17 Jul 2020 14:04:41 GMT

long to Byte conversion problem solved thanks to this cast : (byte) (int)