Title: [BUG] JSQLParser 5.4-SNAPSHOT : MySQL : 0x hexadecimal literal (0xFF) not supported as select item · Issue #2435 · JSQLParser/JSqlParser · GitHub
Open Graph Title: [BUG] JSQLParser 5.4-SNAPSHOT : MySQL : 0x hexadecimal literal (0xFF) not supported as select item · Issue #2435 · JSQLParser/JSqlParser
X Title: [BUG] JSQLParser 5.4-SNAPSHOT : MySQL : 0x hexadecimal literal (0xFF) not supported as select item · Issue #2435 · JSQLParser/JSqlParser
Description: Failing SQL Feature MySQL supports a hexadecimal literal shorthand using the 0x prefix, e.g. 0xFF. In numeric contexts it evaluates to its integer value (0xFF = 255); otherwise it is treated as a binary string. This is a MySQL-specific f...
Open Graph Description: Failing SQL Feature MySQL supports a hexadecimal literal shorthand using the 0x prefix, e.g. 0xFF. In numeric contexts it evaluates to its integer value (0xFF = 255); otherwise it is treated as a b...
X Description: Failing SQL Feature MySQL supports a hexadecimal literal shorthand using the 0x prefix, e.g. 0xFF. In numeric contexts it evaluates to its integer value (0xFF = 255); otherwise it is treated as a b...
Opengraph URL: https://github.com/JSQLParser/JSqlParser/issues/2435
X: @github
Domain: Github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] JSQLParser 5.4-SNAPSHOT : MySQL : 0x hexadecimal literal (0xFF) not supported as select item","articleBody":" **Failing SQL Feature**\n \nMySQL supports a hexadecimal literal shorthand using the `0x` prefix, e.g. `0xFF`. In numeric contexts it evaluates to its integer value (`0xFF` = `255`); otherwise it is treated as a binary string. This is a MySQL-specific form (distinct from the SQL-standard `x'1F'` hex-string literal) and is commonly used to express byte/hex constants.\n\n See the MySQL docs:\n https://dev.mysql.com/doc/refman/8.0/en/hexadecimal-literals.html\n\n **SQL Example**\n\n ```sql\n CREATE TABLE t (\n id INT PRIMARY KEY\n );\n\n INSERT INTO t (id) VALUES (1);\n\n SELECT 0xFF FROM t;\n ```\n **Parsing error**\n\n`ParseException: Encountered: \u003cS_IDENTIFIER\u003e / \"t\", at line 1, column 18, in lexical state DEFAULT.`\n","author":{"url":"https://github.com/tomershay","@type":"Person","name":"tomershay"},"datePublished":"2026-06-14T20:17:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2435/JSqlParser/issues/2435"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c2f75eda-94b8-5ef7-d3b1-975cfc5966bc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCFC:2D1717:94281A:C77D96:6A62B442 |
| html-safe-nonce | 9ad44ee60e935753eb6252341ba5c572e737bb8bc08b81d8fb55a4a0093e7b8d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0ZDOjJEMTcxNzo5NDI4MUE6Qzc3RDk2OjZBNjJCNDQyIiwidmlzaXRvcl9pZCI6IjM0NTkyMzg4OTkwMzgyMDQ5OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 12bc22aedb23a04d59d1fad4b66e2ec5a146b6bda6ba65b176a7147266f5bc03 |
| hovercard-subject-tag | issue:4660471371 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JSQLParser/JSqlParser/2435/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d5ac653f95f8c52841a0c3563884026ed8b9ba021f89928e913902ac20cb6556/JSQLParser/JSqlParser/issues/2435 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d5ac653f95f8c52841a0c3563884026ed8b9ba021f89928e913902ac20cb6556/JSQLParser/JSqlParser/issues/2435 |
| og:image:alt | Failing SQL Feature MySQL supports a hexadecimal literal shorthand using the 0x prefix, e.g. 0xFF. In numeric contexts it evaluates to its integer value (0xFF = 255); otherwise it is treated as a b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tomershay |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2738d7125e864b55224a8bc40c72c220ca7d2c73f91a7bb8d69dffe9d35e997d |
| turbo-cache-control | no-preview |
| go-import | github.com/JSQLParser/JSqlParser git https://github.com/JSQLParser/JSqlParser.git |
| octolytics-dimension-user_id | 4643847 |
| octolytics-dimension-user_login | JSQLParser |
| octolytics-dimension-repository_id | 1944709 |
| octolytics-dimension-repository_nwo | JSQLParser/JSqlParser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1944709 |
| octolytics-dimension-repository_network_root_nwo | JSQLParser/JSqlParser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bf54af498459157b66a67136f992a68752cdbb54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width