# Upgrade 4.29.2 Fails for HANA

**URL:** <https://forum.liquibase.org/t/upgrade-4-29-2-fails-for-hana/9907>\
**Category:** General Discussion\
**Created:** [October 30, 2024, 2:12pm UTC](https://forum.liquibase.org/t/upgrade-4-29-2-fails-for-hana/9907 "2024-10-30T14:12:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nate](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/nate/32/1263_2.png) [@nate](https://forum.liquibase.org/u/nate)\
**Post date:** [October 30, 2024, 2:12pm UTC](https://forum.liquibase.org/t/upgrade-4-29-2-fails-for-hana/9907/1 "2024-10-30T14:12:53Z")

</div>

This is my code which works with liquibase-core 4.20.0 but not with 4.29.2. I’ve upgraded liquibase-core and liquibase-hanadb to 4.29.2. I have also upgraded the ngdbc to 2.21.11.  
pom.xml:

```auto
<dependency>
  <groupId>com.sap.cloud.db.jdbc</groupId>
  <artifactId>ngdbc</artifactId>
  <version>2.21.11</version>
</dependency>
<dependency>
  <groupId>org.liquibase</groupId>
  <artifactId>liquibase-core</artifactId>
  <version>4.29.2</version>
</dependency>
<dependency>
  <groupId>org.liquibase.ext</groupId>
  <artifactId>liquibase-hanadb</artifactId>
  <version>4.29.2</version>
</dependency>

```

Relevant Code:

```auto
System.out.println("INFO: Performing HANA Schema Updates.");
HanaDatabase hdb = new HanaDatabase();
hdb.setConnection(new JdbcConnection(connection));
hdb.setDefaultSchemaName(db.getName());
Liquibase liquibase = new liquibase.Liquibase(path, new ClassLoaderResourceAccessor(), hdb);
liquibase.update(new Contexts(), new LabelExpression());
liquibase.close();

```

It now fails on the liquibase.update line with the error message:  
`hana is not a supported DB`
