calendar « Composite « JPA Q&A





1. composite-id and calendar    forum.hibernate.org

Hi, we want to use a composite-id (Integer + Calendar) but a SQLException occurs when we try to load an entity : the value of a SQL variable or the parameter n2 can't be used because of its data type (translation from French, sorry for approximations) So it seems there's a problem with the Calendar. Any idea ? Thanks in advance ...