Comments (3)
Related type defined here:
And character set used in relation to this issue is utf8mb4 (see #16635 (comment))
For that character set, VARCHAR
is limited to 16383 - see https://dev.mysql.com/doc/refman/8.3/en/storage-requirements.html:
The effective maximum number of bytes that can be stored in a VARCHAR or VARBINARY column is subject to the maximum row size of 65,535 bytes, which is shared among all columns. For a VARCHAR column that stores multibyte characters, the effective maximum number of characters is less. For example, utf8mb4 characters can require up to four bytes per character, so a VARCHAR column that uses the utf8mb4 character set can be declared to be a maximum of 16,383 characters. See Section 10.4.7, “Limits on Table Column Count and Row Size”.
from openhab-addons.
See also #13920.
from openhab-addons.
@binderth - as a work-around you can configure the size here:
Or in services/jdbc.config
:
sqltype.STRING = VARCHAR(16255)
I have provided a PR for fixing the default size for MySQL.
from openhab-addons.
Related Issues (20)
- [solarforecast] Failed to normalize configuration for thing HOT 1
- [4.2.0] Addons fail to install due to Apache http OSGI components failing to download HOT 2
- [iCalendar] Add additional authentication method HOT 2
- [telegram] 429 error message HOT 1
- [freeboxos] IAE when sending remote keycode to player HOT 10
- [freeboxos] Add PIR management capability
- [freeboxos] Rule actions are not available in DSL rule engine
- [freeboxos] Reboot player through action: thing status remains in DUTY_CYCLE HOT 1
- [samsungtv] Exception thrown when connecting to smart things HOT 40
- jdbc persistance service not available after openhab startup HOT 1
- Official Support for Tuya Devices HOT 3
- [freeboxos] Bridge thing OFFLINE after OH restart HOT 7
- [http] POST request - Option for empty "content"
- [freeboxos] Playing audio media though the audio sink fails HOT 4
- [mqtt.homeassistant] JSON Schema lights should default brightness to true unless it's an OnOff light
- [automower] Write support of calendar-tasks channel
- [Groovy] Default preset does not include OnOffType HOT 2
- [electroluxair] No longer connecting to API HOT 13
- [freeboxos] lcd REST API called when unexpected
- [freeboxos] AirPlay feature HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-addons.