René's URL Explorer Experiment


Title: [Bug] 唯一验证时批量新增,只有最后一条数据入库成功 · Issue #865 · APIJSON/APIJSON · GitHub

Open Graph Title: [Bug] 唯一验证时批量新增,只有最后一条数据入库成功 · Issue #865 · APIJSON/APIJSON

X Title: [Bug] 唯一验证时批量新增,只有最后一条数据入库成功 · Issue #865 · APIJSON/APIJSON

Description: APIJSON Version/APIJSON 版本号 8.1.8 Database Type & Version/数据库类型及版本号 MySql 8.0.32 Environment/环境信息 - JDK/基础库: jdk17 - OS/系统: windows APIAuto Screenshots/APIAuto 请求与结果完整截屏 在添加唯一验证的情况下批量新增,只有最后一条数据入库成功 Current Behavior/问题描述 在添加唯一验证的情况下批量新增,...

Open Graph Description: APIJSON Version/APIJSON 版本号 8.1.8 Database Type & Version/数据库类型及版本号 MySql 8.0.32 Environment/环境信息 - JDK/基础库: jdk17 - OS/系统: windows APIAuto Screenshots/APIAuto 请求与结果完整截屏 在添加唯一验证的情况下批量新增,只有最后一条数据入库成...

X Description: APIJSON Version/APIJSON 版本号 8.1.8 Database Type & Version/数据库类型及版本号 MySql 8.0.32 Environment/环境信息 - JDK/基础库: jdk17 - OS/系统: windows APIAuto Screenshots/APIAuto 请求与结果完整截屏 在添加唯一验证的情况下批量新增,只有最后一条数...

Opengraph URL: https://github.com/APIJSON/APIJSON/issues/865

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug] 唯一验证时批量新增,只有最后一条数据入库成功","articleBody":"### APIJSON Version/APIJSON 版本号\n\n8.1.8\n\n### Database Type & Version/数据库类型及版本号\n\nMySql 8.0.32\n\n### Environment/环境信息\n\n```markdown\n- JDK/基础库: jdk17\n- OS/系统: windows\n```\n\n### APIAuto Screenshots/APIAuto 请求与结果完整截屏\n\n在添加唯一验证的情况下批量新增,只有最后一条数据入库成功\n\n### Current Behavior/问题描述\n\n```markdown\n在添加唯一验证的情况下批量新增,只有最后一条数据入库成功。经测试,是因为每条数据经过AbstractVerifier.verifyRepeat 做重复验证后调用了executor.close(),导致最终的AbstractSQLExecutor.commit只提交了最后一个连接,因为前面的都被close清空了。座椅只有最后一条数据被插入数据库,前面的因为连接被关闭清空没插入成功\n```\n\n### Expected Behavior/期望结果\n\n```markdown\n在添加唯一验证的情况下批量新增,所有数据都能数据入库成功\n```\n\n### Any additional comments?/其它补充说明?\n\n```markdown\nAbstractVerifier里的 verifyCondition verifyExist verifyRepeat 都会关闭链连接,是否都会造成上述情况?\n```","author":{"url":"https://github.com/QingShan512","@type":"Person","name":"QingShan512"},"datePublished":"2026-07-10T09:40:45Z","url":"https://github.com/APIJSON/APIJSON/issues/865"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f79bf225-2a29-a22e-512d-d41c92db0673
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8210:4E4E7:114EEDA:17032C7:6B06578B
html-safe-nonce4c729851b95bc4c94c356860adeaeff0190af1341005f5408ff7dca7403f6b61
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjEwOjRFNEU3OjExNEVFREE6MTcwMzJDNzo2QjA2NTc4QiIsInZpc2l0b3JfaWQiOiIxNTY5NDI0NDA5NDQ4ODMwODU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc3c4c94a62891689bc084ee28bdb1a5ae706e282bbff6bc8295604cbfc138f6c
hovercard-subject-tagissue:4853867628
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/APIJSON/APIJSON/865/issue_layout
twitter:imagehttps://opengraph.githubassets.com/dd14cb13e6d6e2a78fb906e5675c7fcdaee42388953b02861f941601e1e31c9f/APIJSON/APIJSON/issues/865
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dd14cb13e6d6e2a78fb906e5675c7fcdaee42388953b02861f941601e1e31c9f/APIJSON/APIJSON/issues/865
og:image:altAPIJSON Version/APIJSON 版本号 8.1.8 Database Type & Version/数据库类型及版本号 MySql 8.0.32 Environment/环境信息 - JDK/基础库: jdk17 - OS/系统: windows APIAuto Screenshots/APIAuto 请求与结果完整截屏 在添加唯一验证的情况下批量新增,只有最后一条数据入库成...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameQingShan512
hostnamegithub.com
expected-hostnamegithub.com
None6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297
turbo-cache-controlno-preview
go-importgithub.com/APIJSON/APIJSON git https://github.com/APIJSON/APIJSON.git
octolytics-dimension-user_id41146037
octolytics-dimension-user_loginAPIJSON
octolytics-dimension-repository_id74359442
octolytics-dimension-repository_nwoAPIJSON/APIJSON
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id74359442
octolytics-dimension-repository_network_root_nwoAPIJSON/APIJSON
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7f0aa75f4141d440c6110dc31af7ea7797abb6c4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/APIJSON/APIJSON/issues/865#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAPIJSON%2FAPIJSON%2Fissues%2F865
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAPIJSON%2FAPIJSON%2Fissues%2F865
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=APIJSON%2FAPIJSON
Reloadhttps://github.com/APIJSON/APIJSON/issues/865
Reloadhttps://github.com/APIJSON/APIJSON/issues/865
Reloadhttps://github.com/APIJSON/APIJSON/issues/865
APIJSONhttps://github.com/APIJSON
APIJSONhttps://github.com/APIJSON/APIJSON
Codehttps://github.com/APIJSON/APIJSON
Issues237 (237)https://github.com/APIJSON/APIJSON/issues
Pull requests1 (1)https://github.com/APIJSON/APIJSON/pulls
Actionshttps://github.com/APIJSON/APIJSON/actions
Wikihttps://github.com/APIJSON/APIJSON/wiki
Security and qualityhttps://github.com/APIJSON/APIJSON/security
Insightshttps://github.com/APIJSON/APIJSON/insights
https://github.com/APIJSON/APIJSON
New issuehttps://github.com/login?return_to=https://github.com/APIJSON/APIJSON/issues/865
New issuehttps://github.com/login?return_to=https://github.com/APIJSON/APIJSON/issues/865
#866https://github.com/APIJSON/APIJSON/pull/866
[Bug] 唯一验证时批量新增,只有最后一条数据入库成功https://github.com/APIJSON/APIJSON/issues/865#top
#866https://github.com/APIJSON/APIJSON/pull/866
Bug 漏洞https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22Bug%20%E6%BC%8F%E6%B4%9E%22
https://github.com/QingShan512
QingShan512https://github.com/QingShan512
on Jul 10, 2026https://github.com/APIJSON/APIJSON/issues/865#issue-4853867628
QingShan512https://github.com/QingShan512
on Jul 10, 2026https://github.com/APIJSON/APIJSON/issues/865#event-27807026470
https://github.com/TommyLemon
TommyLemonhttps://github.com/TommyLemon
on Jul 13, 2026https://github.com/APIJSON/APIJSON/issues/865#issuecomment-4957698528
@QingShan512https://github.com/QingShan512
https://github.com/Tencent/APIJSON/blob/master/APIJSONORM/src/main/java/apijson/orm/AbstractVerifier.java#L1813-L1830https://github.com/Tencent/APIJSON/blob/master/APIJSONORM/src/main/java/apijson/orm/AbstractVerifier.java#L1813-L1830
https://private-user-images.githubusercontent.com/5738175/620834470-9c229b1e-5c2c-4ed0-92fc-bab1f836d4c4.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU1NzgwMzksIm5iZiI6MTc5NTU3NzczOSwicGF0aCI6Ii81NzM4MTc1LzYyMDgzNDQ3MC05YzIyOWIxZS01YzJjLTRlZDAtOTJmYy1iYWIxZjgzNmQ0YzQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjVUMDMzNTM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjFlMzZkYmFlNTZlYTRhNjJmMzFlZmMzOTRmZjY5ZWE5NzE4YTIyNDc4ODY1OWY4MTcwMmMxMjliY2ZlOWM2OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.X1BNv8jr0S3-bJWqxHa3cdFIYObJ47wB_RpjzlWWJRg
TommyLemonhttps://github.com/TommyLemon
Bug 漏洞https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22Bug%20%E6%BC%8F%E6%B4%9E%22
on Jul 13, 2026https://github.com/APIJSON/APIJSON/issues/865#event-27906549494
TommyLemonhttps://github.com/TommyLemon
on Jul 14, 2026https://github.com/APIJSON/APIJSON/issues/865#event-27969977220
fix: isolate verifier SQL executor for validation #865https://github.com/APIJSON/APIJSON/commit/1f41d457d1588988d7c0cb81d4e897393ba74a25
#865https://github.com/APIJSON/APIJSON/issues/865
1f41d45https://github.com/APIJSON/APIJSON/commit/1f41d457d1588988d7c0cb81d4e897393ba74a25
TommyLemonhttps://github.com/TommyLemon
completedhttps://github.com/APIJSON/APIJSON/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#866https://github.com/APIJSON/APIJSON/pull/866
on Jul 14, 2026https://github.com/APIJSON/APIJSON/issues/865#event-27969977284
Sign up for freehttps://github.com/signup?return_to=https://github.com/APIJSON/APIJSON/issues/865
Sign in to commenthttps://github.com/login?return_to=https://github.com/APIJSON/APIJSON/issues/865
Bug 漏洞https://github.com/APIJSON/APIJSON/issues?q=state%3Aopen%20label%3A%22Bug%20%E6%BC%8F%E6%B4%9E%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.