# Can't insert the string "scale values mean" without it being changed

**URL:** <https://forum.liquibase.org/t/cant-insert-the-string-scale-values-mean-without-it-being-changed/5121>\
**Category:** General Discussion\
**Created:** [February 25, 2021, 5:22pm UTC](https://forum.liquibase.org/t/cant-insert-the-string-scale-values-mean-without-it-being-changed/5121 "2021-02-25T17:22:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MYarbrough](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@MYarbrough](https://forum.liquibase.org/u/MYarbrough)\
**Post date:** [February 25, 2021, 5:22pm UTC](https://forum.liquibase.org/t/cant-insert-the-string-scale-values-mean-without-it-being-changed/5121/1 "2021-02-25T17:22:59Z")

</div>

I’m not exactly sure what is going on in the background for this. I’m trying to populate an H2 database table with some text that includes the words ‘scale values mean’ in that order. When I do so it attempts to insert ‘scale KEY(version) values mean’ instead.

I’ve created a sample project to show the error

> **[GitHub - MAYarbrough/LiquibaseH2Issue](https://github.com/MAYarbrough/LiquibaseH2Issue)**
>
> Contribute to MAYarbrough/LiquibaseH2Issue development by creating an account on GitHub.

if you clone the project and run `mvn liquibase:update` you will see an error

 ![liquibaseIssue](https://us1.discourse-cdn.com/flex020/uploads/liquibase1/original/1X/f182d506d755c1e10789f184109bae6075ea7676.png)

the error is for a null value in the non-null column ‘id’ but this should be auto-populated by the incrementer. If you change the text in the csv it will run as expected.

My question is, is there a better way to escape the text in the csv? It looks like it’s still being interpreted by something on the way to the database.

---

<div class="post-metadata">

**Author:** ![ronak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/ronak/32/221_2.png) [@ronak](https://forum.liquibase.org/u/ronak)\
**Post date:** [March 12, 2021, 1:43pm UTC](https://forum.liquibase.org/t/cant-insert-the-string-scale-values-mean-without-it-being-changed/5121/2 "2021-03-12T13:43:27Z")

</div>

Hi @MYarbrough ,

Quick question, what version of liquibase are you using?

Thanks!

Ronak

---

<div class="post-metadata">

**Author:** ![MYarbrough](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@MYarbrough](https://forum.liquibase.org/u/MYarbrough)\
**Post date:** [March 12, 2021, 2:24pm UTC](https://forum.liquibase.org/t/cant-insert-the-string-scale-values-mean-without-it-being-changed/5121/3 "2021-03-12T14:24:22Z")

</div>

> [@MYarbrough](#):
>
> mvn liquibase:update

In the project it’s set to 3.8.0, but it does that same thing if you change the version to 4.3.1

---

<div class="post-metadata">

**Author:** ![ronak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/ronak/32/221_2.png) [@ronak](https://forum.liquibase.org/u/ronak)\
**Post date:** [March 12, 2021, 2:31pm UTC](https://forum.liquibase.org/t/cant-insert-the-string-scale-values-mean-without-it-being-changed/5121/4 "2021-03-12T14:31:48Z")

</div>

I was able to reproduce this @MYarbrough and I am using version 4.3.1, and I even took out mvn, and was just running liquibase updateSQL (update preview).

---

<div class="post-metadata">

**Author:** ![MYarbrough](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@MYarbrough](https://forum.liquibase.org/u/MYarbrough)\
**Post date:** [March 12, 2021, 3:21pm UTC](https://forum.liquibase.org/t/cant-insert-the-string-scale-values-mean-without-it-being-changed/5121/5 "2021-03-12T15:21:16Z")

</div>

I found a weird workaround btw, if you move the text to the next line (or any later line) it doesn’t get interpreted weirdly

So changing the csv to the following will work  
version, text, start\_date  
“v1.0”,"  
scale values mean",“2021-02-12”

---

<div class="post-metadata">

**Author:** ![ronak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/ronak/32/221_2.png) [@ronak](https://forum.liquibase.org/u/ronak)\
**Post date:** [March 13, 2021, 5:14pm UTC](https://forum.liquibase.org/t/cant-insert-the-string-scale-values-mean-without-it-being-changed/5121/6 "2021-03-13T17:14:26Z")

</div>

That is awesome @MYarbrough you have found a workaround. I was stumped. I’m still trying to find out why with the help of some smarter Liquibase folks. -Ronak

---

<div class="post-metadata">

**Author:** ![ronak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/ronak/32/221_2.png) [@ronak](https://forum.liquibase.org/u/ronak)\
**Post date:** [March 15, 2021, 5:07pm UTC](https://forum.liquibase.org/t/cant-insert-the-string-scale-values-mean-without-it-being-changed/5121/7 "2021-03-15T17:07:16Z")

</div>

@MYarbrough , this does look like a bug, I entered it in here:

> <https://github.com/liquibase/liquibase/issues/1767>
>
> Environment
> Liquibase Version: 4.3
> Liquibase Integration & Version: maven (but reproduces on CLI too)
> Liquibase Extension(s) & Version:
> Database Vendor & Version: H2
> Operating System Type...

Would you mind adding yourself to the issue if you want updates?

Thanks,

Ronak
