Вопрос на который почти каждый кто работает с Hibernate знает ответ. А у меня ошибка лезет.
Значитс - мне нужно сделать каскадное обновление данных.
Сейчас получаю такую вот ошибочку...
Что-то оч большой трейс.. забрасываю в конец.
Вот так сохраняю или делаю апдейт.
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19.
public void saveGame(SaveParams saveParams) {
int res = 0;
Session session = HibernateUtil.getSessionFactory().getCurrentSession();
session.beginTransaction();
Query query = session.createQuery("from SaveParams where serverName = :sName ");
query.setParameter("sName", saveParams.getServerName());
List listOfSaveParams = query.list();
if (listOfSaveParams.size()==0) {
session.save(saveParams);
} else {
SaveParams result = (SaveParams) listOfSaveParams.get(0);
Query q1 = session.createSQLQuery("update SaveParams set serverName = :sName ");
q1.setParameter("sName", saveParams.getServerName());
res = q1.executeUpdate();
}
session.getTransaction().commit();
}
Вот так выглядит класс.
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. 66. 67. 68. 69. 70. 71. 72. 73. 74. 75. 76. 77. 78. 79. 80. 81. 82. 83. 84. 85. 86. 87. 88. 89. 90. 91. 92. 93. 94. 95. 96. 97. 98. 99. 100. 101. 102. 103. 104. 105. 106. 107. 108. 109. 110. 111. 112. 113. 114. 115. 116. 117. 118. 119. 120. 121. 122. 123. 124. 125. 126. 127. 128. 129. 130. 131. 132. 133. 134. 135. 136. 137. 138. 139. 140. 141. 142. 143. 144. 145. 146. 147. 148. 149. 150. 151. 152. 153. 154. 155. 156. 157. 158.
package chess.dao;
import java.util.List;
import javax.persistence.CollectionTable;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Table;
import org.hibernate.annotations.Cascade;
import org.hibernate.annotations.CascadeType;
@Entity
@Table(name = "SaveParams")
public class SaveParams {
@Id
@Column(name = "serverName")
private String serverName;
@Column(name = "namePlayer1")
private String namePlayer1;
@Column(name = "namePlayer2")
private String namePlayer2;
@Column(name = "piecesColorPlayer1")
private String piecesColorPlayer1;
@Column(name = "piecesColorPlayer2")
private String piecesColorPlayer2;
@Column(name = "chat")
private String chat;
@Column(name = "time")
private int time;
@ElementCollection
@CollectionTable(name = "moveHistoryPlayer1", joinColumns = @JoinColumn(name = "serverName"))
@Cascade(CascadeType.SAVE_UPDATE)
@Column(name = "moveHistoryPlayer1")
private List<String> moveHistoryPlayer1;
@ElementCollection
@CollectionTable(name = "moveHistoryPlayer2", joinColumns = @JoinColumn(name = "serverName"))
@Cascade(CascadeType.SAVE_UPDATE)
@Column(name = "moveHistoryPlayer2")
private List<String> moveHistoryPlayer2;
@ElementCollection
@CollectionTable(name = "boardMatrix", joinColumns = @JoinColumn(name = "serverName"))
@Cascade(CascadeType.SAVE_UPDATE)
@Column(name = "boardMatrix")
private List<Integer> boardMatrix;
@ElementCollection
@CollectionTable(name = "downPiecesList", joinColumns = @JoinColumn(name = "serverName"))
@Cascade(CascadeType.SAVE_UPDATE)
@Column(name = "downPiecesList")
private List<String> downPiecesList;
public SaveParams() {
}
public String getServerName() {
return serverName;
}
public void setServerName(String serverName) {
this.serverName = serverName;
}
public String getNamePlayer1() {
return namePlayer1;
}
public void setNamePlayer1(String namePlayer1) {
this.namePlayer1 = namePlayer1;
}
public String getNamePlayer2() {
return namePlayer2;
}
public void setNamePlayer2(String namePlayer2) {
this.namePlayer2 = namePlayer2;
}
public String getPiecesColorPlayer1() {
return piecesColorPlayer1;
}
public void setPiecesColorPlayer1(String piecesColorPlayer1) {
this.piecesColorPlayer1 = piecesColorPlayer1;
}
public String getPiecesColorPlayer2() {
return piecesColorPlayer2;
}
public void setPiecesColorPlayer2(String piecesColorPlayer2) {
this.piecesColorPlayer2 = piecesColorPlayer2;
}
public List<String> getMoveHistoryPlayer1() {
return moveHistoryPlayer1;
}
public void setMoveHistoryPlayer1(List<String> moveHistoryPlayer1) {
this.moveHistoryPlayer1 = moveHistoryPlayer1;
}
public List<String> getMoveHistoryPlayer2() {
return moveHistoryPlayer2;
}
public void setMoveHistoryPlayer2(List<String> moveHistoryPlayer2) {
this.moveHistoryPlayer2 = moveHistoryPlayer2;
}
public List<Integer> getBoardMatrix() {
return boardMatrix;
}
public void setBoardMatrix(List<Integer> boardMatrix) {
this.boardMatrix = boardMatrix;
}
public List<String> getDownPiecesList() {
return downPiecesList;
}
public void setDownPiecesList(List<String> downPiecesList) {
this.downPiecesList = downPiecesList;
}
public String getChat() {
return chat;
}
public void setChat(String chat) {
this.chat = chat;
}
public int getTime() {
return time;
}
public void setTime(int time) {
this.time = time;
}
}
Спасибо.!
Трейс
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. 66. 67. 68. 69. 70. 71. 72. 73. 74. 75. 76. 77. 78. 79. 80. 81. 82. 83. 84. 85. 86. 87. 88. 89. 90. 91. 92. 93. 94. 95. 96. 97. 98. 99. 100. 101. 102. 103. 104. 105. 106. 107. 108. 109. 110. 111. 112. 113. 114. 115. 116. 117. 118. 119. 120. 121. 122. 123. 124. 125. 126. 127. 128. 129. 130. 131. 132. 133. 134. 135. 136. 137. 138. 139. 140. 141. 142. 143. 144. 145. 146. 147. 148. 149. 150. 151. 152. 153. 154. 155. 156. 157. 158. 159. 160. 161. 162. 163. 164. 165. 166. 167. 168. 169. 170. 171. 172. 173. 174. 175. 176. 177. 178. 179. 180. 181. 182. 183. 184. 185. 186. 187. 188. 189. 190. 191. 192. 193. 194. 195. 196. 197. 198. 199. 200. 201. 202. 203. 204. 205. 206. 207. 208. 209. 210. 211. 212. 213. 214. 215. 216. 217. 218. 219. 220. 221. 222. 223. 224. 225. 226. 227. 228. 229. 230. 231. 232. 233. 234. 235. 236. 237. 238. 239. 240. 241. 242. 243. 244. 245. 246. 247. 248. 249. 250. 251. 252. 253. 254. 255. 256. 257. 258. 259. 260. 261. 262. 263. 264. 265. 266. 267. 268. 269. 270. 271. 272. 273. 274. 275. 276. 277. 278. 279. 280. 281. 282. 283. 284. 285. 286. 287. 288. 289. 290. 291. 292. 293. 294. 295. 296. 297. 298. 299. 300. 301. 302. 303. 304. 305. 306. 307. 308. 309. 310. 311. 312. 313. 314. 315. 316. 317. 318. 319. 320. 321. 322. 323. 324. 325. 326. 327. 328. 329. 330. 331. 332. 333. 334. 335. 336. 337. 338. 339. 340. 341. 342. 343. 344. 345. 346. 347. 348. 349. 350. 351. 352. 353. 354. 355. 356. 357. 358. 359. 360. 361. 362. 363. 364. 365. 366. 367. 368. 369. 370. 371. 372. 373. 374. 375. 376. 377. 378. 379. 380. 381. 382. 383. 384. 385. 386. 387. 388. 389. 390. 391. 392. 393. 394. 395. 396. 397. 398. 399. 400. 401. 402. 403. 404. 405. 406. 407. 408. 409. 410. 411. 412. 413. 414. 415. 416. 417. 418. 419. 420. 421. 422. 423. 424. 425. 426. 427. 428. 429. 430. 431. 432. 433. 434. 435. 436. 437. 438. 439. 440. 441. 442. 443. 444. 445. 446. 447. 448. 449. 450. 451. 452. 453. 454. 455. 456. 457. 458. 459. 460. 461. 462. 463. 464. 465. 466. 467. 468. 469. 470. 471. 472. 473. 474. 475. 476. 477. 478. 479. 480. 481. 482. 483. 484. 485. 486. 487. 488. 489. 490. 491. 492. 493. 494. 495. 496. 497. 498. 499. 500. 501. 502. 503. 504. 505. 506. 507. 508. 509. 510. 511. 512. 513. 514. 515. 516. 517. 518. 519. 520. 521. 522. 523. 524. 525. 526. 527. 528. 529. 530. 531. 532. 533. 534. 535. 536. 537. 538. 539. 540. 541. 542. 543. 544. 545. 546. 547. 548. 549. 550. 551. 552. 553. 554. 555. 556. 557. 558. 559. 560. 561. 562. 563. 564. 565. 566. 567. 568. 569. 570. 571. 572. 573. 574. 575. 576. 577. 578. 579. 580. 581. 582. 583. 584. 585. 586. 587. 588. 589. 590. 591. 592. 593. 594. 595. 596. 597. 598. 599. 600. 601. 602. 603. 604. 605. 606. 607. 608. 609. 610. 611. 612. 613. 614. 615. 616. 617. 618. 619. 620. 621. 622. 623. 624. 625. 626. 627. 628. 629. 630. 631. 632. 633. 634. 635. 636. 637. 638. 639. 640. 641. 642. 643. 644. 645. 646. 647. 648. 649. 650. 651. 652. 653. 654. 655. 656. 657. 658. 659. 660. 661. 662. 663. 664. 665. 666. 667. 668. 669. 670. 671. 672. 673. 674. 675. 676. 677. 678. 679. 680. 681. 682. 683. 684. 685. 686. 687. 688. 689. 690. 691. 692. 693. 694. 695. 696. 697. 698. 699. 700. 701. 702. 703. 704. 705. 706. 707. 708. 709. 710. 711. 712. 713. 714. 715. 716. 717. 718. 719. 720. 721. 722. 723. 724. 725. 726. 727. 728. 729. 730. 731. 732. 733. 734. 735. 736. 737. 738. 739. 740. 741. 742. 743. 744. 745. 746. 747. 748. 749. 750. 751. 752. 753. 754. 755. 756. 757. 758. 759. 760. 761. 762. 763. 764. 765. 766. 767. 768. 769. 770. 771. 772. 773. 774. 775. 776. 777. 778. 779. 780. 781. 782. 783. 784. 785. 786. 787. 788. 789. 790. 791. 792. 793. 794. 795. 796. 797. 798.
21:19:27,722 DEBUG CollectionBinder:1178 - Binding a collection of element: chess.dao.SaveParams.boardMatrix
21:19:27,722 DEBUG SimpleValueBinder:303 - building SimpleValue for null
21:19:27,723 DEBUG SimpleValueBinder:341 - Setting SimpleValue typeName for null
21:19:27,723 DEBUG CollectionSecondPass:79 - Mapped collection key: serverName, element: boardMatrix
21:19:27,724 DEBUG Configuration:1721 - processing native query and ResultSetMapping mappings
21:19:27,724 DEBUG Configuration:1729 - processing association property references
21:19:27,724 DEBUG Configuration:1751 - processing foreign key constraints
21:19:27,725 DEBUG Configuration:1820 - resolving reference to class: chess.dao.SaveParams
21:19:27,725 DEBUG Configuration:1820 - resolving reference to class: chess.dao.SaveParams
21:19:27,726 DEBUG Configuration:1820 - resolving reference to class: chess.dao.SaveParams
21:19:27,726 DEBUG Configuration:1820 - resolving reference to class: chess.dao.SaveParams
21:19:27,727 INFO Configuration:1676 - Hibernate Validator not found: ignoring
21:19:27,729 DEBUG Configuration:1896 - Legacy Validator not present in classpath, ignoring event listener registration
21:19:27,731 DEBUG HibernateSearchEventListenerRegister:231 - Search not present in classpath, ignoring event listener registration.
21:19:27,731 INFO HibernateSearchEventListenerRegister:75 - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
21:19:27,737 INFO DriverManagerConnectionProvider:64 - Using Hibernate built-in connection pool (not for production use!)
21:19:27,737 INFO DriverManagerConnectionProvider:65 - Hibernate connection pool size: 2
21:19:27,738 INFO DriverManagerConnectionProvider:68 - autocommit mode: false
21:19:27,744 INFO DriverManagerConnectionProvider:103 - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://127.0.0.1:3306/chessdb
21:19:27,745 INFO DriverManagerConnectionProvider:106 - connection properties: {user=root, password=killer}
21:19:27,745 DEBUG DriverManagerConnectionProvider:132 - opening new JDBC connection
21:19:27,903 DEBUG DriverManagerConnectionProvider:138 - created connection to: jdbc:mysql://127.0.0.1:3306/chessdb, Isolation Level: 4
21:19:27,927 INFO Dialect:136 - Using dialect: org.hibernate.dialect.MySQLInnoDBDialect
21:19:27,945 INFO JdbcSupportLoader:79 - Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
21:19:27,945 INFO SettingsFactory:126 - Database ->
name : MySQL
version : 5.0.96-community-nt
major : 5
minor : 0
21:19:27,946 INFO SettingsFactory:132 - Driver ->
name : MySQL-AB JDBC Driver
version : mysql-connector-java-3.1.14 ( $Date: 2006-10-18 17:40:15 +0200 (Wed, 18 Oct 2006) $, $Revision: 5888 $ )
major : 3
minor : 1
21:19:27,948 INFO TransactionFactoryFactory:62 - Using default transaction strategy (direct JDBC transactions)
21:19:27,951 INFO TransactionManagerLookupFactory:83 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
21:19:27,951 INFO SettingsFactory:179 - Automatic flush during beforeCompletion(): disabled
21:19:27,952 INFO SettingsFactory:183 - Automatic session close at end of transaction: disabled
21:19:27,952 INFO SettingsFactory:190 - JDBC batch size: 15
21:19:27,953 INFO SettingsFactory:193 - JDBC batch updates for versioned data: disabled
21:19:27,954 INFO SettingsFactory:198 - Scrollable result sets: enabled
21:19:27,955 DEBUG SettingsFactory:202 - Wrap result sets: disabled
21:19:27,955 INFO SettingsFactory:206 - JDBC3 getGeneratedKeys(): enabled
21:19:27,956 INFO SettingsFactory:214 - Connection release mode: auto
21:19:27,957 INFO SettingsFactory:238 - Maximum outer join fetch depth: 2
21:19:27,958 INFO SettingsFactory:241 - Default batch fetch size: 1
21:19:27,958 INFO SettingsFactory:245 - Generate SQL with comments: disabled
21:19:27,958 INFO SettingsFactory:249 - Order SQL updates by primary key: disabled
21:19:27,959 INFO SettingsFactory:253 - Order SQL inserts for batching: disabled
21:19:27,959 INFO SettingsFactory:431 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
21:19:27,962 INFO ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory
21:19:27,963 INFO SettingsFactory:261 - Query language substitutions: {}
21:19:27,963 INFO SettingsFactory:266 - JPA-QL strict compliance: disabled
21:19:27,964 INFO SettingsFactory:271 - Second-level cache: enabled
21:19:27,964 INFO SettingsFactory:275 - Query cache: disabled
21:19:27,966 INFO SettingsFactory:406 - Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
21:19:27,971 INFO RegionFactoryCacheProviderBridge:61 - Cache provider: org.hibernate.cache.NoCacheProvider
21:19:27,977 INFO SettingsFactory:285 - Optimize cache for minimal puts: disabled
21:19:27,978 INFO SettingsFactory:294 - Structured second-level cache entries: disabled
21:19:27,984 INFO SettingsFactory:314 - Echoing all SQL to stdout
21:19:27,986 INFO SettingsFactory:323 - Statistics: disabled
21:19:27,986 INFO SettingsFactory:327 - Deleted entity synthetic identifier rollback: disabled
21:19:27,987 INFO SettingsFactory:343 - Default entity-mode: pojo
21:19:27,987 INFO SettingsFactory:347 - Named query checking : enabled
21:19:27,988 INFO SettingsFactory:351 - Check Nullability in Core (should be disabled when Bean Validation is on): enabled
21:19:28,016 INFO SessionFactoryImpl:202 - building session factory
21:19:28,024 DEBUG SessionFactoryImpl:206 - Statistics initialized [enabled=false]}
21:19:28,028 INFO BasicTypeRegistry:150 - Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@3fb7edd3
21:19:28,028 INFO BasicTypeRegistry:150 - Type registration [materialized_clob] overrides previous : org.hibernate.type.MaterializedClobType@445ed853
21:19:28,029 INFO BasicTypeRegistry:150 - Type registration [characters_clob] overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@2ecc5436
21:19:28,029 INFO BasicTypeRegistry:150 - Type registration [wrapper_characters_clob] overrides previous : org.hibernate.type.CharacterArrayClobType@68acbd3a
21:19:28,030 INFO BasicTypeRegistry:150 - Type registration [blob] overrides previous : org.hibernate.type.BlobType@24bb6086
21:19:28,030 INFO BasicTypeRegistry:150 - Type registration [java.sql.Blob] overrides previous : org.hibernate.type.BlobType@24bb6086
21:19:28,030 INFO BasicTypeRegistry:150 - Type registration [wrapper_materialized_blob] overrides previous : org.hibernate.type.WrappedMaterializedBlobType@9be1041
21:19:28,031 INFO BasicTypeRegistry:150 - Type registration [clob] overrides previous : org.hibernate.type.ClobType@1d1d2066
21:19:28,031 INFO BasicTypeRegistry:150 - Type registration [java.sql.Clob] overrides previous : org.hibernate.type.ClobType@1d1d2066
21:19:28,034 DEBUG SessionFactoryImpl:228 - Session factory constructed with filter configurations : {}
21:19:28,035 DEBUG SessionFactoryImpl:232 - instantiating session factory with properties: {java.vendor=Sun Microsystems Inc., show_sql=true, sun.java.launcher=SUN_STANDARD, hibernate.connection.url=jdbc:mysql://127.0.0.1:3306/chessdb, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, os.name=Windows 7, sun.boot.class.path=C:\Program Files\Java\jdk1.6.0_31\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_31\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_31\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_31\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_31\jre\lib\charsets.jar;C:\Program Files\Java\apache-tomcat-7.0.23-windows-x64\lib\servlet-api.jar, hibernate.current_session_context_class=thread, sun.desktop=windows, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.6.0_31-b05, hibernate.cache.provider_class=org.hibernate.cache.NoCacheProvider, user.name=JDev, connection.driver_class=com.mysql.jdbc.Driver, current_session_context_class=thread, user.language=ru, sun.boot.library.path=C:\Program Files\Java\jdk1.6.0_31\jre\bin, dialect=org.hibernate.dialect.MySQLInnoDBDialect, java.version=1.6.0_31, user.timezone=Europe/Berlin, sun.arch.data.model=64, java.endorsed.dirs=C:\Program Files\Java\jdk1.6.0_31\jre\lib\endorsed, sun.cpu.isalist=amd64, sun.jnu.encoding=Cp1251, file.encoding.pkg=sun.io, file.separator=\, java.specification.name=Java Platform API Specification, java.class.version=50.0, user.country=RU, connection.url=jdbc:mysql://127.0.0.1:3306/chessdb, java.home=C:\Program Files\Java\jdk1.6.0_31\jre, java.vm.info=mixed mode, os.version=6.1, path.separator=;, connection.password=killer, java.vm.version=20.6-b01, hibernate.connection.password=killer, user.variant=, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, hibernate.connection.username=root, user.home=C:\Users\JDev, java.specification.vendor=Sun Microsystems Inc., hibernate.hbm2ddl.auto=update, java.library.path=C:\Program Files\Java\jdk1.6.0_31\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Services\IPT\;C:\Program Files\PostgreSQL\9.1\bin;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\MinGW\bin;C:\MinGw\msys\1.0\bin;C:\Program Files\Java\apache-maven-3.0.3\bin;C:\Program Files\Java\jdk1.6.0_31;C:\Program Files\Python27;;., java.vendor.url=http://java.sun.com/, hibernate.connection.driver_class=com.mysql.jdbc.Driver, connection.username=root, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect, java.runtime.name=Java(TM) SE Runtime Environment, sun.java.command=chess.main.Main, java.class.path=E:\Projects\Chess\Chess\bin;E:\Projects\Chess\Chess\lib\mysql-connector-java-3.1.14-bin.jar;C:\Program Files\Java\hibernate-distribution-3.6.10.Final\hibernate3.jar;C:\Program Files\Java\hibernate-distribution-3.6.10.Final\lib\required\antlr-2.7.6.jar;C:\Program Files\Java\hibernate-distribution-3.6.10.Final\lib\required\commons-collections-3.1.jar;C:\Program Files\Java\hibernate-distribution-3.6.10.Final\lib\required\dom4j-1.6.1.jar;C:\Program Files\Java\hibernate-distribution-3.6.10.Final\lib\required\javassist-3.12.0.GA.jar;C:\Program Files\Java\hibernate-distribution-3.6.10.Final\lib\required\jta-1.1.jar;C:\Program Files\Java\hibernate-distribution-3.6.10.Final\lib\required\slf4j-api-1.6.1.jar;C:\Program Files\Java\hibernate-distribution-3.6.10.Final\lib\bytecode\cglib\cglib-2.2.jar;C:\Program Files\Java\hibernate-annotations-3.4.0.GA\hibernate-annotations.jar;C:\Program Files\Java\hibernate-annotations-3.4.0.GA\lib\ejb3-persistence.jar;C:\Program Files\Java\hibernate-annotations-3.4.0.GA\lib\hibernate-commons-annotations.jar;C:\Program Files\Java\hibernate-annotations-3.4.0.GA\lib\test\log4j.jar;C:\Program Files\Java\slf4j-1.6.5\slf4j-log4j12-1.6.5.jar;C:\Program Files\Java\hibernate-distribution-3.6.10.Final\lib\jpa\hibernate-jpa-2.0-api-1.0.1.Final.jar;C:\Program Files\Java\hLib\mysqlJDBC-3.1.13.jar.txt;C:\Program Files\Java\hLib\javaee.jar.txt;C:\Program Files\Java\hLib\log4j-1.2.15.jar.txt, hibernate.bytecode.use_reflection_optimizer=false, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, sun.cpu.endian=little, sun.os.patch.level=Service Pack 1, connection.pool_size=2, java.io.tmpdir=C:\Users\JDev\AppData\Local\Temp\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, os.arch=amd64, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=C:\Program Files\Java\jdk1.6.0_31\jre\lib\ext;C:\Windows\Sun\Java\lib\ext, user.dir=E:\Projects\Chess\Chess, line.separator=
, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, cache.provider_class=org.hibernate.cache.NoCacheProvider, file.encoding=Cp1251, java.specification.version=1.6, hibernate.connection.pool_size=2, hibernate.show_sql=true}
21:19:28,055 DEBUG DefaultIdentifierGeneratorFactory:90 - Setting dialect [org.hibernate.dialect.MySQLInnoDBDialect]
21:19:28,249 DEBUG AbstractEntityPersister:2953 - Static SQL for entity: chess.dao.SaveParams
21:19:28,249 DEBUG AbstractEntityPersister:2958 - Version select: select serverName from SaveParams where serverName =?
21:19:28,249 DEBUG AbstractEntityPersister:2961 - Snapshot select: select saveparams_.serverName, saveparams_.chat as chat0_, saveparams_.namePlayer1 as namePlayer3_0_, saveparams_.namePlayer2 as namePlayer4_0_, saveparams_.piecesColorPlayer1 as piecesCo5_0_, saveparams_.piecesColorPlayer2 as piecesCo6_0_, saveparams_.time as time0_ from SaveParams saveparams_ where saveparams_.serverName=?
21:19:28,250 DEBUG AbstractEntityPersister:2964 - Insert 0: insert into SaveParams (chat, namePlayer1, namePlayer2, piecesColorPlayer1, piecesColorPlayer2, time, serverName) values (?, ?, ?, ?, ?, ?, ?)
21:19:28,250 DEBUG AbstractEntityPersister:2965 - Update 0: update SaveParams set chat=?, namePlayer1=?, namePlayer2=?, piecesColorPlayer1=?, piecesColorPlayer2=?, time=? where serverName=?
21:19:28,250 DEBUG AbstractEntityPersister:2966 - Delete 0: delete from SaveParams where serverName=?
21:19:28,260 DEBUG AbstractCollectionPersister:610 - Static SQL for collection: chess.dao.SaveParams.boardMatrix
21:19:28,260 DEBUG AbstractCollectionPersister:612 - Row insert: insert into boardMatrix (serverName, boardMatrix) values (?, ?)
21:19:28,261 DEBUG AbstractCollectionPersister:615 - Row update: update boardMatrix set boardMatrix=? where serverName=? and boardMatrix=?
21:19:28,261 DEBUG AbstractCollectionPersister:618 - Row delete: delete from boardMatrix where serverName=? and boardMatrix=?
21:19:28,261 DEBUG AbstractCollectionPersister:621 - One-shot delete: delete from boardMatrix where serverName=?
21:19:28,263 DEBUG AbstractCollectionPersister:610 - Static SQL for collection: chess.dao.SaveParams.moveHistoryPlayer1
21:19:28,263 DEBUG AbstractCollectionPersister:612 - Row insert: insert into moveHistoryPlayer1 (serverName, moveHistoryPlayer1) values (?, ?)
21:19:28,263 DEBUG AbstractCollectionPersister:615 - Row update: update moveHistoryPlayer1 set moveHistoryPlayer1=? where serverName=? and moveHistoryPlayer1=?
21:19:28,263 DEBUG AbstractCollectionPersister:618 - Row delete: delete from moveHistoryPlayer1 where serverName=? and moveHistoryPlayer1=?
21:19:28,264 DEBUG AbstractCollectionPersister:621 - One-shot delete: delete from moveHistoryPlayer1 where serverName=?
21:19:28,264 DEBUG AbstractCollectionPersister:610 - Static SQL for collection: chess.dao.SaveParams.moveHistoryPlayer2
21:19:28,265 DEBUG AbstractCollectionPersister:612 - Row insert: insert into moveHistoryPlayer2 (serverName, moveHistoryPlayer2) values (?, ?)
21:19:28,265 DEBUG AbstractCollectionPersister:615 - Row update: update moveHistoryPlayer2 set moveHistoryPlayer2=? where serverName=? and moveHistoryPlayer2=?
21:19:28,265 DEBUG AbstractCollectionPersister:618 - Row delete: delete from moveHistoryPlayer2 where serverName=? and moveHistoryPlayer2=?
21:19:28,265 DEBUG AbstractCollectionPersister:621 - One-shot delete: delete from moveHistoryPlayer2 where serverName=?
21:19:28,266 DEBUG AbstractCollectionPersister:610 - Static SQL for collection: chess.dao.SaveParams.downPiecesList
21:19:28,266 DEBUG AbstractCollectionPersister:612 - Row insert: insert into downPiecesList (serverName, downPiecesList) values (?, ?)
21:19:28,266 DEBUG AbstractCollectionPersister:615 - Row update: update downPiecesList set downPiecesList=? where serverName=? and downPiecesList=?
21:19:28,266 DEBUG AbstractCollectionPersister:618 - Row delete: delete from downPiecesList where serverName=? and downPiecesList=?
21:19:28,267 DEBUG AbstractCollectionPersister:621 - One-shot delete: delete from downPiecesList where serverName=?
21:19:28,299 DEBUG EntityLoader:123 - Static select for entity chess.dao.SaveParams [NONE]: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=?
21:19:28,300 DEBUG EntityLoader:123 - Static select for entity chess.dao.SaveParams [READ]: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=?
21:19:28,301 DEBUG EntityLoader:123 - Static select for entity chess.dao.SaveParams [UPGRADE]: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=? for update
21:19:28,301 DEBUG EntityLoader:123 - Static select for entity chess.dao.SaveParams [UPGRADE_NOWAIT]: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=? for update
21:19:28,301 DEBUG EntityLoader:123 - Static select for entity chess.dao.SaveParams [FORCE]: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=? for update
21:19:28,302 DEBUG EntityLoader:123 - Static select for entity chess.dao.SaveParams [PESSIMISTIC_READ]: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=? lock in share mode
21:19:28,302 DEBUG EntityLoader:123 - Static select for entity chess.dao.SaveParams [PESSIMISTIC_WRITE]: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=? for update
21:19:28,303 DEBUG EntityLoader:123 - Static select for entity chess.dao.SaveParams [PESSIMISTIC_FORCE_INCREMENT]: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=? for update
21:19:28,303 DEBUG EntityLoader:123 - Static select for entity chess.dao.SaveParams [OPTIMISTIC]: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=?
21:19:28,304 DEBUG EntityLoader:123 - Static select for entity chess.dao.SaveParams [OPTIMISTIC_FORCE_INCREMENT]: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=?
21:19:28,312 DEBUG EntityLoader:56 - Static select for action ACTION_MERGE on entity chess.dao.SaveParams: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=?
21:19:28,313 DEBUG EntityLoader:56 - Static select for action ACTION_REFRESH on entity chess.dao.SaveParams: select saveparams0_.serverName as serverName0_0_, saveparams0_.chat as chat0_0_, saveparams0_.namePlayer1 as namePlayer3_0_0_, saveparams0_.namePlayer2 as namePlayer4_0_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_0_, saveparams0_.time as time0_0_ from SaveParams saveparams0_ where saveparams0_.serverName=?
21:19:28,320 DEBUG BasicCollectionLoader:82 - Static select for collection chess.dao.SaveParams.boardMatrix: select boardmatri0_.serverName as serverName0_0_, boardmatri0_.boardMatrix as boardMat2_0_ from boardMatrix boardmatri0_ where boardmatri0_.serverName=?
21:19:28,320 DEBUG BasicCollectionLoader:82 - Static select for collection chess.dao.SaveParams.moveHistoryPlayer1: select movehistor0_.serverName as serverName0_0_, movehistor0_.moveHistoryPlayer1 as moveHist2_0_ from moveHistoryPlayer1 movehistor0_ where movehistor0_.serverName=?
21:19:28,321 DEBUG BasicCollectionLoader:82 - Static select for collection chess.dao.SaveParams.downPiecesList: select downpieces0_.serverName as serverName0_0_, downpieces0_.downPiecesList as downPiec2_0_ from downPiecesList downpieces0_ where downpieces0_.serverName=?
21:19:28,321 DEBUG BasicCollectionLoader:82 - Static select for collection chess.dao.SaveParams.moveHistoryPlayer2: select movehistor0_.serverName as serverName0_0_, movehistor0_.moveHistoryPlayer2 as moveHist2_0_ from moveHistoryPlayer2 movehistor0_ where movehistor0_.serverName=?
21:19:28,345 DEBUG SessionFactoryObjectFactory:61 - initializing class SessionFactoryObjectFactory
21:19:28,347 DEBUG SessionFactoryObjectFactory:99 - registered: 01d55f15-da04-4146-81c5-2bb294c98ae6 (unnamed)
21:19:28,347 INFO SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured
21:19:28,347 DEBUG SessionFactoryImpl:369 - instantiated session factory
21:19:28,354 INFO SchemaUpdate:155 - Running hbm2ddl schema update
21:19:28,354 INFO SchemaUpdate:167 - fetching database metadata
21:19:28,357 INFO SchemaUpdate:179 - updating schema
21:19:28,357 DEBUG Configuration:3995 - Processing hbm.xml files
21:19:28,357 DEBUG Configuration:4025 - Process annotated classes
21:19:28,358 DEBUG Configuration:1466 - processing fk mappings (*ToOne and JoinedSubclass)
21:19:28,358 DEBUG Configuration:1708 - processing extends queue
21:19:28,358 DEBUG Configuration:1762 - processing extends queue
21:19:28,358 DEBUG Configuration:1711 - processing collection mappings
21:19:28,358 DEBUG Configuration:1721 - processing native query and ResultSetMapping mappings
21:19:28,359 DEBUG Configuration:1729 - processing association property references
21:19:28,359 DEBUG Configuration:1751 - processing foreign key constraints
21:19:28,359 DEBUG Configuration:1820 - resolving reference to class: chess.dao.SaveParams
21:19:28,360 DEBUG Configuration:1820 - resolving reference to class: chess.dao.SaveParams
21:19:28,360 DEBUG Configuration:1820 - resolving reference to class: chess.dao.SaveParams
21:19:28,360 DEBUG Configuration:1820 - resolving reference to class: chess.dao.SaveParams
21:19:28,395 INFO TableMetadata:65 - table found: chessdb.saveparams
21:19:28,395 INFO TableMetadata:66 - columns: [piecescolorplayer1, nameplayer2, piecescolorplayer2, time, nameplayer1, chat, servername]
21:19:28,395 INFO TableMetadata:68 - foreign keys: []
21:19:28,395 INFO TableMetadata:69 - indexes: [primary]
21:19:28,422 INFO TableMetadata:65 - table found: chessdb.boardmatrix
21:19:28,423 INFO TableMetadata:66 - columns: [servername, boardmatrix]
21:19:28,423 INFO TableMetadata:68 - foreign keys: [fk8e7a2e4759a95e5b]
21:19:28,423 INFO TableMetadata:69 - indexes: [fk8e7a2e4759a95e5b]
21:19:28,444 INFO TableMetadata:65 - table found: chessdb.downpieceslist
21:19:28,445 INFO TableMetadata:66 - columns: [servername, downpieceslist]
21:19:28,445 INFO TableMetadata:68 - foreign keys: [fk7e01ebc559a95e5b]
21:19:28,445 INFO TableMetadata:69 - indexes: [fk7e01ebc559a95e5b]
21:19:28,456 INFO TableMetadata:65 - table found: chessdb.movehistoryplayer1
21:19:28,457 INFO TableMetadata:66 - columns: [movehistoryplayer1, servername]
21:19:28,457 INFO TableMetadata:68 - foreign keys: [fkb0ab6c6d59a95e5b]
21:19:28,457 INFO TableMetadata:69 - indexes: [fkb0ab6c6d59a95e5b]
21:19:28,470 INFO TableMetadata:65 - table found: chessdb.movehistoryplayer2
21:19:28,470 INFO TableMetadata:66 - columns: [movehistoryplayer2, servername]
21:19:28,470 INFO TableMetadata:68 - foreign keys: [fkb0ab6c6e59a95e5b]
21:19:28,471 INFO TableMetadata:69 - indexes: [fkb0ab6c6e59a95e5b]
21:19:28,471 DEBUG DefaultIdentifierGeneratorFactory:90 - Setting dialect [org.hibernate.dialect.MySQLInnoDBDialect]
21:19:28,472 INFO SchemaUpdate:217 - schema update complete
21:19:28,484 DEBUG SessionFactoryImpl:539 - Checking 0 named HQL queries
21:19:28,484 DEBUG SessionFactoryImpl:559 - Checking 0 named SQL queries
21:19:28,542 DEBUG SessionImpl:265 - opened session at timestamp: 13397879685
21:19:28,644 DEBUG JDBCTransaction:78 - begin
21:19:28,645 DEBUG ConnectionManager:444 - opening JDBC connection
21:19:28,645 DEBUG JDBCTransaction:83 - current autocommit status: false
21:19:28,706 DEBUG QueryTranslatorImpl:274 - parse() - HQL: select serverName from chess.dao.SaveParams
21:19:28,716 DEBUG AST:293 - --- HQL AST ---
\-[QUERY] Node: 'query'
\-[SELECT_FROM] Node: 'SELECT_FROM'
+-[FROM] Node: 'from'
| \-[RANGE] Node: 'RANGE'
| \-[DOT] Node: '.'
| +-[DOT] Node: '.'
| | +-[IDENT] Node: 'chess'
| | \-[IDENT] Node: 'dao'
| \-[IDENT] Node: 'SaveParams'
\-[SELECT] Node: 'select'
\-[IDENT] Node: 'serverName'
21:19:28,717 DEBUG ErrorCounter:91 - throwQueryException() : no errors
21:19:28,766 DEBUG HqlSqlBaseWalker:111 - select << begin [level=1, statement=select]
21:19:28,786 DEBUG FromElement:157 - FromClause{level=1} : chess.dao.SaveParams (no alias) -> saveparams0_
21:19:28,787 DEBUG FromReferenceNode:74 - Resolved : {synthetic-alias} -> {synthetic-alias}
21:19:28,789 DEBUG DotNode:613 - getDataType() : serverName -> org.hibernate.type.StringType@201532fc
21:19:28,790 DEBUG FromReferenceNode:74 - Resolved : {synthetic-alias}.serverName -> saveparams0_.serverName
21:19:28,792 DEBUG HqlSqlBaseWalker:117 - select : finishing up [level=1, statement=select]
21:19:28,792 DEBUG HqlSqlWalker:625 - processQuery() : ( SELECT ( {select clause} ( saveparams0_.serverName {synthetic-alias} serverName ) ) ( FromClause{level=1} SaveParams saveparams0_ ) )
21:19:28,800 DEBUG JoinProcessor:179 - Using FROM fragment [SaveParams saveparams0_]
21:19:28,801 DEBUG HqlSqlBaseWalker:123 - select >> end [level=1, statement=select]
21:19:28,803 DEBUG AST:260 - --- SQL AST ---
\-[SELECT] QueryNode: 'SELECT' querySpaces (SaveParams)
+-[SELECT_CLAUSE] SelectClause: '{select clause}'
| +-[DOT] DotNode: 'saveparams0_.serverName' {propertyName=serverName,dereferenceType=ALL,propertyPath=serverName,path={synthetic-alias}.serverName,tableAlias=saveparams0_,className=chess.dao.SaveParams,classAlias=null}
| | +-[IDENT] IdentNode: '{synthetic-alias}' {originalText={synthetic-alias}}
| | \-[IDENT] IdentNode: 'serverName' {originalText=serverName}
| \-[SELECT_COLUMNS] SqlNode: ' as col_0_0_'
\-[FROM] FromClause: 'from' FromClause{level=1, fromElementCounter=1, fromElements=1, fromElementByClassAlias=[], fromElementByTableAlias=[saveparams0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]}
\-[FROM_FRAGMENT] FromElement: 'SaveParams saveparams0_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=null,role=null,tableName=SaveParams,tableAlias=saveparams0_,origin=null,columns={,className=chess.dao.SaveParams}}
21:19:28,804 DEBUG ErrorCounter:91 - throwQueryException() : no errors
21:19:28,818 DEBUG QueryTranslatorImpl:243 - HQL: select serverName from chess.dao.SaveParams
21:19:28,819 DEBUG QueryTranslatorImpl:244 - SQL: select saveparams0_.serverName as col_0_0_ from SaveParams saveparams0_
21:19:28,819 DEBUG ErrorCounter:91 - throwQueryException() : no errors
21:19:28,829 DEBUG AbstractBatcher:410 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
21:19:28,830 DEBUG SQL:111 - select saveparams0_.serverName as col_0_0_ from SaveParams saveparams0_
Hibernate: select saveparams0_.serverName as col_0_0_ from SaveParams saveparams0_
21:19:28,841 DEBUG AbstractBatcher:426 - about to open ResultSet (open ResultSets: 0, globally: 0)
21:19:28,841 DEBUG Loader:1322 - result row:
21:19:28,843 DEBUG Loader:1322 - result row:
21:19:28,844 DEBUG AbstractBatcher:433 - about to close ResultSet (open ResultSets: 1, globally: 1)
21:19:28,844 DEBUG AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
21:19:28,852 DEBUG StatefulPersistenceContext:893 - initializing non-lazy collections
21:19:28,853 DEBUG JDBCTransaction:130 - commit
21:19:28,854 DEBUG JDBCTransaction:143 - committed JDBC Connection
21:19:28,854 DEBUG ConnectionManager:427 - aggressively releasing JDBC connection
21:19:28,854 DEBUG ConnectionManager:464 - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
21:19:31,181 DEBUG SessionImpl:265 - opened session at timestamp: 13397879711
21:19:31,181 DEBUG JDBCTransaction:78 - begin
21:19:31,181 DEBUG ConnectionManager:444 - opening JDBC connection
21:19:31,182 DEBUG JDBCTransaction:83 - current autocommit status: false
21:19:31,183 DEBUG QueryTranslatorImpl:274 - parse() - HQL: from chess.dao.SaveParams where serverName = :sName
21:19:31,186 DEBUG AST:293 - --- HQL AST ---
\-[QUERY] Node: 'query'
+-[SELECT_FROM] Node: 'SELECT_FROM'
| \-[FROM] Node: 'from'
| \-[RANGE] Node: 'RANGE'
| \-[DOT] Node: '.'
| +-[DOT] Node: '.'
| | +-[IDENT] Node: 'chess'
| | \-[IDENT] Node: 'dao'
| \-[IDENT] Node: 'SaveParams'
\-[WHERE] Node: 'where'
\-[EQ] Node: '='
+-[IDENT] Node: 'serverName'
\-[COLON] Node: ':'
\-[IDENT] Node: 'sName'
21:19:31,186 DEBUG ErrorCounter:91 - throwQueryException() : no errors
21:19:31,187 DEBUG HqlSqlBaseWalker:111 - select << begin [level=1, statement=select]
21:19:31,187 DEBUG FromElement:157 - FromClause{level=1} : chess.dao.SaveParams (no alias) -> saveparams0_
21:19:31,189 DEBUG FromReferenceNode:74 - Resolved : {synthetic-alias} -> {synthetic-alias}
21:19:31,190 DEBUG DotNode:613 - getDataType() : serverName -> org.hibernate.type.StringType@201532fc
21:19:31,190 DEBUG FromReferenceNode:74 - Resolved : {synthetic-alias}.serverName -> saveparams0_.serverName
21:19:31,192 DEBUG HqlSqlBaseWalker:117 - select : finishing up [level=1, statement=select]
21:19:31,192 DEBUG HqlSqlWalker:625 - processQuery() : ( SELECT ( FromClause{level=1} SaveParams saveparams0_ ) ( where ( = ( saveparams0_.serverName {synthetic-alias} serverName ) ? ) ) )
21:19:31,194 DEBUG HqlSqlWalker:868 - Derived SELECT clause created.
21:19:31,194 DEBUG JoinProcessor:179 - Using FROM fragment [SaveParams saveparams0_]
21:19:31,194 DEBUG HqlSqlBaseWalker:123 - select >> end [level=1, statement=select]
21:19:31,196 DEBUG AST:260 - --- SQL AST ---
\-[SELECT] QueryNode: 'SELECT' querySpaces (SaveParams)
+-[SELECT_CLAUSE] SelectClause: '{derived select clause}'
| +-[SELECT_EXPR] SelectExpressionImpl: 'saveparams0_.serverName as serverName0_' {FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=null,role=null,tableName=SaveParams,tableAlias=saveparams0_,origin=null,columns={,className=chess.dao.SaveParams}}}
| \-[SQL_TOKEN] SqlFragment: 'saveparams0_.chat as chat0_, saveparams0_.namePlayer1 as namePlayer3_0_, saveparams0_.namePlayer2 as namePlayer4_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_, saveparams0_.time as time0_'
+-[FROM] FromClause: 'from' FromClause{level=1, fromElementCounter=1, fromElements=1, fromElementByClassAlias=[], fromElementByTableAlias=[saveparams0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]}
| \-[FROM_FRAGMENT] FromElement: 'SaveParams saveparams0_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=null,role=null,tableName=SaveParams,tableAlias=saveparams0_,origin=null,columns={,className=chess.dao.SaveParams}}
\-[WHERE] SqlNode: 'where'
\-[EQ] BinaryLogicOperatorNode: '='
+-[DOT] DotNode: 'saveparams0_.serverName' {propertyName=serverName,dereferenceType=ALL,propertyPath=serverName,path={synthetic-alias}.serverName,tableAlias=saveparams0_,className=chess.dao.SaveParams,classAlias=null}
| +-[IDENT] IdentNode: '{synthetic-alias}' {originalText={synthetic-alias}}
| \-[IDENT] IdentNode: 'serverName' {originalText=serverName}
\-[NAMED_PARAM] ParameterNode: '?' {name=sName, expectedType=org.hibernate.type.StringType@201532fc}
21:19:31,196 DEBUG ErrorCounter:91 - throwQueryException() : no errors
21:19:31,197 DEBUG QueryTranslatorImpl:243 - HQL: from chess.dao.SaveParams where serverName = :sName
21:19:31,197 DEBUG QueryTranslatorImpl:244 - SQL: select saveparams0_.serverName as serverName0_, saveparams0_.chat as chat0_, saveparams0_.namePlayer1 as namePlayer3_0_, saveparams0_.namePlayer2 as namePlayer4_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_, saveparams0_.time as time0_ from SaveParams saveparams0_ where saveparams0_.serverName=?
21:19:31,197 DEBUG ErrorCounter:91 - throwQueryException() : no errors
21:19:31,200 DEBUG AbstractBatcher:410 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
21:19:31,200 DEBUG SQL:111 - select saveparams0_.serverName as serverName0_, saveparams0_.chat as chat0_, saveparams0_.namePlayer1 as namePlayer3_0_, saveparams0_.namePlayer2 as namePlayer4_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_, saveparams0_.time as time0_ from SaveParams saveparams0_ where saveparams0_.serverName=?
Hibernate: select saveparams0_.serverName as serverName0_, saveparams0_.chat as chat0_, saveparams0_.namePlayer1 as namePlayer3_0_, saveparams0_.namePlayer2 as namePlayer4_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_, saveparams0_.time as time0_ from SaveParams saveparams0_ where saveparams0_.serverName=?
21:19:31,203 DEBUG AbstractBatcher:426 - about to open ResultSet (open ResultSets: 0, globally: 0)
21:19:31,211 DEBUG Loader:1322 - result row: EntityKey[chess.dao.SaveParams#rrr]
21:19:31,216 DEBUG AbstractBatcher:433 - about to close ResultSet (open ResultSets: 1, globally: 1)
21:19:31,216 DEBUG AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
21:19:31,217 DEBUG TwoPhaseLoad:130 - resolving associations for [chess.dao.SaveParams#rrr]
21:19:31,226 DEBUG TwoPhaseLoad:255 - done materializing entity [chess.dao.SaveParams#rrr]
21:19:31,226 DEBUG StatefulPersistenceContext:893 - initializing non-lazy collections
21:19:31,228 DEBUG Loader:2158 - loading collection: [chess.dao.SaveParams.moveHistoryPlayer1#rrr]
21:19:31,229 DEBUG AbstractBatcher:410 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
21:19:31,229 DEBUG SQL:111 - select movehistor0_.serverName as serverName0_0_, movehistor0_.moveHistoryPlayer1 as moveHist2_0_ from moveHistoryPlayer1 movehistor0_ where movehistor0_.serverName=?
Hibernate: select movehistor0_.serverName as serverName0_0_, movehistor0_.moveHistoryPlayer1 as moveHist2_0_ from moveHistoryPlayer1 movehistor0_ where movehistor0_.serverName=?
21:19:31,231 DEBUG AbstractBatcher:426 - about to open ResultSet (open ResultSets: 0, globally: 0)
21:19:31,231 DEBUG Loader:1203 - result set contains (possibly empty) collection: [chess.dao.SaveParams.moveHistoryPlayer1#rrr]
21:19:31,235 DEBUG Loader:1322 - result row:
21:19:31,235 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.moveHistoryPlayer1#rrr]
21:19:31,236 DEBUG Loader:1322 - result row:
21:19:31,236 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.moveHistoryPlayer1#rrr]
21:19:31,237 DEBUG Loader:1322 - result row:
21:19:31,237 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.moveHistoryPlayer1#rrr]
21:19:31,237 DEBUG Loader:1322 - result row:
21:19:31,238 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.moveHistoryPlayer1#rrr]
21:19:31,238 DEBUG AbstractBatcher:433 - about to close ResultSet (open ResultSets: 1, globally: 1)
21:19:31,239 DEBUG AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
21:19:31,239 DEBUG CollectionLoadContext:232 - 1 collections were found in result set for role: chess.dao.SaveParams.moveHistoryPlayer1
21:19:31,240 DEBUG CollectionLoadContext:275 - collection fully initialized: [chess.dao.SaveParams.moveHistoryPlayer1#rrr]
21:19:31,241 DEBUG CollectionLoadContext:241 - 1 collections initialized for role: chess.dao.SaveParams.moveHistoryPlayer1
21:19:31,241 DEBUG StatefulPersistenceContext:893 - initializing non-lazy collections
21:19:31,242 DEBUG Loader:2182 - done loading collection
21:19:31,242 DEBUG Loader:2158 - loading collection: [chess.dao.SaveParams.moveHistoryPlayer2#rrr]
21:19:31,242 DEBUG AbstractBatcher:410 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
21:19:31,243 DEBUG SQL:111 - select movehistor0_.serverName as serverName0_0_, movehistor0_.moveHistoryPlayer2 as moveHist2_0_ from moveHistoryPlayer2 movehistor0_ where movehistor0_.serverName=?
Hibernate: select movehistor0_.serverName as serverName0_0_, movehistor0_.moveHistoryPlayer2 as moveHist2_0_ from moveHistoryPlayer2 movehistor0_ where movehistor0_.serverName=?
21:19:31,246 DEBUG AbstractBatcher:426 - about to open ResultSet (open ResultSets: 0, globally: 0)
21:19:31,246 DEBUG Loader:1203 - result set contains (possibly empty) collection: [chess.dao.SaveParams.moveHistoryPlayer2#rrr]
21:19:31,247 DEBUG Loader:1322 - result row:
21:19:31,247 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.moveHistoryPlayer2#rrr]
21:19:31,248 DEBUG Loader:1322 - result row:
21:19:31,248 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.moveHistoryPlayer2#rrr]
21:19:31,248 DEBUG Loader:1322 - result row:
21:19:31,249 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.moveHistoryPlayer2#rrr]
21:19:31,249 DEBUG Loader:1322 - result row:
21:19:31,250 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.moveHistoryPlayer2#rrr]
21:19:31,250 DEBUG AbstractBatcher:433 - about to close ResultSet (open ResultSets: 1, globally: 1)
21:19:31,251 DEBUG AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
21:19:31,251 DEBUG CollectionLoadContext:232 - 1 collections were found in result set for role: chess.dao.SaveParams.moveHistoryPlayer2
21:19:31,252 DEBUG CollectionLoadContext:275 - collection fully initialized: [chess.dao.SaveParams.moveHistoryPlayer2#rrr]
21:19:31,252 DEBUG CollectionLoadContext:241 - 1 collections initialized for role: chess.dao.SaveParams.moveHistoryPlayer2
21:19:31,253 DEBUG StatefulPersistenceContext:893 - initializing non-lazy collections
21:19:31,253 DEBUG Loader:2182 - done loading collection
21:19:31,253 DEBUG Loader:2158 - loading collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,254 DEBUG AbstractBatcher:410 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
21:19:31,254 DEBUG SQL:111 - select boardmatri0_.serverName as serverName0_0_, boardmatri0_.boardMatrix as boardMat2_0_ from boardMatrix boardmatri0_ where boardmatri0_.serverName=?
Hibernate: select boardmatri0_.serverName as serverName0_0_, boardmatri0_.boardMatrix as boardMat2_0_ from boardMatrix boardmatri0_ where boardmatri0_.serverName=?
21:19:31,258 DEBUG AbstractBatcher:426 - about to open ResultSet (open ResultSets: 0, globally: 0)
21:19:31,259 DEBUG Loader:1203 - result set contains (possibly empty) collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,259 DEBUG Loader:1322 - result row:
21:19:31,260 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,260 DEBUG Loader:1322 - result row:
21:19:31,261 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,261 DEBUG Loader:1322 - result row:
21:19:31,261 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,262 DEBUG Loader:1322 - result row:
21:19:31,262 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,263 DEBUG Loader:1322 - result row:
21:19:31,263 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,264 DEBUG Loader:1322 - result row:
21:19:31,264 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,264 DEBUG Loader:1322 - result row:
21:19:31,265 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,265 DEBUG Loader:1322 - result row:
21:19:31,266 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,266 DEBUG Loader:1322 - result row:
21:19:31,266 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,267 DEBUG Loader:1322 - result row:
21:19:31,267 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,268 DEBUG Loader:1322 - result row:
21:19:31,268 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,268 DEBUG Loader:1322 - result row:
21:19:31,269 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,269 DEBUG Loader:1322 - result row:
21:19:31,270 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,270 DEBUG Loader:1322 - result row:
21:19:31,270 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,271 DEBUG Loader:1322 - result row:
21:19:31,271 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,272 DEBUG Loader:1322 - result row:
21:19:31,272 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,272 DEBUG Loader:1322 - result row:
21:19:31,272 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,273 DEBUG Loader:1322 - result row:
21:19:31,273 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,274 DEBUG Loader:1322 - result row:
21:19:31,274 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,274 DEBUG Loader:1322 - result row:
21:19:31,274 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,274 DEBUG Loader:1322 - result row:
21:19:31,275 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,275 DEBUG Loader:1322 - result row:
21:19:31,275 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,275 DEBUG Loader:1322 - result row:
21:19:31,276 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,276 DEBUG Loader:1322 - result row:
21:19:31,276 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,277 DEBUG Loader:1322 - result row:
21:19:31,277 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,277 DEBUG Loader:1322 - result row:
21:19:31,278 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,278 DEBUG Loader:1322 - result row:
21:19:31,278 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,279 DEBUG Loader:1322 - result row:
21:19:31,279 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,279 DEBUG Loader:1322 - result row:
21:19:31,280 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,280 DEBUG Loader:1322 - result row:
21:19:31,280 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,281 DEBUG Loader:1322 - result row:
21:19:31,281 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,282 DEBUG Loader:1322 - result row:
21:19:31,282 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,282 DEBUG Loader:1322 - result row:
21:19:31,283 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,283 DEBUG Loader:1322 - result row:
21:19:31,283 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,284 DEBUG Loader:1322 - result row:
21:19:31,284 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,284 DEBUG Loader:1322 - result row:
21:19:31,285 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,285 DEBUG Loader:1322 - result row:
21:19:31,286 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,286 DEBUG Loader:1322 - result row:
21:19:31,286 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,287 DEBUG Loader:1322 - result row:
21:19:31,287 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,287 DEBUG Loader:1322 - result row:
21:19:31,288 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,288 DEBUG Loader:1322 - result row:
21:19:31,289 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,289 DEBUG Loader:1322 - result row:
21:19:31,289 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,290 DEBUG Loader:1322 - result row:
21:19:31,290 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,291 DEBUG Loader:1322 - result row:
21:19:31,291 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,291 DEBUG Loader:1322 - result row:
21:19:31,292 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,292 DEBUG Loader:1322 - result row:
21:19:31,293 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,293 DEBUG Loader:1322 - result row:
21:19:31,293 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,294 DEBUG Loader:1322 - result row:
21:19:31,294 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,295 DEBUG Loader:1322 - result row:
21:19:31,295 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,295 DEBUG Loader:1322 - result row:
21:19:31,296 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,296 DEBUG Loader:1322 - result row:
21:19:31,297 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,297 DEBUG Loader:1322 - result row:
21:19:31,297 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,298 DEBUG Loader:1322 - result row:
21:19:31,298 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,299 DEBUG Loader:1322 - result row:
21:19:31,299 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,299 DEBUG Loader:1322 - result row:
21:19:31,300 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,300 DEBUG Loader:1322 - result row:
21:19:31,301 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,301 DEBUG Loader:1322 - result row:
21:19:31,310 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,311 DEBUG Loader:1322 - result row:
21:19:31,312 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,312 DEBUG Loader:1322 - result row:
21:19:31,313 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,313 DEBUG Loader:1322 - result row:
21:19:31,314 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,314 DEBUG Loader:1322 - result row:
21:19:31,315 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,315 DEBUG Loader:1322 - result row:
21:19:31,316 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,316 DEBUG Loader:1322 - result row:
21:19:31,317 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,317 DEBUG Loader:1322 - result row:
21:19:31,317 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,318 DEBUG Loader:1322 - result row:
21:19:31,318 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,319 DEBUG Loader:1322 - result row:
21:19:31,319 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,320 DEBUG Loader:1322 - result row:
21:19:31,320 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,321 DEBUG Loader:1322 - result row:
21:19:31,321 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,322 DEBUG Loader:1322 - result row:
21:19:31,322 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,322 DEBUG Loader:1322 - result row:
21:19:31,323 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,323 DEBUG Loader:1322 - result row:
21:19:31,324 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,324 DEBUG Loader:1322 - result row:
21:19:31,324 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,325 DEBUG Loader:1322 - result row:
21:19:31,325 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,326 DEBUG Loader:1322 - result row:
21:19:31,326 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,326 DEBUG Loader:1322 - result row:
21:19:31,327 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,327 DEBUG Loader:1322 - result row:
21:19:31,328 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,328 DEBUG Loader:1322 - result row:
21:19:31,329 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,329 DEBUG Loader:1322 - result row:
21:19:31,329 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,330 DEBUG Loader:1322 - result row:
21:19:31,330 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,331 DEBUG Loader:1322 - result row:
21:19:31,331 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,331 DEBUG Loader:1322 - result row:
21:19:31,332 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,332 DEBUG Loader:1322 - result row:
21:19:31,332 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,333 DEBUG Loader:1322 - result row:
21:19:31,333 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,333 DEBUG Loader:1322 - result row:
21:19:31,334 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,334 DEBUG Loader:1322 - result row:
21:19:31,334 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,335 DEBUG Loader:1322 - result row:
21:19:31,335 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,335 DEBUG Loader:1322 - result row:
21:19:31,336 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,336 DEBUG Loader:1322 - result row:
21:19:31,336 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,342 DEBUG Loader:1322 - result row:
21:19:31,342 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,342 DEBUG Loader:1322 - result row:
21:19:31,343 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,343 DEBUG Loader:1322 - result row:
21:19:31,344 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,344 DEBUG Loader:1322 - result row:
21:19:31,344 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,345 DEBUG Loader:1322 - result row:
21:19:31,345 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,346 DEBUG Loader:1322 - result row:
21:19:31,346 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,346 DEBUG Loader:1322 - result row:
21:19:31,347 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,347 DEBUG Loader:1322 - result row:
21:19:31,347 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,347 DEBUG Loader:1322 - result row:
21:19:31,348 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,348 DEBUG Loader:1322 - result row:
21:19:31,348 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,349 DEBUG Loader:1322 - result row:
21:19:31,349 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,349 DEBUG Loader:1322 - result row:
21:19:31,349 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,350 DEBUG Loader:1322 - result row:
21:19:31,350 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,350 DEBUG Loader:1322 - result row:
21:19:31,350 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,351 DEBUG Loader:1322 - result row:
21:19:31,351 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,351 DEBUG Loader:1322 - result row:
21:19:31,351 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,352 DEBUG Loader:1322 - result row:
21:19:31,352 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,352 DEBUG Loader:1322 - result row:
21:19:31,352 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,353 DEBUG Loader:1322 - result row:
21:19:31,353 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,353 DEBUG Loader:1322 - result row:
21:19:31,353 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,354 DEBUG Loader:1322 - result row:
21:19:31,354 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,354 DEBUG Loader:1322 - result row:
21:19:31,355 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,355 DEBUG Loader:1322 - result row:
21:19:31,355 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,355 DEBUG Loader:1322 - result row:
21:19:31,355 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,356 DEBUG Loader:1322 - result row:
21:19:31,356 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,356 DEBUG Loader:1322 - result row:
21:19:31,356 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,357 DEBUG Loader:1322 - result row:
21:19:31,357 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,357 DEBUG Loader:1322 - result row:
21:19:31,358 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,358 DEBUG Loader:1322 - result row:
21:19:31,358 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,358 DEBUG Loader:1322 - result row:
21:19:31,358 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,359 DEBUG Loader:1322 - result row:
21:19:31,359 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,359 DEBUG Loader:1322 - result row:
21:19:31,359 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,360 DEBUG Loader:1322 - result row:
21:19:31,360 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,360 DEBUG Loader:1322 - result row:
21:19:31,360 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,361 DEBUG Loader:1322 - result row:
21:19:31,361 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,361 DEBUG Loader:1322 - result row:
21:19:31,361 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,362 DEBUG Loader:1322 - result row:
21:19:31,362 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,362 DEBUG Loader:1322 - result row:
21:19:31,362 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,363 DEBUG Loader:1322 - result row:
21:19:31,363 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,363 DEBUG Loader:1322 - result row:
21:19:31,363 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,364 DEBUG Loader:1322 - result row:
21:19:31,364 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,364 DEBUG Loader:1322 - result row:
21:19:31,364 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,365 DEBUG Loader:1322 - result row:
21:19:31,365 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,365 DEBUG Loader:1322 - result row:
21:19:31,365 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,366 DEBUG Loader:1322 - result row:
21:19:31,366 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,366 DEBUG Loader:1322 - result row:
21:19:31,366 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,367 DEBUG Loader:1322 - result row:
21:19:31,367 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,367 DEBUG Loader:1322 - result row:
21:19:31,367 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,368 DEBUG Loader:1322 - result row:
21:19:31,368 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,368 DEBUG Loader:1322 - result row:
21:19:31,369 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,369 DEBUG Loader:1322 - result row:
21:19:31,370 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,370 DEBUG Loader:1322 - result row:
21:19:31,370 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,371 DEBUG Loader:1322 - result row:
21:19:31,371 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,371 DEBUG Loader:1322 - result row:
21:19:31,372 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,372 DEBUG Loader:1322 - result row:
21:19:31,372 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,373 DEBUG Loader:1322 - result row:
21:19:31,373 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,374 DEBUG AbstractBatcher:433 - about to close ResultSet (open ResultSets: 1, globally: 1)
21:19:31,374 DEBUG AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
21:19:31,375 DEBUG CollectionLoadContext:232 - 1 collections were found in result set for role: chess.dao.SaveParams.boardMatrix
21:19:31,375 DEBUG CollectionLoadContext:275 - collection fully initialized: [chess.dao.SaveParams.boardMatrix#rrr]
21:19:31,376 DEBUG CollectionLoadContext:241 - 1 collections initialized for role: chess.dao.SaveParams.boardMatrix
21:19:31,376 DEBUG StatefulPersistenceContext:893 - initializing non-lazy collections
21:19:31,376 DEBUG Loader:2182 - done loading collection
21:19:31,376 DEBUG Loader:2158 - loading collection: [chess.dao.SaveParams.downPiecesList#rrr]
21:19:31,377 DEBUG AbstractBatcher:410 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
21:19:31,377 DEBUG SQL:111 - select downpieces0_.serverName as serverName0_0_, downpieces0_.downPiecesList as downPiec2_0_ from downPiecesList downpieces0_ where downpieces0_.serverName=?
Hibernate: select downpieces0_.serverName as serverName0_0_, downpieces0_.downPiecesList as downPiec2_0_ from downPiecesList downpieces0_ where downpieces0_.serverName=?
21:19:31,378 DEBUG AbstractBatcher:426 - about to open ResultSet (open ResultSets: 0, globally: 0)
21:19:31,378 DEBUG Loader:1203 - result set contains (possibly empty) collection: [chess.dao.SaveParams.downPiecesList#rrr]
21:19:31,378 DEBUG Loader:1322 - result row:
21:19:31,379 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.downPiecesList#rrr]
21:19:31,379 DEBUG Loader:1322 - result row:
21:19:31,379 DEBUG Loader:1133 - found row of collection: [chess.dao.SaveParams.downPiecesList#rrr]
21:19:31,379 DEBUG AbstractBatcher:433 - about to close ResultSet (open ResultSets: 1, globally: 1)
21:19:31,379 DEBUG AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
21:19:31,380 DEBUG CollectionLoadContext:232 - 1 collections were found in result set for role: chess.dao.SaveParams.downPiecesList
21:19:31,380 DEBUG CollectionLoadContext:275 - collection fully initialized: [chess.dao.SaveParams.downPiecesList#rrr]
21:19:31,380 DEBUG CollectionLoadContext:241 - 1 collections initialized for role: chess.dao.SaveParams.downPiecesList
21:19:31,380 DEBUG StatefulPersistenceContext:893 - initializing non-lazy collections
21:19:31,380 DEBUG Loader:2182 - done loading collection
21:19:31,381 DEBUG JDBCTransaction:130 - commit
21:19:31,381 DEBUG AbstractFlushingEventListener:134 - processing flush-time cascades
21:19:31,383 DEBUG AbstractFlushingEventListener:177 - dirty checking collections
21:19:31,388 DEBUG Collections:198 - Collection found: [chess.dao.SaveParams.boardMatrix#rrr], was: [chess.dao.SaveParams.boardMatrix#rrr] (initialized)
21:19:31,388 DEBUG Collections:198 - Collection found: [chess.dao.SaveParams.downPiecesList#rrr], was: [chess.dao.SaveParams.downPiecesList#rrr] (initialized)
21:19:31,389 DEBUG Collections:198 - Collection found: [chess.dao.SaveParams.moveHistoryPlayer1#rrr], was: [chess.dao.SaveParams.moveHistoryPlayer1#rrr] (initialized)
21:19:31,389 DEBUG Collections:198 - Collection found: [chess.dao.SaveParams.moveHistoryPlayer2#rrr], was: [chess.dao.SaveParams.moveHistoryPlayer2#rrr] (initialized)
21:19:31,389 DEBUG AbstractFlushingEventListener:108 - Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
21:19:31,389 DEBUG AbstractFlushingEventListener:114 - Flushed: 0 (re)creations, 0 updates, 0 removals to 4 collections
21:19:31,390 DEBUG Printer:106 - listing entities:
21:19:31,391 DEBUG Printer:113 - chess.dao.SaveParams{downPiecesList=[./lib/images/ChessFigurPack/pawnBlack.png, ./lib/images/ChessFigurPack/pawnWhite.png], boardMatrix=[-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 22, 23, 24, 25, 26, 24, 0, 22, -1, -1, -1, -1, 21, 21, 21, 21, 21, 0, 21, 13, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1, 0, 0, 0, 0, 0, 21, 0, 0, -1, -1, -1, -1, 0, 0, 0, 0, 0, 11, 0, 0, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1, -1, 11, 11, 11, 23, 11, 0, 11, 11, -1, -1, -1, -1, 12, 13, 14, 15, 16, 14, 0, 12, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1], time=21000, moveHistoryPlayer2=[1 :: p: f7 - f5, 2 :: k: g8 - f6, 3 :: k: f6 - e4, 4 :: k: e4 - d2], moveHistoryPlayer1=[1 :: p: f2 - f4, 2 :: k: g1 - f3, 3 :: k: f3 - g5, 4 :: k: g5 - h7], chat=, namePlayer1=r1, serverName=rrr, piecesColorPlayer2=Black, piecesColorPlayer1=White, namePlayer2=dsfd}
21:19:31,392 DEBUG JDBCTransaction:143 - committed JDBC Connection
21:19:31,392 DEBUG ConnectionManager:427 - aggressively releasing JDBC connection
21:19:31,393 DEBUG ConnectionManager:464 - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
0
1
2
3
4
5
6
ChessBoardController
21:19:51,293 DEBUG SessionImpl:265 - opened session at timestamp: 13397879912
21:19:51,293 DEBUG JDBCTransaction:78 - begin
21:19:51,293 DEBUG ConnectionManager:444 - opening JDBC connection
21:19:51,293 DEBUG JDBCTransaction:83 - current autocommit status: false
21:19:51,294 DEBUG AbstractBatcher:410 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
21:19:51,294 DEBUG SQL:111 - select saveparams0_.serverName as serverName0_, saveparams0_.chat as chat0_, saveparams0_.namePlayer1 as namePlayer3_0_, saveparams0_.namePlayer2 as namePlayer4_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_, saveparams0_.time as time0_ from SaveParams saveparams0_ where saveparams0_.serverName=?
Hibernate: select saveparams0_.serverName as serverName0_, saveparams0_.chat as chat0_, saveparams0_.namePlayer1 as namePlayer3_0_, saveparams0_.namePlayer2 as namePlayer4_0_, saveparams0_.piecesColorPlayer1 as piecesCo5_0_, saveparams0_.piecesColorPlayer2 as piecesCo6_0_, saveparams0_.time as time0_ from SaveParams saveparams0_ where saveparams0_.serverName=?
21:19:51,295 DEBUG AbstractBatcher:426 - about to open ResultSet (open ResultSets: 0, globally: 0)
21:19:51,296 DEBUG Loader:1322 - result row: EntityKey[chess.dao.SaveParams#rrr]
21:19:51,296 DEBUG AbstractBatcher:433 - about to close ResultSet (open ResultSets: 1, globally: 1)
21:19:51,296 DEBUG AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
21:19:51,296 DEBUG TwoPhaseLoad:130 - resolving associations for [chess.dao.SaveParams#rrr]
21:19:51,297 DEBUG TwoPhaseLoad:255 - done materializing entity [chess.dao.SaveParams#rrr]
21:19:51,297 DEBUG StatefulPersistenceContext:893 - initializing non-lazy collections
21:19:51,308 DEBUG AbstractFlushingEventListener:134 - processing flush-time cascades
21:19:51,308 DEBUG AbstractFlushingEventListener:177 - dirty checking collections
21:19:51,309 DEBUG Collections:198 - Collection found: [chess.dao.SaveParams.boardMatrix#rrr], was: [chess.dao.SaveParams.boardMatrix#rrr] (uninitialized)
21:19:51,309 DEBUG Collections:198 - Collection found: [chess.dao.SaveParams.downPiecesList#rrr], was: [chess.dao.SaveParams.downPiecesList#rrr] (uninitialized)
21:19:51,309 DEBUG Collections:198 - Collection found: [chess.dao.SaveParams.moveHistoryPlayer1#rrr], was: [chess.dao.SaveParams.moveHistoryPlayer1#rrr] (uninitialized)
21:19:51,309 DEBUG Collections:198 - Collection found: [chess.dao.SaveParams.moveHistoryPlayer2#rrr], was: [chess.dao.SaveParams.moveHistoryPlayer2#rrr] (uninitialized)
21:19:51,309 DEBUG AbstractFlushingEventListener:108 - Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
21:19:51,317 DEBUG AbstractFlushingEventListener:114 - Flushed: 0 (re)creations, 0 updates, 0 removals to 4 collections
21:19:51,317 DEBUG Printer:106 - listing entities:
21:19:51,317 DEBUG Printer:113 - chess.dao.SaveParams{downPiecesList=<uninitialized>, boardMatrix=<uninitialized>, time=21000, moveHistoryPlayer2=<uninitialized>, moveHistoryPlayer1=<uninitialized>, chat=, namePlayer1=r1, serverName=rrr, piecesColorPlayer2=Black, piecesColorPlayer1=White, namePlayer2=dsfd}
21:19:51,319 DEBUG AbstractBatcher:410 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
21:19:51,319 DEBUG SQL:111 - update SaveParams set serverName = ?
Hibernate: update SaveParams set serverName = ?
21:19:51,320 DEBUG NativeSQLQueryPlan:159 - bindNamedParameters() rrr -> sName [1]
21:19:51,321 DEBUG AbstractBatcher:418 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
21:19:51,323 DEBUG JDBCExceptionReporter:225 - could not execute native bulk manipulation query [update SaveParams set serverName = :sName ]
java.sql.SQLException: Cannot delete or update a parent row: a foreign key constraint fails (`chessdb/boardmatrix`, CONSTRAINT `FK8E7A2E4759A95E5B` FOREIGN KEY (`serverName`) REFERENCES `saveparams` (`serverName`))
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1129)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:681)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1368)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1283)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1268)
at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:210)
at org.hibernate.impl.SessionImpl.executeNativeUpdate(SessionImpl.java:1310)
at org.hibernate.impl.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:396)
at chess.dao.ChessDao.saveGame(ChessDao.java:38)
at chess.network.ChessGUINetwork_Controller.actionPerformed(ChessGUINetwork_Controller.java:67)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6290)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6055)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4653)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2482)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:607)
at java.awt.EventQueue$1.run(EventQueue.java:605)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:621)
at java.awt.EventQueue$2.run(EventQueue.java:619)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
21:19:51,324 WARN JDBCExceptionReporter:233 - SQL Error: 1451, SQLState: 23000
21:19:51,324 ERROR JDBCExceptionReporter:234 - Cannot delete or update a parent row: a foreign key constraint fails (`chessdb/boardmatrix`, CONSTRAINT `FK8E7A2E4759A95E5B` FOREIGN KEY (`serverName`) REFERENCES `saveparams` (`serverName`))
Exception in thread "AWT-EventQueue-0" org.hibernate.exception.ConstraintViolationException: could not execute native bulk manipulation query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:219)
at org.hibernate.impl.SessionImpl.executeNativeUpdate(SessionImpl.java:1310)
at org.hibernate.impl.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:396)
at chess.dao.ChessDao.saveGame(ChessDao.java:38)
at chess.network.ChessGUINetwork_Controller.actionPerformed(ChessGUINetwork_Controller.java:67)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6290)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6055)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4653)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2482)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:607)
at java.awt.EventQueue$1.run(EventQueue.java:605)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:621)
at java.awt.EventQueue$2.run(EventQueue.java:619)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.sql.SQLException: Cannot delete or update a parent row: a foreign key constraint fails (`chessdb/boardmatrix`, CONSTRAINT `FK8E7A2E4759A95E5B` FOREIGN KEY (`serverName`) REFERENCES `saveparams` (`serverName`))
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1129)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:681)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1368)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1283)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1268)
at org.hibernate.engine.query.NativeSQLQueryPlan.performExecuteUpdate(NativeSQLQueryPlan.java:210)
... 40 more
|