Skip to content

Instantly share code, notes, and snippets.

View pshishkanov's full-sized avatar

Pavel Shishkanov pshishkanov

View GitHub Profile

Keybase proof

I hereby claim:

  • I am pshishkanov on github.
  • I am pshishkanov (https://keybase.io/pshishkanov) on keybase.
  • I have a public key whose fingerprint is 8764 E50A 1D05 F710 61FA 205A CFA0 712A E29E 7942

To claim this, I am signing this object:

org.springframework.orm.hibernate3.HibernateSystemException: Illegal attempt to associate a collection with two open sessions; nested exception is org.hibernate.HibernateException: Illegal attempt to associate a collection with two open sessions
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:679)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
at org.springframework.orm.hibernate3.HibernateTemplate.saveOrUpdate(HibernateTemplate.java:737)
at ru.cinimex.nrd.dao.impl.AArchiveDocumentDao.updateDocument(AArchiveDocumentDao.java:154)
at ru.cinimex.nrd.dao.impl.AArchiveDocumentDao.updateDocument(AArchiveDocumentDao.java:159)
at ru.cinimex.nrd.manager.impl.ArchiveDocumentMana
update dim_import.rbr_repo_imp
set import_status = 2
where import_status = -1;
update dim_import.rbr_irswap_mm_imp
set import_status = 2
where import_status = -1;
update dim_import.rbr_irswap_mb_imp
set import_status = 2
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<!-- Generated 11.06.2009 17:47:28 by Hibernate Tools 3.2.2.GA -->
<hibernate-mapping>
<class name="ru.cinimex.nrd.hibernate.Holiday" table="holiday">
<comment>Праздничные дни</comment>
<id name="id" type="integer" column="holiday_id" >
<generator class="identity" />
</id>
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<nonpublicExecutionReportAcknowledgement xmlns="http://www.fpml.org/FpML-5/recordkeeping" xmlns:fpmlext="http://www.fpml.org/FpML-5/ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:nsdext="http://www.fpml.org/FpML-5/recordkeeping/nsd-ext" fpmlVersion="5-4" xsi:schemaLocation="http://www.fpml.org/FpML-5/recordkeeping fpml-recordkeeping-merged-schema.xsd http://www.fpml.org/FpML-5/recordkeeping/nsd-ext nsd-ext-merged-schema.xsd">
<header>
<messageId messageIdScheme="http://repository.nsd.ru/coding-scheme/messageid(nsdrus)">MSG-1445419002266</messageId>
<inReplyTo messageIdScheme="http://repository.nsd.ru/coding-scheme/messageid(nsdrus)">R940276</inReplyTo>
<sentBy>VR0CINIMEX01</sentBy>
<sendTo>NDC000000000</sendTo>
<creationTimestamp>2015-10-22T04:59:29</creationTimestamp>
<implementationSpecification>
<version>3.7</version>
{
"SENTTO":"NDC000000000",
"MESSAGEID":"MSG-1445498076684",
"AMENDMENT":"false",
"CREATIONTIMESTAMP":"2015-10-22T10:32:21",
"TABLE_PARTY":[
{
"TABLE_PARTY_CLASSIFICATION":[
{
"PARTY_CLASSIFICATION":"Other"
&lt;nsdext:transfersAndExecutionDetails&gt;
&lt;nsdext:creditSupportInformation&gt;
&lt;nsdext:creditSupportInformation&gt;
&lt;nsdext:reportReferences&gt;
&lt;nsdext:masterAgreementId&gt;MA0000103811&lt;/nsdext:masterAgreementId&gt;
&lt;/nsdext:reportReferences&gt;
&lt;nsdext:valuationDate&gt;2024-11-27&lt;/nsdext:valuationDate&gt;
&lt;nsdext:creditSupportAmount&gt;
&lt;nsdext:transferorReference href=&quot;Party1&quot;/&gt;
<nsdext:transfersAndExecutionDetails>
<nsdext:creditSupportInformation>
<nsdext:creditSupportInformation>
<nsdext:reportReferences>
<nsdext:masterAgreementId>MA0000103811</nsdext:masterAgreementId>
</nsdext:reportReferences>
<nsdext:valuationDate>2024-11-27</nsdext:valuationDate>
<nsdext:creditSupportAmount>
<nsdext:transferorReference href="Party1"/>
<xsd:choice>
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Выбор дат валютирования.</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">A choice of the value dates.</xsd:documentation>
<xsd:documentation source="stdc" xml:lang="ru">Выбор между единой и различными датами валютирования для двух валют транзакции.</xsd:documentation>
<xsd:documentation source="stdc" xml:lang="en">A choice between a single value date and two different value dates for the currencies of the FX transaction.</xsd:documentation>
</xsd:annotation>
<xsd:element name="valueDate" type="xsd:date">
<xsd:annotation>
<xsd:appinfo source="mre">1</xsd:appinfo>
declare
function_id int;
deleted_function_id int;
deleted_function_id_cursor sys_refcursor;
begin
select ID
into function_id
from APP_FUNCTION_TEST