File tree Expand file tree Collapse file tree 5 files changed +16
-17
lines changed
core/src/main/java/org/sterl/spring/persistent_tasks/shared/model
db/src/main/resources/spring-persistent-tasks/db
src/main/java/org/sterl/spring/example_app/vehicle/task Expand file tree Collapse file tree 5 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ public void updateRunningDuration() {
4949 )
5050 private TriggerKey key ;
5151
52- @ NotNull
53- @ Column (nullable = false , updatable = false )
52+ @ Column (nullable = true , updatable = false )
5453 private String correlationId ;
5554
5655 @ Default
Original file line number Diff line number Diff line change 1010 <changeSet author =" sterlp" id =" 2025-02-16-correlation-id" >
1111
1212 <addColumn tableName =" pt_task_triggers" >
13- <column name =" correlation_id" type =" varchar(64)" >
14- <constraints nullable =" false" />
15- </column >
13+ <column name =" correlation_id" type =" varchar(64)" />
1614 </addColumn >
1715
1816 <addColumn tableName =" pt_trigger_history_details" >
19- <column name =" correlation_id" type =" varchar(64)" >
20- <constraints nullable =" false" />
21- </column >
17+ <column name =" correlation_id" type =" varchar(64)" />
2218 </addColumn >
2319
2420 <addColumn tableName =" pt_trigger_history_last_states" >
25- <column name =" correlation_id" type =" varchar(64)" >
26- <constraints nullable =" false" />
27- </column >
21+ <column name =" correlation_id" type =" varchar(64)" />
2822 </addColumn >
2923
3024 <createIndex indexName =" idx_pt_triggers_correlation_id" tableName =" pt_task_triggers" >
4034 </createIndex >
4135
4236 </changeSet >
43-
4437</databaseChangeLog >
Original file line number Diff line number Diff line change 1212
1313 <artifactId >spring-persistent-tasks-example</artifactId >
1414 <description >Sample project for the Spring Persistent Tasks</description >
15+
16+ <!--
17+ <spt.version>1.5.6</spt.version>
18+ -->
19+ <properties >
20+ <spt .version>1.6.0-SNAPSHOT</spt .version>
21+ </properties >
1522
1623 <dependencies >
1724 <dependency >
1825 <groupId >org.sterl.spring</groupId >
1926 <artifactId >spring-persistent-tasks-core</artifactId >
20- <version >1.5.6 </version >
27+ <version >${spt.version} </version >
2128 </dependency >
2229 <dependency >
2330 <groupId >org.sterl.spring</groupId >
2431 <artifactId >spring-persistent-tasks-ui</artifactId >
25- <version >1.5.6 </version >
32+ <version >${spt.version} </version >
2633 </dependency >
2734 <dependency >
2835 <groupId >org.sterl.spring</groupId >
2936 <artifactId >spring-persistent-tasks-db</artifactId >
30- <version >1.5.6 </version >
37+ <version >${spt.version} </version >
3138 </dependency >
3239 <dependency >
3340 <groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change 77import org .sterl .spring .example_app .vehicle .model .Vehicle ;
88import org .sterl .spring .example_app .vehicle .repository .VehicleRepository ;
99import org .sterl .spring .persistent_tasks .api .TaskId ;
10- import org .sterl .spring .persistent_tasks .api .TransactionalTask ;
10+ import org .sterl .spring .persistent_tasks .api .task . TransactionalTask ;
1111
1212import lombok .RequiredArgsConstructor ;
1313import lombok .extern .slf4j .Slf4j ;
Original file line number Diff line number Diff line change 66import org .sterl .spring .example_app .vehicle .model .Vehicle ;
77import org .sterl .spring .example_app .vehicle .repository .VehicleRepository ;
88import org .sterl .spring .persistent_tasks .api .TaskId ;
9- import org .sterl .spring .persistent_tasks .api .TransactionalTask ;
9+ import org .sterl .spring .persistent_tasks .api .task . TransactionalTask ;
1010
1111import lombok .RequiredArgsConstructor ;
1212import lombok .extern .slf4j .Slf4j ;
You can’t perform that action at this time.
0 commit comments