# Delete not working with 6.3.1 when use JPA delete method

**URL:** https://discourse.hibernate.org/t/delete-not-working-with-6-3-1-when-use-jpa-delete-method/8755
**Category:** Hibernate ORM
**Created:** [December 26, 2023, 9:26am UTC](https://discourse.hibernate.org/t/delete-not-working-with-6-3-1-when-use-jpa-delete-method/8755 "2023-12-26T09:26:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![DevendraPatidar](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@DevendraPatidar](https://discourse.hibernate.org/u/DevendraPatidar)
#### Post date: [December 26, 2023, 9:26am UTC](https://discourse.hibernate.org/t/delete-not-working-with-6-3-1-when-use-jpa-delete-method/8755/1 "2023-12-26T09:26:22Z")

</div>

Hi Team,

We are trying to upgrade from Hibernate 5 to Hibernate 6, With some entities using the @Type Annotation in Hibernate 5 we have upgraded them to JDBCType, now we are able to see that the default delete method of the JPA is not able to perform the delete operation in DB.  
Is there any limitation with the Jdbc type or anything else that have caused this break?  
Thanks

---

<div class="post-metadata">

### Author: ![beikov](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/beikov/32/258_2.png) [@beikov](https://discourse.hibernate.org/u/beikov)
#### Post date: [January 4, 2024, 11:08am UTC](https://discourse.hibernate.org/t/delete-not-working-with-6-3-1-when-use-jpa-delete-method/8755/2 "2024-01-04T11:08:03Z")

</div>

No, and without a a reproducer based on our test case template ([hibernate-test-case-templates/orm/hibernate-orm-6/src/test/java/org/hibernate/bugs/JPAUnitTestCase.java at main · hibernate/hibernate-test-case-templates · GitHub](https://github.com/hibernate/hibernate-test-case-templates/blob/master/orm/hibernate-orm-6/src/test/java/org/hibernate/bugs/JPAUnitTestCase.java)) or further details it’s also impossible to help you.
