SQLServer « Load « JPA Q&A





2. ClassCastException when loading boolean from SqlServer    forum.hibernate.org

@Entity(access = AccessType.FIELD) public class SupportListItem { @Id(generate = GeneratorType.AUTO) protected long id; protected boolean enabled = true; ... public boolean isEnabled() { return enabled; } public void setEnabled(boolean enabled) { ...

3. Problems using a SQL Server stored procedure for loading    forum.hibernate.org

Hi, We need to have a class which depending of one parameter has to be stored in different tables. Because of this we need to write custom sql for loading. This sql will be a MS SQL Server stored procedure. Somewhere we make an error in our mapping. I can see in the log files, Hibernate loads the object from the ...