data type modification not tracked
See original GitHub issueChanging an enum type to string is not tracked in change sets.
E.g. changing chartType from (default) int …
@Entity
public class Chart {
public enum ChartType {
AREA, AREASPLINE, BAR, COLUMN, LINE, PIE, SCATTER, SPLINE
}
@Column(nullable = false, length = 50)
private ChartType chartType;
}
to string
@Entity
public class Chart {
public enum ChartType {
AREA, AREASPLINE, BAR, COLUMN, LINE, PIE, SCATTER, SPLINE
}
@Column(nullable = false, length = 50)
@Enumerated(EnumType.STRING)
private ChartType chartType;
}
“change set” should be
<modifyDataType
tableName="chart" columnName="chart_type" newDataType="VARCHAR(50)" />
but is empty
Issue Analytics
- State:
- Created 9 years ago
- Reactions:4
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Modify or change the data type setting for a field
Convert to this type From this type Changes or restrictions
Text Memo Access deletes all but the first 255 characters.
Number No restrictions.
Currency No restrictions....
Read more >Field History Tracking - Salesforce Help
Modifying any of these fields adds an entry to the History related list. All entries include the date, time, nature of the change,...
Read more >hibernate - JPA: "Data too long for column" does not change
You change the type of a column in the code adding the annotation @Lob. Cause. Hibernate only updates the original table, not the...
Read more >How to track changes in SQL Server
But will this new change be reflected to the CDC change table? The answer depends on the change type; if you change the...
Read more >Track changes using Change column types - AppSheet Help
In some apps, it is important to track when and where some data was changed. For example, in a field service app, it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
any updates about this ? facing the same issue.
Any progress with this issue ?