You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Daniel Cunha (JIRA)" <ji...@apache.org> on 2014/04/10 03:10:20 UTC
[jira] [Comment Edited] (BATCHEE-26) rename our Database table
names
[ https://issues.apache.org/jira/browse/BATCHEE-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13964862#comment-13964862 ]
Daniel Cunha edited comment on BATCHEE-26 at 4/10/14 1:10 AM:
--------------------------------------------------------------
I thought this pattern:
Date field: DT + FIELD_NAME (DT = DATE)
Description field: DE + FIELD_NAME
Blob field: BL + FIELD_NAME
Lob field: LB + FIELD_NAME
Foreign Key: TYPE_NAME + ID (JOB_INSTACE_ID)
wdyt?
was (Author: danielsoro):
I thought this pattern:
Date field: DT + FIELD_NAME (DT = DATE)
Description field: DE + FIELD_NAME
Blob field: BL + FIELD_NAME
Lob field: LB + FIELD_NAME
Foreign Key: TYPE_NAME + ID (JOB_INSTACE_ID)
wdty?
> rename our Database table names
> -------------------------------
>
> Key: BATCHEE-26
> URL: https://issues.apache.org/jira/browse/BATCHEE-26
> Project: BatchEE
> Issue Type: Bug
> Components: jbatch-core
> Affects Versions: 0.2-incubating
> Reporter: Mark Struberg
> Labels: newbie, patch
> Fix For: 0.2-incubating
>
> Attachments: BATCHEE-26.patch
>
>
> Currently our DB Tables are named 1:1 like the entities
> * JobExecutionEntity
> * CheckpointEntity
> * JobInstanceEntity
> * StepExecutionEntity
> I'd rather rename them to something more meaningful:
> * JB_EXECUTION
> * JB_CHECKPOINT
> * JB_JOBINSTANCE
> * JB_STEPEXECUTION
> Of course this needs a small alter table for people already using batchee-0.1. But it will be much more clear and easier to find in the db schema later.
--
This message was sent by Atlassian JIRA
(v6.2#6252)