title: Cannot fetch @Any related entity due to LazyInitializationException
body: <p>Could anyone help me how to deal with <code>@Any</code> relationship?</p>
  
  <p>I have an interface <code>InteractionParticipate</code> which is implemented by everyone who wants to take a part in some kind of messaging interaction. A message is represented by <code>InteractionMessage</code> which has a transmitter and a receiver. Since we don't know which entity implementing <code>InteractionParticipate</code> will be the receiver (or transmitter) of the message we have to use <code>@Any</code> relationship.</p>
  
  <p>I have read <a href="https://stackoverflow.com/questions/217831/how-to-use-hibernate-any-related-annotations">this one</a> which inspired me and wrote in <code>InteractionMessage</code> something like that:</p>
  
  <pre><code>@Any(metaColumn = @Column(name = "Transmitter_Type"))
  @AnyMetaDef(
          idType = "long",
          metaType = "string",
          metaValues = {
                  @MetaValue(value = "Applicant", targetEntity = Applicant.class),
                  @MetaValue(value = "Vacancy", targetEntity = Vacancy.class)
          })
  @JoinColumn(name = "Transmitter_Id")
  @LazyToOne(LazyToOneOption.FALSE)
  private InteractionParticipate transmitter;
  
  @Any(metaColumn = @Column(name = "Receiver_Type"))
  @AnyMetaDef(idType = "long", metaType = "string",
          metaValues = {
                  @MetaValue(targetEntity = Applicant.class, value = "Applicant"),
                  @MetaValue(targetEntity = Vacancy.class, value = "Vacancy")
          })
  @JoinColumn(name = "Receiver_Id")
  @LazyToOne(LazyToOneOption.FALSE)
  private InteractionParticipate receiver;
  </code></pre>
  
  <p>Database is created well and I can see entities save correctly. But when I try to get an <code>InteractionMessage</code> from database</p>
  
  <pre>InteractionMessage message = (InteractionMessage) session.get(InteractionMessage.class, id);</pre>
  
  <p>I face I cannot get neither <code>receiver</code> nor <code>transmitter</code> because <strong>Method threw 'org.hibernate.LazyInitializationException' exception. Cannot evaluate ... Vacancy_$$_javassist_49.toString()</strong>. (Vacancy class is implementing <code>InteractionParticipate</code>.)</p>
  
  <p>I tried to play with <code>@LazyToOne</code> and even <code>@LazyCollection</code> but failed.</p>
  
  <p>Please help me to figure it out. Thanks in advance!</p>