4d54122d24597daa6514d2d526cf31102c682976
Build & Test (NowChessSystems) TeamCity build failed
Pre-assigning bot.id on a @GeneratedValue entity causes Hibernate 6 to treat it as detached, throwing PersistentObjectException on persist(). Fix: persist with null id (Hibernate assigns UUID immediately in-memory), then set token on the now-managed entity — dirty tracking commits the token at transaction flush. No second persist() call needed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
Scala
82.7%
Python
12.8%
Bru
3.1%
HTML
0.9%
Shell
0.2%
Other
0.2%