Skip to content

Commit

Permalink
Merge pull request #52 from diging/develop
Browse files Browse the repository at this point in the history
adjust ID generation strategy
  • Loading branch information
jdamerow authored Feb 12, 2018
2 parents ebe9c00 + b823b6d commit 9ff16e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
@Entity
@Table(indexes={
@Index(columnList="uploadProgressId", name="IDX_PROGRESS_ID"),
@Index(columnList="username", name="IDX_USERNAME")
@Index(columnList="username", name="IDX_USERNAME"),
@Index(columnList="createdDate", name="IDX_CREATED_DATE")
})
public class Upload implements IUpload {

Expand Down
2 changes: 1 addition & 1 deletion giles-eco/src/main/resources/META-INF/hibernate/orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<hibernate-mapping>
<class name="edu.asu.diging.gilesecosystem.requests.impl.Request" table="Request">
<id name="id">
<generator class="increment" />
<generator class="sequence" />
</id>
<property name="requestId" type="string" />
<property name="requestType" type="string" />
Expand Down

0 comments on commit 9ff16e7

Please sign in to comment.