I am using Java7 persistence with Spring Data JPA template to generate my DAL classes using Telosys generator. While my database has default values set for all the columns, my template fails to generate the same in my @column annotation. Kindly suggest if this can be fixed in the template or any other template you suggest.
Asked
Active
Viewed 50 times
1
-
What version of Telosys are you using? – lgu Aug 17 '22 at 18:01
-
I am using version 3.x – Sandiip Patil Aug 25 '22 at 14:32
1 Answers
0
In Telosys 3.x "columnDefinition = xxx DEFAULT xx" is not handled by "$jpa" object.
It is supported in Telosys 4.0.
So you have 2 options :
- you can switch to Telosys 4
- you can managed the column definition yourself in the template (for example with a Velocity macro or with your own specific Java class)

lgu
- 2,342
- 21
- 29
-
Thank you for your response Igu. I am eagerly waiting for Telosys 4 eclipse plugin – Sandiip Patil Aug 31 '22 at 18:33