Note that there are some explanatory texts on larger screens.

plurals
  1. POorg.hibernate.property.BasicPropertyAccessor - IllegalArgumentException in class: setter method of property: assessmentBaseId
    primarykey
    data
    text
    <p>Stack Trace:</p> <pre><code> ERROR http-8081-5 org.hibernate.property.BasicPropertyAccessor - IllegalArgumentException in class: org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentBaseData, setter method of property: assessmentBaseId ERROR http-8081-5 org.hibernate.property.BasicPropertyAccessor - expected type: java.lang.Long, actual value: java.lang.Long </code></pre> <p>AssessmentBase.hbm.xml</p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"&gt; &lt;hibernate-mapping default-lazy="false"&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentBaseData" table="SAM_ASSESSMENTBASE_T"&gt; &lt;id name="assessmentBaseId" column="ID" type="java.lang.Long" unsaved-value="0"&gt; &lt;generator class="native"&gt; &lt;param name="sequence"&gt;SAM_ASSESSMENTBASE_ID_S&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;discriminator column="isTemplate" /&gt; &lt;property name="parentId" type="long" column="PARENTID" not-null="false" /&gt; &lt;property name="title" type="string" length="255" column="TITLE" not-null="false" /&gt; &lt;property name="description" type="string" length="4000" column="DESCRIPTION" not-null="false" /&gt; &lt;property name="comments" type="string" length="4000" column="COMMENTS" not-null="false" /&gt; &lt;property name="typeId" type="long" column="TYPEID" not-null="false" /&gt; &lt;property name="instructorNotification" type="integer" column="INSTRUCTORNOTIFICATION" not-null="false" /&gt; &lt;property name="testeeNotification" type="integer" column="TESTEENOTIFICATION" not-null="false" /&gt; &lt;property name="multipartAllowed" type="integer" column="MULTIPARTALLOWED" not-null="false" /&gt; &lt;property name="status" type="integer" column="STATUS" not-null="true" /&gt; &lt;property name="createdBy" type="string" length="255" column="CREATEDBY" not-null="true" /&gt; &lt;property name="createdDate" type="timestamp" column="CREATEDDATE" not-null="true" /&gt; &lt;property name="lastModifiedBy" type="string" length="255" column="LASTMODIFIEDBY" not-null="true" /&gt; &lt;property name="lastModifiedDate" type="timestamp" column="LASTMODIFIEDDATE" not-null="true" /&gt; &lt;one-to-one name="assessmentAccessControl" class="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentAccessControl" cascade="all" /&gt; &lt;one-to-one name="evaluationModel" class="org.sakaiproject.tool.assessment.data.dao.assessment.EvaluationModel" cascade="all" /&gt; &lt;one-to-one name="assessmentFeedback" class="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentFeedback" cascade="all" /&gt; &lt;set name="assessmentMetaDataSet" table="SAM_ASSESSMETADATA_T" cascade="all" inverse="true"&gt; &lt;key column="ASSESSMENTID"/&gt; &lt;one-to-many class="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentMetaData"/&gt; &lt;/set&gt; &lt;set name="securedIPAddressSet" table="SAM_SECUREDIP_T" cascade="all" inverse="true"&gt; &lt;key column="ASSESSMENTID"/&gt; &lt;one-to-many class="org.sakaiproject.tool.assessment.data.dao.assessment.SecuredIPAddress"/&gt; &lt;/set&gt; &lt;subclass name="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentData" discriminator-value="0"&gt; &lt;property name="assessmentTemplateId" column="ASSESSMENTTEMPLATEID" /&gt; &lt;set name="sectionSet" table="SAM_SECTION_T" cascade="all" order-by="sequence asc" inverse="true" lazy="true"&gt; &lt;key column="ASSESSMENTID"/&gt; &lt;one-to-many class="org.sakaiproject.tool.assessment.data.dao.assessment.SectionData"/&gt; &lt;/set&gt; &lt;set name="assessmentAttachmentSet" table="SAM_ATTACHMENT_T" cascade="all" order-by="createdDate asc" inverse="true" lazy="false"&gt; &lt;key column="ASSESSMENTID"/&gt; &lt;one-to-many class="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentAttachment"/&gt; &lt;/set&gt; &lt;/subclass&gt; &lt;subclass name="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentTemplateData" discriminator-value="1" lazy="false" /&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentAccessControl" table="SAM_ASSESSACCESSCONTROL_T"&gt; &lt;id name="id" column="ASSESSMENTID"&gt; &lt;generator class="foreign"&gt; &lt;param name="property"&gt;assessmentBase&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;one-to-one name="assessmentBase" class="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentBaseData" constrained="true" cascade="all" /&gt; &lt;property name="submissionsAllowed" type="integer" column="SUBMISSIONSALLOWED" not-null="false" /&gt; &lt;property name="unlimitedSubmissions" type="boolean" column="UNLIMITEDSUBMISSIONS" not-null="false" /&gt; &lt;property name="submissionsSaved" type="integer" column="SUBMISSIONSSAVED" not-null="false" /&gt; &lt;property name="assessmentFormat" type="integer" column="ASSESSMENTFORMAT" not-null="false" /&gt; &lt;property name="bookMarkingItem" type="integer" column="BOOKMARKINGITEM" not-null="false" /&gt; &lt;property name="timeLimit" type="integer" column="TIMELIMIT" not-null="false" /&gt; &lt;property name="timedAssessment" type="integer" column="TIMEDASSESSMENT" not-null="false" /&gt; &lt;property name="retryAllowed" type="integer" column="RETRYALLOWED" not-null="false" /&gt; &lt;property name="lateHandling" type="integer" column="LATEHANDLING" not-null="false" /&gt; &lt;property name="startDate" type="timestamp" column="STARTDATE" not-null="false" /&gt; &lt;property name="dueDate" type="timestamp" column="DUEDATE" not-null="false" /&gt; &lt;property name="scoreDate" type="timestamp" column="SCOREDATE" not-null="false" /&gt; &lt;property name="feedbackDate" type="timestamp" column="FEEDBACKDATE" not-null="false" /&gt; &lt;property name="retractDate" type="timestamp" column="RETRACTDATE" not-null="false" /&gt; &lt;property name="autoSubmit" type="integer" column="AUTOSUBMIT" not-null="false" /&gt; &lt;property name="itemNavigation" type="integer" column="ITEMNAVIGATION" not-null="false" /&gt; &lt;property name="itemNumbering" type="integer" column="ITEMNUMBERING" not-null="false" /&gt; &lt;property name="submissionMessage" type="string" length="4000" column="SUBMISSIONMESSAGE" not-null="false" /&gt; &lt;property name="releaseTo" type="string" length="255" column="RELEASETO" not-null="false" /&gt; &lt;property name="username" type="string" length="255" column="USERNAME" not-null="false" /&gt; &lt;property name="password" type="string" length="255" column="PASSWORD" not-null="false" /&gt; &lt;property name="finalPageUrl" type="string" length="1023" column="FINALPAGEURL" not-null="false" /&gt; &lt;property name="markForReview" type="integer" column="MARKFORREVIEW" not-null="false" /&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.EvaluationModel" table="SAM_ASSESSEVALUATION_T"&gt; &lt;id name="id" column="ASSESSMENTID"&gt; &lt;generator class="foreign"&gt; &lt;param name="property"&gt;assessmentBase&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;one-to-one name="assessmentBase" class="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentBaseData" constrained="true" cascade="all" /&gt; &lt;property name="evaluationComponents" type="string" length="255" column="EVALUATIONCOMPONENTS" not-null="false" /&gt; &lt;property name="scoringType" type="integer" column="SCORINGTYPE" not-null="false" /&gt; &lt;property name="numericModelId" type="string" length="255" column="NUMERICMODELID" not-null="false" /&gt; &lt;property name="fixedTotalScore" type="integer" column="FIXEDTOTALSCORE" not-null="false" /&gt; &lt;property name="gradeAvailable" type="integer" column="GRADEAVAILABLE" not-null="false" /&gt; &lt;property name="isStudentIdPublic" type="integer" column="ISSTUDENTIDPUBLIC" not-null="false" /&gt; &lt;property name="anonymousGrading" type="integer" column="ANONYMOUSGRADING" not-null="false" /&gt; &lt;property name="autoScoring" type="integer" column="AUTOSCORING" not-null="false" /&gt; &lt;property name="toGradeBook" type="string" length="255" column="TOGRADEBOOK" not-null="false" /&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentMetaData" table="SAM_ASSESSMETADATA_T"&gt; &lt;id name="id" column="ASSESSMENTMETADATAID" type="java.lang.Long" unsaved-value="0"&gt; &lt;generator class="native"&gt; &lt;param name="sequence"&gt;SAM_ASSESSMETADATA_ID_S&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;many-to-one name="assessment" class="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentBaseData" column="ASSESSMENTID" not-null="true" /&gt; &lt;property name="label" type="string" length="255" column="LABEL" not-null="true" /&gt; &lt;property name="entry" type="string" length="255" column="ENTRY" not-null="false" /&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentFeedback" table="SAM_ASSESSFEEDBACK_T"&gt; &lt;id name="id" column="ASSESSMENTID"&gt; &lt;generator class="foreign"&gt; &lt;param name="property"&gt;assessmentBase&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;one-to-one name="assessmentBase" class="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentBaseData" constrained="true" cascade="all" /&gt; &lt;property name="feedbackDelivery" type="integer" column="FEEDBACKDELIVERY" not-null="false" /&gt; &lt;property name="feedbackAuthoring" type="integer" column="FEEDBACKAUTHORING" not-null="false" /&gt; &lt;property name="editComponents" type="integer" column="EDITCOMPONENTS" not-null="false" /&gt; &lt;property name="showQuestionText" type="boolean" column="SHOWQUESTIONTEXT" not-null="false" /&gt; &lt;property name="showStudentResponse" type="boolean" column="SHOWSTUDENTRESPONSE" not-null="false" /&gt; &lt;property name="showCorrectResponse" type="boolean" column="SHOWCORRECTRESPONSE" not-null="false" /&gt; &lt;property name="showStudentScore" type="boolean" column="SHOWSTUDENTSCORE" not-null="false" /&gt; &lt;property name="showStudentQuestionScore" type="boolean" column="SHOWSTUDENTQUESTIONSCORE" not-null="false" /&gt; &lt;property name="showQuestionLevelFeedback" type="boolean" column="SHOWQUESTIONLEVELFEEDBACK" not-null="false" /&gt; &lt;property name="showSelectionLevelFeedback" type="boolean" column="SHOWSELECTIONLEVELFEEDBACK" not-null="false" /&gt; &lt;property name="showGraderComments" type="boolean" column="SHOWGRADERCOMMENTS" not-null="false" /&gt; &lt;property name="showStatistics" type="boolean" column="SHOWSTATISTICS" not-null="false" /&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.SectionData" table="SAM_SECTION_T"&gt; &lt;id name="sectionId" column="SECTIONID" type="java.lang.Long" unsaved-value="0"&gt; &lt;generator class="native"&gt; &lt;param name="sequence"&gt;SAM_SECTION_ID_S&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;many-to-one name="assessment" class="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentData" column="ASSESSMENTID" not-null="true" /&gt; &lt;property name="duration" type="integer" column="DURATION" not-null="false" /&gt; &lt;property name="sequence" type="integer" column="SEQUENCE" not-null="false" /&gt; &lt;property name="title" type="string" length="255" column="TITLE" not-null="false" /&gt; &lt;property name="description" type="string" length="4000" column="DESCRIPTION" not-null="false" /&gt; &lt;property name="typeId" type="long" column="TYPEID" not-null="false" /&gt; &lt;property name="status" type="integer" column="STATUS" not-null="true" /&gt; &lt;property name="createdBy" type="string" length="255" column="CREATEDBY" not-null="true" /&gt; &lt;property name="createdDate" type="timestamp" column="CREATEDDATE" not-null="true" /&gt; &lt;property name="lastModifiedBy" type="string" length="255" column="LASTMODIFIEDBY" not-null="true" /&gt; &lt;property name="lastModifiedDate" type="timestamp" column="LASTMODIFIEDDATE" not-null="true" /&gt; &lt;set name="itemSet" table="SAM_ITEM_T" cascade="all" order-by="sequence asc" inverse="true" lazy="false"&gt; &lt;key column="SECTIONID"/&gt; &lt;one-to-many class="org.sakaiproject.tool.assessment.data.dao.assessment.ItemData"/&gt; &lt;/set&gt; &lt;set name="sectionMetaDataSet" table="SAM_SECTIONMETADATA_T" cascade="all" inverse="true"&gt; &lt;key column="SECTIONID"/&gt; &lt;one-to-many class="org.sakaiproject.tool.assessment.data.dao.assessment.SectionMetaData"/&gt; &lt;/set&gt; &lt;set name="sectionAttachmentSet" table="SAM_ATTACHMENT_T" cascade="all" order-by="createdDate asc" inverse="true" lazy="false"&gt; &lt;key column="SECTIONID"/&gt; &lt;one-to-many class="org.sakaiproject.tool.assessment.data.dao.assessment.SectionAttachment"/&gt; &lt;/set&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.SectionMetaData" table="SAM_SECTIONMETADATA_T"&gt; &lt;id name="id" column="SECTIONMETADATAID" type="java.lang.Long" unsaved-value="0"&gt; &lt;generator class="native"&gt; &lt;param name="sequence"&gt;SAM_SECTIONMETADATA_ID_S&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;many-to-one name="section" class="org.sakaiproject.tool.assessment.data.dao.assessment.SectionData" column="SECTIONID" not-null="true" /&gt; &lt;property name="label" type="string" length="255" column="LABEL" not-null="true" /&gt; &lt;property name="entry" type="string" length="255" column="ENTRY" not-null="false" /&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.SecuredIPAddress" table="SAM_SECUREDIP_T"&gt; &lt;id name="id" column="IPADDRESSID" type="java.lang.Long" unsaved-value="0"&gt; &lt;generator class="native"&gt; &lt;param name="sequence"&gt;SAM_SECUREDIP_ID_S&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;many-to-one name="assessment" class="org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentBaseData" column="ASSESSMENTID" not-null="true" /&gt; &lt;property name="hostname" type="string" length="255" column="HOSTNAME" not-null="false" /&gt; &lt;property name="ipAddress" type="string" length="255" column="IPADDRESS" not-null="false" /&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.AssesmentSummary" table="sam_assessmentgrading_summary"&gt; &lt;id name="id" column="id" type="java.lang.Integer"&gt; &lt;generator class="native"&gt; &lt;param name="sequence"&gt;SAM_GRADING_SEQ&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;property name="agentId" column="USER_ID" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="assesmentId" column="PUBLISHEDASSESSMENTID" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="score" column="FINAL_SCORE" type="java.lang.Double"&gt;&lt;/property&gt; &lt;property name="percentage" column="PERCENTAGE" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="timeSpent" column="TIMEELAPSED" type="java.lang.Long"&gt;&lt;/property&gt; &lt;property name="attemptedDate" column="ATTEMPTED_DATE" type="java.util.Date"&gt;&lt;/property&gt; &lt;property name="submittedDate" column="SUBMISSION_DATE" type="java.util.Date"&gt;&lt;/property&gt; &lt;property name="sectionId" column="SECTION_ID" type="java.lang.Integer"&gt;&lt;/property&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.Lessons" table="MELETE_LESSON_UNIQUE"&gt; &lt;id name="id" column="id" type="java.lang.Integer"&gt; &lt;generator class="native"&gt; &lt;param name="sequence"&gt;LESSON_UNIQUE_SQE&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;property name="siteId" column="COURSEID" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="moduleId" column="MODULEID" type="java.lang.Integer"&gt;&lt;/property&gt; &lt;property name="sectionId" column="LESSONID" type="java.lang.Integer"&gt;&lt;/property&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.MeleteModule" table="MELETE_MODULE"&gt; &lt;id name="module_Id" column="MODULE_ID" type="java.lang.Integer"&gt; &lt;generator class="native"&gt; &lt;param name="sequence"&gt;MELETE_MODULE_SEQ&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;one-to-one name="meletecoursemodule" class="org.sakaiproject.tool.assessment.data.dao.assessment.Melete_Course_Module" constrained="true" cascade="all" /&gt; &lt;property name="version" column="VERSION" type="java.lang.Integer"&gt;&lt;/property&gt; &lt;property name="title" column="TITLE" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="learnObj" column="LEARN_OBJ" type="java.sql.Clob"&gt;&lt;/property&gt; &lt;property name="description" column="DESCRIPTION" type="java.sql.Clob"&gt;&lt;/property&gt; &lt;property name="keywords" column="KEYWORDS" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="created_by_Fname" column="CREATED_BY_FNAME" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="created_by_Lname" column="CREATED_BY_LNAME" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="userId" column="USER_ID" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="modified_by_Fname" column="MODIFIED_BY_FNAME" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="modified_by_Lname" column="MODIFIED_BY_LNAME" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="institute" column="INSTITUTE" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="whats_Next" column="WHATS_NEXT" type="java.sql.Clob"&gt;&lt;/property&gt; &lt;property name="creation_Date" column="CREATION_DATE" type="java.util.Date"&gt;&lt;/property&gt; &lt;property name="modification_Date" column="MODIFICATION_DATE" type="java.util.Date"&gt;&lt;/property&gt; &lt;property name="seq_Xml" column="SEQ_XML" type="java.sql.Clob"&gt;&lt;/property&gt; &lt;property name="courseName" column="COURSENAME" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="courseId" column="COURSEID" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="name" column="NAME" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="lessons" column="LESSONS" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="credits" column="CREDITS" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="content" column="CONTENT" type="java.lang.String"&gt;&lt;/property&gt; &lt;property name="rt_Dt" column="RT_DT" type="java.util.Date"&gt;&lt;/property&gt; &lt;property name="maxt" column="MAXT" type="java.util.Date"&gt;&lt;/property&gt; &lt;property name="course_Level" column="COURSE_LEVEL" type="java.lang.String"&gt;&lt;/property&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.Melete_Course_Module" table="MELETE_COURSE_MODULE"&gt; &lt;id name="module_Id" column="MODULE_ID" type="integer"&gt; &lt;generator class="native"&gt; &lt;param name="sequence"&gt;MELETE_COURSE_MODULE_SEQ&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;one-to-one name="meletemodule" class="org.sakaiproject.tool.assessment.data.dao.assessment.MeleteModule" constrained="true" cascade="all" /&gt; &lt;property name="courseId" column="COURSE_ID" type="string"&gt;&lt;/property&gt; &lt;property name="seq_No" column="SEQ_NO" type="integer"&gt;&lt;/property&gt; &lt;property name="archv_Flag" column="ARCHV_FLAG" type="boolean"&gt;&lt;/property&gt; &lt;property name="date_Archived" column="DATE_ARCHIVED" type="timestamp"&gt;&lt;/property&gt; &lt;property name="delete_flag" column="DELETE_FLAG" type="boolean"&gt;&lt;/property&gt; &lt;/class&gt; &lt;class name="org.sakaiproject.tool.assessment.data.dao.assessment.Melete_Module_Shdates" table="MELETE_MODULE_SHDATES"&gt; &lt;id name="module_Id" column="MODULE_ID" type="integer"&gt; &lt;generator class="native"&gt; &lt;param name="sequence"&gt;MELETE_MODULE_SHDATES_SEQ&lt;/param&gt; &lt;/generator&gt; &lt;/id&gt; &lt;property name="version" column="VERSION" type="integer"&gt;&lt;/property&gt; &lt;property name="end_Date" column="END_DATE" type="timestamp"&gt;&lt;/property&gt; &lt;property name="start_Date" column="START_DATE" type="timestamp"&gt;&lt;/property&gt; &lt;/class&gt; &lt;/hibernate-mapping&gt; </code></pre> <p>AssessmentBaseData.java</p> <pre><code>import java.io.IOException; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.Set; import org.sakaiproject.tool.assessment.data.dao.shared.TypeD; import org.sakaiproject.tool.assessment.data.ifc.assessment.AssessmentAccessControlIfc; import org.sakaiproject.tool.assessment.data.ifc.assessment.AssessmentFeedbackIfc; import org.sakaiproject.tool.assessment.data.ifc.assessment.EvaluationModelIfc; import org.sakaiproject.tool.assessment.data.ifc.shared.TypeIfc; public class AssessmentBaseData implements java.io.Serializable,AssessmentBaseIfc { private Long assessmentBaseId; private Boolean isTemplate; private Long parentId; private String title; private String description; private String comments; private Long typeId; private Integer instructorNotification; private Integer testeeNotification; private Integer multipartAllowed; private Integer status; private String createdBy; private Date createdDate; private String lastModifiedBy; private Date lastModifiedDate; private AssessmentAccessControlIfc assessmentAccessControl; private EvaluationModelIfc evaluationModel; private AssessmentFeedbackIfc assessmentFeedback; private Set assessmentMetaDataSet; private HashMap assessmentMetaDataMap = new HashMap(); private HashMap assessmentFeedbackMap = new HashMap(); private Set securedIPAddressSet; public AssessmentBaseData() {} public AssessmentBaseData(Long assessmentBaseId, String title){ this.assessmentBaseId = assessmentBaseId; this.title = title; } public AssessmentBaseData(Long assessmentBaseId, String title,Date lastModifiedDate){ this.assessmentBaseId = assessmentBaseId; this.title = title; this.lastModifiedDate = lastModifiedDate; } public AssessmentBaseData(Long assessmentBaseId, String title,Date lastModifiedDate, String lastModifiedBy){ this.assessmentBaseId = assessmentBaseId; this.title = title; this.lastModifiedDate = lastModifiedDate; this.lastModifiedBy = lastModifiedBy; } public AssessmentBaseData(Long assessmentBaseId, String title,Date lastModifiedDate, Long typeId){ this.assessmentBaseId = assessmentBaseId; this.title = title; this.lastModifiedDate = lastModifiedDate; this.typeId = typeId; } public AssessmentBaseData(Boolean isTemplate, Long parentId, String title, String description, String comments, Long typeId, Integer instructorNotification, Integer testeeNotification, Integer multipartAllowed, Integer status, String createdBy, Date createdDate, String lastModifiedBy, Date lastModifiedDate) { this.isTemplate = isTemplate; this.parentId = parentId; this.title = title; this.description = description; this.comments = comments; this.typeId = typeId; this.instructorNotification = instructorNotification; this.testeeNotification = testeeNotification; this.multipartAllowed = multipartAllowed; this.status = status; this.createdBy = createdBy; this.createdDate = createdDate; this.lastModifiedBy = lastModifiedBy; this.lastModifiedDate = lastModifiedDate; } public Long getAssessmentBaseId() { return this.assessmentBaseId; } public void setAssessmentBaseId(Long assessmentBaseId) { this.assessmentBaseId = assessmentBaseId; } public Boolean getIsTemplate() { return this.isTemplate; } public void setIsTemplate(Boolean isTemplate) { this.isTemplate = isTemplate; } public Long getParentId() { return this.parentId; } public void setParentId(Long parentId) { this.parentId = parentId; } public String getTitle() { return this.title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return this.description; } public void setDescription(String description) { this.description = description; } public String getComments() { return this.comments; } public void setComments(String comments) { this.comments = comments; } public Integer getInstructorNotification() { return this.instructorNotification; } public void setInstructorNotification(Integer instructorNotification) { this.instructorNotification = instructorNotification; } public Integer getTesteeNotification() { return this.testeeNotification; } public void setTesteeNotification(Integer testeeNotification) { this.testeeNotification = testeeNotification; } public Integer getMultipartAllowed() { return this.multipartAllowed; } public void setMultipartAllowed(Integer multipartAllowed) { this.multipartAllowed = multipartAllowed; } public Long getTypeId() { return this.typeId; } public void setTypeId(Long typeId) { this.typeId = typeId; } public Integer getStatus() { return this.status; } public void setStatus(Integer status) { this.status = status; } public String getCreatedBy() { return this.createdBy; } public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } public Date getCreatedDate() { return this.createdDate; } public void setCreatedDate(Date createdDate) { this.createdDate = createdDate; } } </code></pre> <p>In this loop when i am trying to save object in Session which makes that Exception</p> <pre><code>List pendingAssessList=service.getpendingassessmentData(pendingassessIds,syncDate,siteid); for(int i=0;i&lt;pendingAssessList.size();i++) { AssessmentData ad=(AssessmentData)pendingAssessList.get(i); AssessmentData new_a = afq.prepareAssessment(ad, ServerConfigurationService.getServerUrl()); openSession.save(new_a); } </code></pre> <p>assessmentdata</p> <pre><code>public class AssessmentData extends org.sakaiproject.tool.assessment.data.dao.assessment.AssessmentBaseData implements java.io.Serializable, AssessmentIfc { } </code></pre>
    singulars
    1. This table or related slice is empty.
    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