mirror of
https://github.com/corda/corda.git
synced 2025-02-21 01:42:24 +00:00
start adding hibernate entities
This commit is contained in:
parent
32bdd9728c
commit
78d83e9583
@ -25,6 +25,36 @@ import java.sql.SQLException
|
||||
class DBCheckpointStorage : CheckpointStorage {
|
||||
val log: Logger = LoggerFactory.getLogger(this::class.java)
|
||||
|
||||
@Entity
|
||||
@javax.persistence.Table(name = "${NODE_DATABASE_PREFIX}checkpoints")
|
||||
class DBFlowCheckpoint(
|
||||
|
||||
)
|
||||
|
||||
@Entity
|
||||
@javax.persistence.Table(name = "${NODE_DATABASE_PREFIX}checkpoints_blobs")
|
||||
class DBFlowCheckpointBlob(
|
||||
|
||||
)
|
||||
|
||||
@Entity
|
||||
@javax.persistence.Table(name = "${NODE_DATABASE_PREFIX}flow_results")
|
||||
class DBFlowResult(
|
||||
|
||||
)
|
||||
|
||||
@Entity
|
||||
@javax.persistence.Table(name = "${NODE_DATABASE_PREFIX}flow_exceptions")
|
||||
class DBFlowException(
|
||||
|
||||
)
|
||||
|
||||
@Entity
|
||||
@javax.persistence.Table(name = "${NODE_DATABASE_PREFIX}flow_metadata")
|
||||
class DBFlowMetadata(
|
||||
|
||||
)
|
||||
|
||||
@Entity
|
||||
@javax.persistence.Table(name = "${NODE_DATABASE_PREFIX}checkpoints")
|
||||
class DBCheckpoint(
|
||||
|
@ -31,8 +31,8 @@
|
||||
|
||||
<include file="migration/node-core.changelog-v14-data.xml"/>
|
||||
|
||||
<include file="migration/node-core.changelog-v17.xml"/>
|
||||
<include file="migration/node-core.changelog-v17-postgres.xml"/>
|
||||
<include file="migration/node-core.changelog-v17-keys.xml"/>
|
||||
<!-- <include file="migration/node-core.changelog-v17.xml"/>-->
|
||||
<!-- <include file="migration/node-core.changelog-v17-postgres.xml"/>-->
|
||||
<!-- <include file="migration/node-core.changelog-v17-keys.xml"/>-->
|
||||
|
||||
</databaseChangeLog>
|
||||
|
@ -100,13 +100,13 @@
|
||||
<column name="invocation_id" type="BIGINT">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="flow_id" type="BIGINT">
|
||||
<column name="flow_id" type="NVARCHAR(64)">
|
||||
<constraints nullable="true"/>
|
||||
</column>
|
||||
<column name="flow_name" type="NVARCHAR(128)">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="flow_identifier" type="NVARCHAR(128)">
|
||||
<column name="flow_identifier" type="NVARCHAR(512)">
|
||||
<constraints nullable="true"/>
|
||||
</column>
|
||||
<column name="started_type" type="NVARCHAR(32)">
|
||||
|
@ -100,13 +100,13 @@
|
||||
<column name="invocation_id" type="BIGINT">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="flow_id" type="BIGINT">
|
||||
<column name="flow_id" type="NVARCHAR(64)">
|
||||
<constraints nullable="true"/>
|
||||
</column>
|
||||
<column name="flow_name" type="NVARCHAR(128)">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="flow_identifier" type="NVARCHAR(128)">
|
||||
<column name="flow_identifier" type="NVARCHAR(512)">
|
||||
<constraints nullable="true"/>
|
||||
</column>
|
||||
<column name="started_type" type="NVARCHAR(32)">
|
||||
|
Loading…
x
Reference in New Issue
Block a user