Note that there are some explanatory texts on larger screens.

plurals
  1. POHibernate MappingException
    primarykey
    data
    text
    <p>I'm getting this Hibernate error:</p> <pre><code>org.hibernate.MappingException: Could not determine type for: a.b.c.Results$BusinessDate, for columns: [org.hibernate.mapping.Column(businessDate)] </code></pre> <p>The class is below. Does anyone know why I'm getting this error?? </p> <pre><code>@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "businessDate" }) @XmlRootElement(name = "Results") @Entity(name = "Results") @Table(name = "RESULT") @Inheritance(strategy = InheritanceType.JOINED) @Cache(usage = CacheConcurrencyStrategy.READ_ONLY) public class Results implements Equals, HashCode { @XmlElement(name = "BusinessDate", required = true) protected Results.BusinessDate businessDate; public Results.BusinessDate getBusinessDate() { return businessDate; } public void setBusinessDate(Results.BusinessDate value) { this.businessDate = value; } @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "raw", "display" }) @Entity(name = "Results$BusinessDate") @Table(name = "BUSINESSDATE") @Inheritance(strategy = InheritanceType.JOINED) public static class BusinessDate implements Equals, HashCode { .... </code></pre> <hr> <p><strong>Update</strong>: This code was generated by <a href="http://pastebin.com/qmEgmNMY" rel="nofollow noreferrer">HyperJaxB</a>. So I don't claim to understand it all, just trying to make some changes to it!</p> <hr> <p><strong>Update2</strong>: Here's the <a href="http://pastebin.com/qmEgmNMY" rel="nofollow noreferrer">full</a> (yah it's big) src file</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload