# OH3: Issue jdbc mysql Table Creation for Image Item

**URL:** <https://community.openhab.org/t/oh3-issue-jdbc-mysql-table-creation-for-image-item/113474>\
**Category:** Persistence Services\
**Tags:** binding, jdbc, oh3\
**Created:** [January 8, 2021, 3:49pm UTC](https://community.openhab.org/t/oh3-issue-jdbc-mysql-table-creation-for-image-item/113474 "2021-01-08T15:49:03Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![ohb1138](https://community.openhab.org/letter_avatar_proxy/v4/letter/o/9f8e36/32.png) [@ohb1138](https://community.openhab.org/u/ohb1138)\
**Post date:** [April 5, 2021, 12:47pm UTC](https://community.openhab.org/t/oh3-issue-jdbc-mysql-table-creation-for-image-item/113474/21 "2021-04-05T12:47:30Z")

</div>

Thanks! Will do when all the rule errors are solved 👍

---

<div class="post-metadata">

**Author:** ![ohb1138](https://community.openhab.org/letter_avatar_proxy/v4/letter/o/9f8e36/32.png) [@ohb1138](https://community.openhab.org/u/ohb1138)\
**Post date:** [April 8, 2021, 10:07am UTC](https://community.openhab.org/t/oh3-issue-jdbc-mysql-table-creation-for-image-item/113474/22 "2021-04-08T10:07:13Z")

</div>

Hi @JensH,

sorry for asking back. I found out that it is always seven of these error pairs that occur during startup:

```yaml
12:00:36.483 [ERROR] [rnal.common.AbstractInvocationHandler] - An error occurred while calling method 'QueryablePersistenceService.query()' on 'org.openhab.persistence.jdbc.internal.JdbcPersistenceService@32829b85': class [B cannot be cast to class java.lang.String ([B and java.lang.String are in module java.base of loader 'bootstrap')
12:00:36.488 [ERROR] [tence.internal.PersistenceManagerImpl] - Exception occurred while querying persistence service 'jdbc': class [B cannot be cast to class java.lang.String ([B and java.lang.String are in module java.base of loader 'bootstrap')

```

Can I find out in more detail which Items cause these errors?  
I had the idea that it could be the empty group items that never receive an update but I have _ **nine** _ groups but only _ **seven** _ errors 🙂

**EDIT:** I commented out with `//` all `Group` definitions in my item files even though the number was higher than the number of errors. Afterwards the error message pairs disappeared … I will monitor that and see if it stays this way …

---

<div class="post-metadata">

**Author:** ![ohb1138](https://community.openhab.org/letter_avatar_proxy/v4/letter/o/9f8e36/32.png) [@ohb1138](https://community.openhab.org/u/ohb1138)\
**Post date:** [April 8, 2021, 11:03am UTC](https://community.openhab.org/t/oh3-issue-jdbc-mysql-table-creation-for-image-item/113474/23 "2021-04-08T11:03:25Z")

</div>

NO, errors are back after another reboot ☹

---

<div class="post-metadata">

**Author:** ![JensH](https://community.openhab.org/user_avatar/community.openhab.org/jensh/32/33433_2.png) [@JensH](https://community.openhab.org/u/JensH)\
**Post date:** [April 8, 2021, 1:33pm UTC](https://community.openhab.org/t/oh3-issue-jdbc-mysql-table-creation-for-image-item/113474/24 "2021-04-08T13:33:25Z")

</div>

I got those sometimes after an update while restarting openHAB. Bootstrap looks like first initial restore of item values. So maybe a big interpreting the type of sql to the right kind of var.

In my case I decided not to search deeper, because those initial errors don’t see like having any negative impact

[Previous page](https://community.openhab.org/t/oh3-issue-jdbc-mysql-table-creation-for-image-item/113474.md?page=1)
