Code:
08:39:17,382 DEBUG DataSourceUtils:106 - Opening JDBC Connection
08:39:17,385 DEBUG Connection:42 - {conn-100030} Connection
08:39:17,390 DEBUG PreparedStatement:48 - {pstm-100031} PreparedStatement: select * from application_role where id = ?
08:39:17,392 DEBUG PreparedStatement:49 - {pstm-100031} Parameters: [1]
08:39:17,394 DEBUG PreparedStatement:50 - {pstm-100031} Types: [java.lang.Long]
08:39:17,400 DEBUG ResultSet:41 - {rset-100032} ResultSet
08:39:17,403 DEBUG ResultSet:61 - {rset-100032} Header: [id, role_name, description]
08:39:17,405 DEBUG ResultSet:65 - {rset-100032} Result: [1, admin, Amministrazione]
08:39:17,408 DEBUG DataSourceUtils:271 - Closing JDBC Connection
08:39:17,411 DEBUG DataSourceUtils:106 - Opening JDBC Connection
08:39:17,414 DEBUG Connection:42 - {conn-100033} Connection
08:39:17,421 DEBUG PreparedStatement:48 - {pstm-100034} PreparedStatement: select * from application_group where id = ?
08:39:17,424 DEBUG PreparedStatement:49 - {pstm-100034} Parameters: [1]
08:39:17,426 DEBUG PreparedStatement:50 - {pstm-100034} Types: [java.lang.Long]
08:39:17,430 DEBUG ResultSet:41 - {rset-100035} ResultSet
08:39:17,433 DEBUG ResultSet:61 - {rset-100035} Header: [id, description]
08:39:17,435 DEBUG ResultSet:65 - {rset-100035} Result: [1, Agenti]
08:39:17,438 DEBUG DataSourceUtils:271 - Closing JDBC Connection
08:39:17,499 DEBUG DataSourceUtils:106 - Opening JDBC Connection
08:39:17,501 DEBUG Connection:42 - {conn-100036} Connection
08:39:17,508 DEBUG PreparedStatement:48 - {pstm-100037} PreparedStatement: select * from agent where id = ?
08:39:17,510 DEBUG PreparedStatement:49 - {pstm-100037} Parameters: [14]
08:39:17,512 DEBUG PreparedStatement:50 - {pstm-100037} Types: [java.lang.Long]
08:39:17,518 DEBUG ResultSet:41 - {rset-100038} ResultSet
08:39:17,521 DEBUG ResultSet:61 - {rset-100038} Header: [id, code, description, id, id, id]
08:39:17,523 DEBUG ResultSet:65 - {rset-100038} Result: [14, 34, XXXX YYYY, 14, 14, 14]
08:39:17,526 DEBUG DataSourceUtils:271 - Closing JDBC Connection
08:39:17,530 DEBUG DataSourceUtils:106 - Opening JDBC Connection
08:39:17,532 DEBUG Connection:42 - {conn-100039} Connection
08:39:17,538 DEBUG PreparedStatement:48 - {pstm-100040} PreparedStatement: select * from customer where id = ?
08:39:17,541 DEBUG PreparedStatement:49 - {pstm-100040} Parameters: [0]
08:39:17,543 DEBUG PreparedStatement:50 - {pstm-100040} Types: [java.lang.Long]
08:39:17,553 DEBUG ResultSet:41 - {rset-100041} ResultSet
08:39:17,601 DEBUG ResultSet:61 - {rset-100041} Header: [id, code, description_1, description_2, address, city, zip_code, address, state, country, phone, fax, address, email, web_site, vat_number, fiscal_code, abi, abi_description, cab, cab_description, discount_class_code, price_list_code, status, locked, port_id, vector_id, default_destination_id, payment_id, agent_id, id, id, id]
08:39:17,603 DEBUG ResultSet:65 - {rset-100041} Result: [0, 0, , , , , , , , , , , , , , , , 0, , 0, , 0, 0, , 0, 0, 0, null, 0, 0, 0, 0, 0]
08:39:17,606 DEBUG DataSourceUtils:271 - Closing JDBC Connection
08:39:17,610 DEBUG DataSourceUtils:106 - Opening JDBC Connection
08:39:17,612 DEBUG Connection:42 - {conn-100042} Connection
08:39:17,618 DEBUG PreparedStatement:48 - {pstm-100043} PreparedStatement: update application_user set id = ?, user_name = ?, pwd = ?, first_name = ?, last_name = ?, email = ?, status = ?, customer_id = ?, agent_id = ? where id = ?
08:39:17,621 DEBUG PreparedStatement:49 - {pstm-100043} Parameters: [7, tex, , Gianluca 11, Tessarolo 11, tex@_xx__nospam_xx__ting.it, , 0, 14, 7]
08:39:17,623 DEBUG PreparedStatement:50 - {pstm-100043} Types: [java.lang.Long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Long, java.lang.Long, java.lang.Long]
08:39:17,635 DEBUG DataSourceUtils:271 - Closing JDBC Connection
08:39:17,638 DEBUG DataSourceUtils:106 - Opening JDBC Connection
08:39:17,647 DEBUG Connection:42 - {conn-100044} Connection
08:39:17,655 DEBUG PreparedStatement:48 - {pstm-100045} PreparedStatement: delete from application_user_role where user_id = ?
08:39:17,657 DEBUG PreparedStatement:49 - {pstm-100045} Parameters: [7]
08:39:17,696 DEBUG PreparedStatement:50 - {pstm-100045} Types: [java.lang.Long]
08:39:17,701 DEBUG DataSourceUtils:271 - Closing JDBC Connection
08:39:17,704 DEBUG DataSourceUtils:106 - Opening JDBC Connection
08:39:17,706 DEBUG Connection:42 - {conn-100046} Connection
08:39:17,712 DEBUG PreparedStatement:48 - {pstm-100047} PreparedStatement: select gen_id(gen_application_user_role,1) from rdb$database
08:39:17,714 DEBUG PreparedStatement:49 - {pstm-100047} Parameters: []
08:39:17,717 DEBUG PreparedStatement:50 - {pstm-100047} Types: []
08:39:17,721 DEBUG ResultSet:41 - {rset-100048} ResultSet
08:39:17,724 DEBUG ResultSet:61 - {rset-100048} Header: [GEN_ID]
08:39:17,726 DEBUG ResultSet:65 - {rset-100048} Result: [150]
08:39:17,745 DEBUG PreparedStatement:48 - {pstm-100049} PreparedStatement: insert into application_user_role ( id, user_id, role_id ) values ( ?, ?, ? )
08:39:17,748 DEBUG PreparedStatement:49 - {pstm-100049} Parameters: [150, 7, 10000]
08:39:17,750 DEBUG PreparedStatement:50 - {pstm-100049} Types: [java.lang.Long, java.lang.Long, java.lang.Long]
08:39:17,756 DEBUG DataSourceUtils:271 - Closing JDBC Connection
08:39:17,759 WARN UserManagerImpl:78 - User not updated, probably due to referential constraints...:
--- The error occurred in cmg/orders/maps/ApplicationRole.xml.
--- The error occurred while applying a parameter map.
--- Check the ApplicationRole.insertUserRole-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544466. violation of FOREIGN KEY constraint "APPL_USER_ROLE_ROLE_FK" on table "APPLICATION_USER_ROLE"
What's wrong ?