mirror of
https://github.com/corda/corda.git
synced 2025-06-02 15:40:53 +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 {
|
class DBCheckpointStorage : CheckpointStorage {
|
||||||
val log: Logger = LoggerFactory.getLogger(this::class.java)
|
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
|
@Entity
|
||||||
@javax.persistence.Table(name = "${NODE_DATABASE_PREFIX}checkpoints")
|
@javax.persistence.Table(name = "${NODE_DATABASE_PREFIX}checkpoints")
|
||||||
class DBCheckpoint(
|
class DBCheckpoint(
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
|
|
||||||
<include file="migration/node-core.changelog-v14-data.xml"/>
|
<include file="migration/node-core.changelog-v14-data.xml"/>
|
||||||
|
|
||||||
<include file="migration/node-core.changelog-v17.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-postgres.xml"/>-->
|
||||||
<include file="migration/node-core.changelog-v17-keys.xml"/>
|
<!-- <include file="migration/node-core.changelog-v17-keys.xml"/>-->
|
||||||
|
|
||||||
</databaseChangeLog>
|
</databaseChangeLog>
|
||||||
|
@ -100,13 +100,13 @@
|
|||||||
<column name="invocation_id" type="BIGINT">
|
<column name="invocation_id" type="BIGINT">
|
||||||
<constraints nullable="false"/>
|
<constraints nullable="false"/>
|
||||||
</column>
|
</column>
|
||||||
<column name="flow_id" type="BIGINT">
|
<column name="flow_id" type="NVARCHAR(64)">
|
||||||
<constraints nullable="true"/>
|
<constraints nullable="true"/>
|
||||||
</column>
|
</column>
|
||||||
<column name="flow_name" type="NVARCHAR(128)">
|
<column name="flow_name" type="NVARCHAR(128)">
|
||||||
<constraints nullable="false"/>
|
<constraints nullable="false"/>
|
||||||
</column>
|
</column>
|
||||||
<column name="flow_identifier" type="NVARCHAR(128)">
|
<column name="flow_identifier" type="NVARCHAR(512)">
|
||||||
<constraints nullable="true"/>
|
<constraints nullable="true"/>
|
||||||
</column>
|
</column>
|
||||||
<column name="started_type" type="NVARCHAR(32)">
|
<column name="started_type" type="NVARCHAR(32)">
|
||||||
|
@ -100,13 +100,13 @@
|
|||||||
<column name="invocation_id" type="BIGINT">
|
<column name="invocation_id" type="BIGINT">
|
||||||
<constraints nullable="false"/>
|
<constraints nullable="false"/>
|
||||||
</column>
|
</column>
|
||||||
<column name="flow_id" type="BIGINT">
|
<column name="flow_id" type="NVARCHAR(64)">
|
||||||
<constraints nullable="true"/>
|
<constraints nullable="true"/>
|
||||||
</column>
|
</column>
|
||||||
<column name="flow_name" type="NVARCHAR(128)">
|
<column name="flow_name" type="NVARCHAR(128)">
|
||||||
<constraints nullable="false"/>
|
<constraints nullable="false"/>
|
||||||
</column>
|
</column>
|
||||||
<column name="flow_identifier" type="NVARCHAR(128)">
|
<column name="flow_identifier" type="NVARCHAR(512)">
|
||||||
<constraints nullable="true"/>
|
<constraints nullable="true"/>
|
||||||
</column>
|
</column>
|
||||||
<column name="started_type" type="NVARCHAR(32)">
|
<column name="started_type" type="NVARCHAR(32)">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user