# Overriding the default multipart file size

**URL:** https://talk.openmrs.org/t/overriding-the-default-multipart-file-size/19193
**Category:** Development
**Created:** [July 28, 2018, 9:46pm UTC](https://talk.openmrs.org/t/overriding-the-default-multipart-file-size/19193 "2018-07-28T21:46:15Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![samuel34](https://talk.openmrs.org/user_avatar/talk.openmrs.org/samuel34/32/17813_2.png) [@samuel34](https://talk.openmrs.org/u/samuel34)
#### Post date: [July 30, 2018, 4:59pm UTC](https://talk.openmrs.org/t/overriding-the-default-multipart-file-size/19193/8 "2018-07-30T16:59:22Z")

</div>

Cool, gonna create a TODO on that, thanks. Now pending issue is

> [@Enabling Hibernate Logging](https://talk.openmrs.org/t/enabling-hibernate-logging/19140/8):
>
> To be honest I still need your help here. How To get this error Like for instance you are merging Patients from serverA to B which a new server with Patients. However, data comes with primary keys and foreign keys set yet we use key Generator class of hibernate. Ok I tried as possible to set all these IDs like patientId to null to tell hibernate that this is a new Object. However, there some culprit id values that I could be missing to set to null which make Hibernate think that we are updatin…

---

_[View the full topic](https://talk.openmrs.org/t/overriding-the-default-multipart-file-size/19193)._
