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:56eecb10-e3c8-56f4-c588-495e4be76944 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 929E:4CBE1:30C460:46E3AB:6A636B38 |
| html-safe-nonce | 6e06b2aa33bb4f5990ddf97f4c98741c24c9e2c71b349596052d6900ad3e0fd6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjlFOjRDQkUxOjMwQzQ2MDo0NkUzQUI6NkE2MzZCMzgiLCJ2aXNpdG9yX2lkIjoiODkwOTM2MDcyMTg2MTc2NTk0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7ed88d6dacd3566ce8b3eaa88cc34a4a8980807871ac8f3d4540b207214ce69a |
| 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 | e7b5617850fbcd6d10fe2b7c56398444bccb5f3a58a4a18c6d363971295bcd03 |
| 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 | aa341b3f432dc63fa9633042725aec601722a352 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width