-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 
Author Message
 Post subject: could not exute query
PostPosted: Fri Feb 18, 2011 7:51 am 
Newbie

Joined: Fri Feb 18, 2011 7:35 am
Posts: 1
hi,

i have written below query

System.out.println("this is ssclients id from ssclients----------------"+clientid);---->here i am getting clientid sstrailslist=entityManager.createQuery("select sstr from SsTrails sstr where sstr.ssClients.clientId="+clientid).getResultList();


for sstrailslist i have taken setters and getters in action class and those methods are also pasted into interface related to action class


then i am getting below exception i.e.


06:46:03,740 INFO [BigDecimalType] could not read column value from result set: TRAIL11_272_; Fail to convert to internal representation
06:46:03,787 WARN [JDBCExceptionReporter] SQL Error: 17059, SQLState: 99999
06:46:03,787 ERROR [JDBCExceptionReporter] Fail to convert to internal representation
06:46:03,787 INFO [STDOUT] this is at clientnameselected--------javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query

------------------>and i used this entityclass


package com.infyz.streamline.manager.entity;

// Generated Jan 28, 2011 3:48:48 AM by Hibernate Tools 3.3.0.GA

import java.math.BigDecimal;
import java.sql.Blob;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.validator.Length;
import org.hibernate.validator.NotNull;

/**
* SsTrails generated by hbm2java
*/
@Entity
@Table(name = "SS_TRAILS", schema = "STLD")
public class SsTrails implements java.io.Serializable {

private BigDecimal trailId;
private SsClients ssClients;
private String trailName;
private String trailDescription;
private Blob trailImageFile;
private BigDecimal trailStartPointLong;
private BigDecimal trailEndPointLong;
private BigDecimal trailStartPointLat;
private BigDecimal trailEndPointLat;
private String notes;
private String enabledFlag;
private Blob trailFile;
private String createdBy;
private Date creationDate;
private String lastUpdatedBy;
private Date lastUpdateDate;
private Set<SsTrailOwners> ssTrailOwnerses = new HashSet<SsTrailOwners>(0);
private Set<SsSignTypes> ssSignTypeses = new HashSet<SsSignTypes>(0);
private Set<SsSigns> ssSignses = new HashSet<SsSigns>(0);

public SsTrails() {
}

public SsTrails(BigDecimal trailId, SsClients ssClients, String trailName,
String createdBy, Date creationDate, String lastUpdatedBy,
Date lastUpdateDate) {
this.trailId = trailId;
this.ssClients = ssClients;
this.trailName = trailName;
this.createdBy = createdBy;
this.creationDate = creationDate;
this.lastUpdatedBy = lastUpdatedBy;
this.lastUpdateDate = lastUpdateDate;
}

public SsTrails(BigDecimal trailId, SsClients ssClients, String trailName,
String trailDescription, Blob trailImageFile,
BigDecimal trailStartPointLong, BigDecimal trailEndPointLong,
BigDecimal trailStartPointLat, BigDecimal trailEndPointLat,
String notes, String enabledFlag, Blob trailFile, String createdBy,
Date creationDate, String lastUpdatedBy, Date lastUpdateDate,
Set<SsTrailOwners> ssTrailOwnerses, Set<SsSignTypes> ssSignTypeses,
Set<SsSigns> ssSignses) {
this.trailId = trailId;
this.ssClients = ssClients;
this.trailName = trailName;
this.trailDescription = trailDescription;
this.trailImageFile = trailImageFile;
this.trailStartPointLong = trailStartPointLong;
this.trailEndPointLong = trailEndPointLong;
this.trailStartPointLat = trailStartPointLat;
this.trailEndPointLat = trailEndPointLat;
this.notes = notes;
this.enabledFlag = enabledFlag;
this.trailFile = trailFile;
this.createdBy = createdBy;
this.creationDate = creationDate;
this.lastUpdatedBy = lastUpdatedBy;
this.lastUpdateDate = lastUpdateDate;
this.ssTrailOwnerses = ssTrailOwnerses;
this.ssSignTypeses = ssSignTypeses;
this.ssSignses = ssSignses;
}

@Id
@Column(name = "TRAIL_ID", unique = true, nullable = false, precision = 22, scale = 0)
@NotNull
public BigDecimal getTrailId() {
return this.trailId;
}

public void setTrailId(BigDecimal trailId) {
this.trailId = trailId;
}

@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "CLIENT_ID", nullable = false)
@NotNull
public SsClients getSsClients() {
return this.ssClients;
}

public void setSsClients(SsClients ssClients) {
this.ssClients = ssClients;
}

@Column(name = "TRAIL_NAME", nullable = false, length = 30)
@NotNull
@Length(max = 30)
public String getTrailName() {
return this.trailName;
}

public void setTrailName(String trailName) {
this.trailName = trailName;
}

@Column(name = "TRAIL_DESCRIPTION", length = 400)
@Length(max = 400)
public String getTrailDescription() {
return this.trailDescription;
}

public void setTrailDescription(String trailDescription) {
this.trailDescription = trailDescription;
}

@Column(name = "TRAIL_IMAGE_FILE")
public Blob getTrailImageFile() {
return this.trailImageFile;
}

public void setTrailImageFile(Blob trailImageFile) {
this.trailImageFile = trailImageFile;
}

@Column(name = "TRAIL_START_POINT_LONG", precision = 5)
public BigDecimal getTrailStartPointLong() {
return this.trailStartPointLong;
}

public void setTrailStartPointLong(BigDecimal trailStartPointLong) {
this.trailStartPointLong = trailStartPointLong;
}

@Column(name = "TRAIL_END_POINT_LONG", precision = 5)
public BigDecimal getTrailEndPointLong() {
return this.trailEndPointLong;
}

public void setTrailEndPointLong(BigDecimal trailEndPointLong) {
this.trailEndPointLong = trailEndPointLong;
}

@Column(name = "TRAIL_START_POINT_LAT", precision = 5)
public BigDecimal getTrailStartPointLat() {
return this.trailStartPointLat;
}

public void setTrailStartPointLat(BigDecimal trailStartPointLat) {
this.trailStartPointLat = trailStartPointLat;
}

@Column(name = "TRAIL_END_POINT_LAT", precision = 5)
public BigDecimal getTrailEndPointLat() {
return this.trailEndPointLat;
}

public void setTrailEndPointLat(BigDecimal trailEndPointLat) {
this.trailEndPointLat = trailEndPointLat;
}

@Column(name = "NOTES", length = 1000)
@Length(max = 1000)
public String getNotes() {
return this.notes;
}

public void setNotes(String notes) {
this.notes = notes;
}

@Column(name = "ENABLED_FLAG", length = 1)
@Length(max = 1)
public String getEnabledFlag() {
return this.enabledFlag;
}

public void setEnabledFlag(String enabledFlag) {
this.enabledFlag = enabledFlag;
}

@Column(name = "TRAIL_FILE")
public Blob getTrailFile() {
return this.trailFile;
}

public void setTrailFile(Blob trailFile) {
this.trailFile = trailFile;
}

@Column(name = "CREATED_BY", nullable = false, length = 30)
@NotNull
@Length(max = 30)
public String getCreatedBy() {
return this.createdBy;
}

public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}

@Temporal(TemporalType.DATE)
@Column(name = "CREATION_DATE", nullable = false, length = 7)
@NotNull
public Date getCreationDate() {
return this.creationDate;
}

public void setCreationDate(Date creationDate) {
this.creationDate = creationDate;
}

@Column(name = "LAST_UPDATED_BY", nullable = false, length = 30)
@NotNull
@Length(max = 30)
public String getLastUpdatedBy() {
return this.lastUpdatedBy;
}

public void setLastUpdatedBy(String lastUpdatedBy) {
this.lastUpdatedBy = lastUpdatedBy;
}

@Temporal(TemporalType.DATE)
@Column(name = "LAST_UPDATE_DATE", nullable = false, length = 7)
@NotNull
public Date getLastUpdateDate() {
return this.lastUpdateDate;
}

public void setLastUpdateDate(Date lastUpdateDate) {
this.lastUpdateDate = lastUpdateDate;
}

@OneToMany(fetch = FetchType.LAZY, mappedBy = "ssTrails")
public Set<SsTrailOwners> getSsTrailOwnerses() {
return this.ssTrailOwnerses;
}

public void setSsTrailOwnerses(Set<SsTrailOwners> ssTrailOwnerses) {
this.ssTrailOwnerses = ssTrailOwnerses;
}

@OneToMany(fetch = FetchType.LAZY, mappedBy = "ssTrails")
public Set<SsSignTypes> getSsSignTypeses() {
return this.ssSignTypeses;
}

public void setSsSignTypeses(Set<SsSignTypes> ssSignTypeses) {
this.ssSignTypeses = ssSignTypeses;
}

@OneToMany(fetch = FetchType.LAZY, mappedBy = "ssTrails")
public Set<SsSigns> getSsSignses() {
return this.ssSignses;
}

public void setSsSignses(Set<SsSigns> ssSignses) {
this.ssSignses = ssSignses;
}

}


Top
 Profile  
 
 Post subject: Re: could not exute query
PostPosted: Mon Feb 21, 2011 8:41 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 990
Seems to be a problem with your jdbc-driver in combination with the BigDecimal type.
Which jdbc-driver are you using?


Top
 Profile  
 
 Post subject: Re: could not exute query
PostPosted: Mon Mar 12, 2012 7:36 am 
Newbie

Joined: Mon Mar 12, 2012 7:28 am
Posts: 6
even m facing the same problem...

I AM TRYING TO BUNDLE MY HIBERNATE-PROJECT WITH A NEW PLUGIN THAT'LL USE HIBERNATE TO INTERACT WITH DB,, THIS HIBERNATE-PROJECT WORK FINE BEFORE BUNDLING...

THE BELOW CODE GIVES OUT SOME WARNINGS "Type safety: The expression of type List needs unchecked conversion to conform to List<String>" :-
* List<String> ip = Ipoint.list();
* List<SubProgram> LOC = LOCQuery.list();
* List<Info> LOCList = LOCTotal.list();
* List<SourceReference> srcLocation = Location.list();

below's my stack trace(using sqlite-JDBC driver, eclipse-helios)...

[INFO] 2012-03-12 15:40:33,616 - org.hibernate.cfg.Environment -0 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.1.2
[INFO] 2012-03-12 15:40:33,627 - org.hibernate.cfg.Environment -11 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
[INFO] 2012-03-12 15:40:33,653 - org.hibernate.cfg.Environment -37 [main] INFO org.hibernate.cfg.Environment - using CGLIB reflection optimizer
[INFO] 2012-03-12 15:40:33,656 - org.hibernate.cfg.Environment -40 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
[INFO] 2012-03-12 15:40:33,840 - org.hibernate.cfg.Configuration -224 [main] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
[INFO] 2012-03-12 15:40:33,845 - org.hibernate.cfg.Configuration -229 [main] INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
[INFO] 2012-03-12 15:40:34,095 - org.hibernate.cfg.Configuration -479 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: SubProgram.hbm.xml
[INFO] 2012-03-12 15:40:34,343 - org.hibernate.cfg.HbmBinder -727 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.SubProgram -> subprogram
[INFO] 2012-03-12 15:40:34,394 - org.hibernate.cfg.Configuration -778 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Info.hbm.xml
[INFO] 2012-03-12 15:40:34,445 - org.hibernate.cfg.HbmBinder -829 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Info -> info
[INFO] 2012-03-12 15:40:34,448 - org.hibernate.cfg.Configuration -832 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Aut.hbm.xml
[INFO] 2012-03-12 15:40:34,508 - org.hibernate.cfg.HbmBinder -892 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Aut -> aut
[INFO] 2012-03-12 15:40:34,518 - org.hibernate.cfg.Configuration -902 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Bookmark.hbm.xml
[INFO] 2012-03-12 15:40:34,577 - org.hibernate.cfg.HbmBinder -961 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Bookmark -> bookmark
[INFO] 2012-03-12 15:40:34,587 - org.hibernate.cfg.Configuration -971 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: BooleanExpression.hbm.xml
[INFO] 2012-03-12 15:40:34,622 - org.hibernate.cfg.HbmBinder -1006 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.BooleanExpression -> booleanexpression
[INFO] 2012-03-12 15:40:34,627 - org.hibernate.cfg.Configuration -1011 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Branch.hbm.xml
[INFO] 2012-03-12 15:40:34,667 - org.hibernate.cfg.HbmBinder -1051 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Branch -> branch
[INFO] 2012-03-12 15:40:34,673 - org.hibernate.cfg.Configuration -1057 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Branch_InstrumentationPoint.hbm.xml
[INFO] 2012-03-12 15:40:34,740 - org.hibernate.cfg.HbmBinder -1124 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Branch_InstrumentationPoint -> branch_instrumentationpoint
[INFO] 2012-03-12 15:40:34,798 - org.hibernate.cfg.Configuration -1182 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: BranchTested.hbm.xml
[INFO] 2012-03-12 15:40:34,867 - org.hibernate.cfg.HbmBinder -1251 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.BranchTested -> BranchTested
[INFO] 2012-03-12 15:40:34,885 - org.hibernate.cfg.Configuration -1269 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Call.hbm.xml
[INFO] 2012-03-12 15:40:34,924 - org.hibernate.cfg.HbmBinder -1308 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Call -> call
[INFO] 2012-03-12 15:40:34,938 - org.hibernate.cfg.Configuration -1322 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: CallContext.hbm.xml
[INFO] 2012-03-12 15:40:35,004 - org.hibernate.cfg.HbmBinder -1388 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.CallContext -> callcontext
[INFO] 2012-03-12 15:40:35,041 - org.hibernate.cfg.Configuration -1425 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: CallContextInstance.hbm.xml
[INFO] 2012-03-12 15:40:35,100 - org.hibernate.cfg.HbmBinder -1484 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.CallContextInstance -> callcontextinstance
[INFO] 2012-03-12 15:40:35,109 - org.hibernate.cfg.Configuration -1493 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: CompressedBlock.hbm.xml
[INFO] 2012-03-12 15:40:35,159 - org.hibernate.cfg.HbmBinder -1543 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.CompressedBlock -> compressedblock
[INFO] 2012-03-12 15:40:35,173 - org.hibernate.cfg.Configuration -1557 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Condition.hbm.xml
[INFO] 2012-03-12 15:40:35,221 - org.hibernate.cfg.HbmBinder -1605 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Condition -> condition
[INFO] 2012-03-12 15:40:35,228 - org.hibernate.cfg.Configuration -1612 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Context.hbm.xml
[INFO] 2012-03-12 15:40:35,303 - org.hibernate.cfg.HbmBinder -1687 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Context -> context
[INFO] 2012-03-12 15:40:35,363 - org.hibernate.cfg.Configuration -1747 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: ContextRoot.hbm.xml
[INFO] 2012-03-12 15:40:35,394 - org.hibernate.cfg.HbmBinder -1778 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.ContextRoot -> contextroot
[INFO] 2012-03-12 15:40:35,407 - org.hibernate.cfg.Configuration -1791 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: CoupledCondition.hbm.xml
[INFO] 2012-03-12 15:40:35,448 - org.hibernate.cfg.HbmBinder -1832 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.CoupledCondition -> coupledcondition
[INFO] 2012-03-12 15:40:35,451 - org.hibernate.cfg.Configuration -1835 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: DataBlock.hbm.xml
[INFO] 2012-03-12 15:40:35,492 - org.hibernate.cfg.HbmBinder -1876 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.DataBlock -> datablock
[INFO] 2012-03-12 15:40:35,497 - org.hibernate.cfg.Configuration -1881 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Decision.hbm.xml
[INFO] 2012-03-12 15:40:35,531 - org.hibernate.cfg.HbmBinder -1915 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Decision -> decision
[INFO] 2012-03-12 15:40:35,540 - org.hibernate.cfg.Configuration -1924 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: ElementAnnotation.hbm.xml
[INFO] 2012-03-12 15:40:35,575 - org.hibernate.cfg.HbmBinder -1959 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.ElementAnnotation -> ElementAnnotation
[INFO] 2012-03-12 15:40:35,580 - org.hibernate.cfg.Configuration -1964 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: EncodedBlock.hbm.xml
[INFO] 2012-03-12 15:40:35,602 - org.hibernate.cfg.HbmBinder -1986 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.EncodedBlock -> EncodedBlock
[INFO] 2012-03-12 15:40:35,606 - org.hibernate.cfg.Configuration -1990 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: ExecutionTimeFrequencyRecord.hbm.xml
[INFO] 2012-03-12 15:40:35,637 - org.hibernate.cfg.HbmBinder -2021 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.ExecutionTimeFrequencyRecord -> ExecutionTimeFrequencyRecord
[INFO] 2012-03-12 15:40:35,641 - org.hibernate.cfg.Configuration -2025 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: ExecutionTimeProbabilityRecord.hbm.xml
[INFO] 2012-03-12 15:40:35,678 - org.hibernate.cfg.HbmBinder -2062 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.ExecutionTimeProbabilityRecord -> ExecutionTimeProbabilityRecord
[INFO] 2012-03-12 15:40:35,682 - org.hibernate.cfg.Configuration -2066 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: ExecutionTimeProfile.hbm.xml
[INFO] 2012-03-12 15:40:35,722 - org.hibernate.cfg.HbmBinder -2106 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.ExecutionTimeProfile -> ExecutionTimeProfile
[INFO] 2012-03-12 15:40:35,724 - org.hibernate.cfg.Configuration -2108 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Features.hbm.xml
[INFO] 2012-03-12 15:40:35,763 - org.hibernate.cfg.HbmBinder -2147 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Features -> Features
[INFO] 2012-03-12 15:40:35,766 - org.hibernate.cfg.Configuration -2150 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: FilteredTest.hbm.xml
[INFO] 2012-03-12 15:40:35,800 - org.hibernate.cfg.HbmBinder -2184 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.FilteredTest -> FilteredTest
[INFO] 2012-03-12 15:40:35,815 - org.hibernate.cfg.Configuration -2199 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: InstrumentationPoint.hbm.xml
[INFO] 2012-03-12 15:40:35,852 - org.hibernate.cfg.HbmBinder -2236 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.InstrumentationPoint -> InstrumentationPoint
[INFO] 2012-03-12 15:40:35,866 - org.hibernate.cfg.Configuration -2250 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Iteration.hbm.xml
[INFO] 2012-03-12 15:40:35,906 - org.hibernate.cfg.HbmBinder -2290 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Iteration -> Iteration
[INFO] 2012-03-12 15:40:35,915 - org.hibernate.cfg.Configuration -2299 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: IterationContext.hbm.xml
[INFO] 2012-03-12 15:40:35,973 - org.hibernate.cfg.HbmBinder -2357 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.IterationContext -> IterationContext
[INFO] 2012-03-12 15:40:36,013 - org.hibernate.cfg.Configuration -2397 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Loop.hbm.xml
[INFO] 2012-03-12 15:40:36,056 - org.hibernate.cfg.HbmBinder -2440 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Loop -> Loop
[INFO] 2012-03-12 15:40:36,061 - org.hibernate.cfg.Configuration -2445 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: LoopContext.hbm.xml
[INFO] 2012-03-12 15:40:36,113 - org.hibernate.cfg.HbmBinder -2497 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.LoopContext -> LoopContext
[INFO] 2012-03-12 15:40:36,176 - org.hibernate.cfg.Configuration -2560 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: MCDCDecision.hbm.xml
[INFO] 2012-03-12 15:40:36,207 - org.hibernate.cfg.HbmBinder -2591 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.MCDCDecision -> MCDCDecision
[INFO] 2012-03-12 15:40:36,221 - org.hibernate.cfg.Configuration -2605 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: MCDCPair.hbm.xml
[INFO] 2012-03-12 15:40:36,245 - org.hibernate.cfg.HbmBinder -2629 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.MCDCPair -> MCDCPair
[INFO] 2012-03-12 15:40:36,256 - org.hibernate.cfg.Configuration -2640 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: MCDCVector.hbm.xml
[INFO] 2012-03-12 15:40:36,288 - org.hibernate.cfg.HbmBinder -2672 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.MCDCVector -> MCDCVector
[INFO] 2012-03-12 15:40:36,294 - org.hibernate.cfg.Configuration -2678 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: MCDCVector_Test.hbm.xml
[INFO] 2012-03-12 15:40:36,328 - org.hibernate.cfg.HbmBinder -2712 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.MCDCVector_Test -> MCDCVector_Test
[INFO] 2012-03-12 15:40:36,339 - org.hibernate.cfg.Configuration -2723 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: MemoryLeak.hbm.xml
[INFO] 2012-03-12 15:40:36,376 - org.hibernate.cfg.HbmBinder -2760 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.MemoryLeak -> MemoryLeak
[INFO] 2012-03-12 15:40:36,381 - org.hibernate.cfg.Configuration -2765 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: MemoryUsage.hbm.xml
[INFO] 2012-03-12 15:40:36,411 - org.hibernate.cfg.HbmBinder -2795 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.MemoryUsage -> MemoryUsage
[INFO] 2012-03-12 15:40:36,427 - org.hibernate.cfg.Configuration -2811 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Root.hbm.xml
[INFO] 2012-03-12 15:40:36,455 - org.hibernate.cfg.HbmBinder -2839 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Root -> Root
[INFO] 2012-03-12 15:40:36,457 - org.hibernate.cfg.Configuration -2841 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: RootIpoint.hbm.xml
[INFO] 2012-03-12 15:40:36,489 - org.hibernate.cfg.HbmBinder -2873 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.RootIpoint -> RootIpoint
[INFO] 2012-03-12 15:40:36,491 - org.hibernate.cfg.Configuration -2875 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: S2I.hbm.xml
[INFO] 2012-03-12 15:40:36,520 - org.hibernate.cfg.HbmBinder -2904 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.S2I -> S2I
[INFO] 2012-03-12 15:40:36,522 - org.hibernate.cfg.Configuration -2906 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: SourceFile.hbm.xml
[INFO] 2012-03-12 15:40:36,555 - org.hibernate.cfg.HbmBinder -2939 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.SourceFile -> SourceFile
[INFO] 2012-03-12 15:40:36,564 - org.hibernate.cfg.Configuration -2948 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: SourceFileContent.hbm.xml
[INFO] 2012-03-12 15:40:36,592 - org.hibernate.cfg.HbmBinder -2976 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.SourceFileContent -> SourceFileContent
[INFO] 2012-03-12 15:40:36,595 - org.hibernate.cfg.Configuration -2979 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: SourceReference.hbm.xml
[INFO] 2012-03-12 15:40:36,622 - org.hibernate.cfg.HbmBinder -3006 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.SourceReference -> SourceReference
[INFO] 2012-03-12 15:40:36,628 - org.hibernate.cfg.Configuration -3012 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: SourceRegion.hbm.xml
[INFO] 2012-03-12 15:40:36,653 - org.hibernate.cfg.HbmBinder -3037 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.SourceRegion -> SourceRegion
[INFO] 2012-03-12 15:40:36,657 - org.hibernate.cfg.Configuration -3041 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: StackUsage.hbm.xml
[INFO] 2012-03-12 15:40:36,690 - org.hibernate.cfg.HbmBinder -3074 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.StackUsage -> StackUsage
[INFO] 2012-03-12 15:40:36,703 - org.hibernate.cfg.Configuration -3087 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Statement.hbm.xml
[INFO] 2012-03-12 15:40:36,735 - org.hibernate.cfg.HbmBinder -3119 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Statement -> Statement
[INFO] 2012-03-12 15:40:36,745 - org.hibernate.cfg.Configuration -3129 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: StatementGroup.hbm.xml
[INFO] 2012-03-12 15:40:36,768 - org.hibernate.cfg.HbmBinder -3152 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.StatementGroup -> StatementGroup
[INFO] 2012-03-12 15:40:36,775 - org.hibernate.cfg.Configuration -3159 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: StatementGroup_InstrumentationPoint.hbm.xml
[INFO] 2012-03-12 15:40:36,799 - org.hibernate.cfg.HbmBinder -3183 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.StatementGroup_InstrumentationPoint -> StatementGroup_InstrumentationPoint
[INFO] 2012-03-12 15:40:36,810 - org.hibernate.cfg.Configuration -3194 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: StatementGroupTested.hbm.xml
[INFO] 2012-03-12 15:40:36,849 - org.hibernate.cfg.HbmBinder -3233 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.StatementGroupTested -> StatementGroupTested
[INFO] 2012-03-12 15:40:36,855 - org.hibernate.cfg.Configuration -3239 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Stream.hbm.xml
[INFO] 2012-03-12 15:40:36,885 - org.hibernate.cfg.HbmBinder -3269 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Stream -> Stream
[INFO] 2012-03-12 15:40:36,896 - org.hibernate.cfg.Configuration -3280 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: StreamSource.hbm.xml
[INFO] 2012-03-12 15:40:36,912 - org.hibernate.cfg.HbmBinder -3296 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.StreamSource -> StreamSource
[INFO] 2012-03-12 15:40:36,923 - org.hibernate.cfg.Configuration -3307 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: SubprogramEntryTested.hbm.xml
[INFO] 2012-03-12 15:40:36,949 - org.hibernate.cfg.HbmBinder -3333 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.SubprogramEntryTested -> SubprogramEntryTested
[INFO] 2012-03-12 15:40:36,956 - org.hibernate.cfg.Configuration -3340 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: SubprogramExitTested.hbm.xml
[INFO] 2012-03-12 15:40:36,978 - org.hibernate.cfg.HbmBinder -3362 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.SubprogramExitTested -> SubprogramExitTested
[INFO] 2012-03-12 15:40:36,989 - org.hibernate.cfg.Configuration -3373 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: SubprogramFeatures.hbm.xml
[INFO] 2012-03-12 15:40:37,011 - org.hibernate.cfg.HbmBinder -3395 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.SubprogramFeatures -> SubprogramFeatures
[INFO] 2012-03-12 15:40:37,020 - org.hibernate.cfg.Configuration -3404 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Test.hbm.xml
[INFO] 2012-03-12 15:40:37,042 - org.hibernate.cfg.HbmBinder -3426 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Test -> Test
[INFO] 2012-03-12 15:40:37,051 - org.hibernate.cfg.Configuration -3435 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Testing.hbm.xml
[INFO] 2012-03-12 15:40:37,076 - org.hibernate.cfg.HbmBinder -3460 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Testing -> "Testing"
[INFO] 2012-03-12 15:40:37,082 - org.hibernate.cfg.Configuration -3466 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Tool.hbm.xml
[INFO] 2012-03-12 15:40:37,108 - org.hibernate.cfg.HbmBinder -3492 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Tool -> Tool
[INFO] 2012-03-12 15:40:37,115 - org.hibernate.cfg.Configuration -3499 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: TraceBlock.hbm.xml
[INFO] 2012-03-12 15:40:37,142 - org.hibernate.cfg.HbmBinder -3526 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.TraceBlock -> TraceBlock
[INFO] 2012-03-12 15:40:37,156 - org.hibernate.cfg.Configuration -3540 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: Transition.hbm.xml
[INFO] 2012-03-12 15:40:37,174 - org.hibernate.cfg.HbmBinder -3558 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.Transition -> Transition
[INFO] 2012-03-12 15:40:37,199 - org.hibernate.cfg.Configuration -3583 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: TransitionContext.hbm.xml
[INFO] 2012-03-12 15:40:37,235 - org.hibernate.cfg.HbmBinder -3619 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.TransitionContext -> TransitionContext
[INFO] 2012-03-12 15:40:37,260 - org.hibernate.cfg.Configuration -3644 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: VirtualStream.hbm.xml
[INFO] 2012-03-12 15:40:37,272 - org.hibernate.cfg.HbmBinder -3656 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.VirtualStream -> VirtualStream
[INFO] 2012-03-12 15:40:37,274 - org.hibernate.cfg.Configuration -3658 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: XST.hbm.xml
[INFO] 2012-03-12 15:40:37,308 - org.hibernate.cfg.HbmBinder -3692 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.XST -> XST
[INFO] 2012-03-12 15:40:37,316 - org.hibernate.cfg.Configuration -3700 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: EndToEndRecord.hbm.xml
[INFO] 2012-03-12 15:40:37,333 - org.hibernate.cfg.HbmBinder -3717 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.EndToEndRecord -> EndToEndRecord
[INFO] 2012-03-12 15:40:37,337 - org.hibernate.cfg.Configuration -3721 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource: CallPairTested.hbm.xml
[INFO] 2012-03-12 15:40:37,368 - org.hibernate.cfg.HbmBinder -3752 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: model.CallPairTested -> callpairtested
[INFO] 2012-03-12 15:40:37,375 - org.hibernate.cfg.Configuration -3759 [main] INFO org.hibernate.cfg.Configuration - Configured SessionFactory:
[INFO] 2012-03-12 15:40:37,907 - org.hibernate.mapping.RootClass -4291 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override equals(): model.ContextRoot
[INFO] 2012-03-12 15:40:37,907 - org.hibernate.mapping.RootClass -4291 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override hashCode(): model.ContextRoot
[INFO] 2012-03-12 15:40:37,917 - org.hibernate.mapping.RootClass -4301 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override equals(): model.BranchTested
[INFO] 2012-03-12 15:40:37,917 - org.hibernate.mapping.RootClass -4301 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override hashCode(): model.BranchTested
[INFO] 2012-03-12 15:40:37,924 - org.hibernate.mapping.RootClass -4308 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override equals(): model.StatementGroupTested
[INFO] 2012-03-12 15:40:37,924 - org.hibernate.mapping.RootClass -4308 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override hashCode(): model.StatementGroupTested
[INFO] 2012-03-12 15:40:37,939 - org.hibernate.mapping.RootClass -4323 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override equals(): model.StatementGroup_InstrumentationPoint
[INFO] 2012-03-12 15:40:37,949 - org.hibernate.mapping.RootClass -4333 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override hashCode(): model.StatementGroup_InstrumentationPoint
[INFO] 2012-03-12 15:40:37,956 - org.hibernate.mapping.RootClass -4340 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override equals(): model.CallPairTested
[INFO] 2012-03-12 15:40:37,956 - org.hibernate.mapping.RootClass -4340 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override hashCode(): model.CallPairTested
[INFO] 2012-03-12 15:40:37,979 - org.hibernate.mapping.RootClass -4363 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override equals(): model.MCDCVector_Test
[INFO] 2012-03-12 15:40:37,980 - org.hibernate.mapping.RootClass -4364 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override hashCode(): model.MCDCVector_Test
[INFO] 2012-03-12 15:40:37,989 - org.hibernate.mapping.RootClass -4373 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override equals(): model.SubprogramFeatures
[INFO] 2012-03-12 15:40:37,998 - org.hibernate.mapping.RootClass -4382 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override hashCode(): model.SubprogramFeatures
[INFO] 2012-03-12 15:40:38,017 - org.hibernate.mapping.RootClass -4401 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override equals(): model.Branch_InstrumentationPoint
[INFO] 2012-03-12 15:40:38,018 - org.hibernate.mapping.RootClass -4402 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override hashCode(): model.Branch_InstrumentationPoint
[INFO] 2012-03-12 15:40:38,025 - org.hibernate.mapping.RootClass -4409 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override equals(): model.SubprogramEntryTested
[INFO] 2012-03-12 15:40:38,028 - org.hibernate.mapping.RootClass -4412 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override hashCode(): model.SubprogramEntryTested
[INFO] 2012-03-12 15:40:38,042 - org.hibernate.mapping.RootClass -4426 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override equals(): model.SubprogramExitTested
[INFO] 2012-03-12 15:40:38,050 - org.hibernate.mapping.RootClass -4434 [main] WARN org.hibernate.mapping.RootClass - composite-id class does not override hashCode(): model.SubprogramExitTested
[INFO] 2012-03-12 15:40:38,056 - org.hibernate.connection.DriverManagerConnectionProvider -4440 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Using Hibernate built-in connection pool (not for production use!)
[INFO] 2012-03-12 15:40:38,058 - org.hibernate.connection.DriverManagerConnectionProvider -4442 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hibernate connection pool size: 20
[INFO] 2012-03-12 15:40:38,060 - org.hibernate.connection.DriverManagerConnectionProvider -4444 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocommit mode: false
[INFO] 2012-03-12 15:40:38,117 - org.hibernate.connection.DriverManagerConnectionProvider -4501 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - using driver: org.sqlite.JDBC at URL: jdbc:sqlite:susan_large.rvd
[INFO] 2012-03-12 15:40:38,118 - org.hibernate.connection.DriverManagerConnectionProvider -4502 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - connection properties: {user=, password=}
[INFO] 2012-03-12 15:40:38,238 - org.hibernate.cfg.SettingsFactory -4622 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: SQLite, version: 3.6.0
[INFO] 2012-03-12 15:40:38,238 - org.hibernate.cfg.SettingsFactory -4622 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: SQLiteJDBC, version: native
[INFO] 2012-03-12 15:40:38,305 - org.hibernate.dialect.Dialect -4689 [main] INFO org.hibernate.dialect.Dialect - Using dialect: dialect.SQLiteDialect
[INFO] 2012-03-12 15:40:38,311 - org.hibernate.transaction.TransactionFactoryFactory -4695 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
[INFO] 2012-03-12 15:40:38,314 - org.hibernate.transaction.TransactionManagerLookupFactory -4698 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
[INFO] 2012-03-12 15:40:38,314 - org.hibernate.cfg.SettingsFactory -4698 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
[INFO] 2012-03-12 15:40:38,315 - org.hibernate.cfg.SettingsFactory -4699 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
[INFO] 2012-03-12 15:40:38,316 - org.hibernate.cfg.SettingsFactory -4700 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: disabled
[INFO] 2012-03-12 15:40:38,317 - org.hibernate.cfg.SettingsFactory -4701 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): disabled
[INFO] 2012-03-12 15:40:38,317 - org.hibernate.cfg.SettingsFactory -4701 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto
[INFO] 2012-03-12 15:40:38,318 - org.hibernate.cfg.SettingsFactory -4702 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
[INFO] 2012-03-12 15:40:38,329 - org.hibernate.cfg.SettingsFactory -4713 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
[INFO] 2012-03-12 15:40:38,329 - org.hibernate.cfg.SettingsFactory -4713 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
[INFO] 2012-03-12 15:40:38,330 - org.hibernate.cfg.SettingsFactory -4714 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
[INFO] 2012-03-12 15:40:38,333 - org.hibernate.hql.ast.ASTQueryTranslatorFactory -4717 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
[INFO] 2012-03-12 15:40:38,333 - org.hibernate.cfg.SettingsFactory -4717 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
[INFO] 2012-03-12 15:40:38,334 - org.hibernate.cfg.SettingsFactory -4718 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
[INFO] 2012-03-12 15:40:38,334 - org.hibernate.cfg.SettingsFactory -4718 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
[INFO] 2012-03-12 15:40:38,334 - org.hibernate.cfg.SettingsFactory -4718 [main] INFO org.hibernate.cfg.SettingsFactory - Cache provider: org.hibernate.cache.EhCacheProvider
[INFO] 2012-03-12 15:40:38,389 - org.hibernate.cfg.SettingsFactory -4773 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
[INFO] 2012-03-12 15:40:38,389 - org.hibernate.cfg.SettingsFactory -4773 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
[INFO] 2012-03-12 15:40:38,394 - org.hibernate.cfg.SettingsFactory -4778 [main] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout
[INFO] 2012-03-12 15:40:38,394 - org.hibernate.cfg.SettingsFactory -4778 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
[INFO] 2012-03-12 15:40:38,395 - org.hibernate.cfg.SettingsFactory -4779 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
[INFO] 2012-03-12 15:40:38,395 - org.hibernate.cfg.SettingsFactory -4779 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
[INFO] 2012-03-12 15:40:38,572 - org.hibernate.impl.SessionFactoryImpl -4956 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
[INFO] 2012-03-12 15:40:38,584 - net.sf.ehcache.config.Configurator -4968 [main] WARN net.sf.ehcache.config.Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/home/svken/workspace/exportPDFDynamically/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
[INFO] 2012-03-12 15:40:40,513 - org.hibernate.impl.SessionFactoryObjectFactory -6897 [main] INFO org.hibernate.impl.SessionFactoryObjectFactory - Factory name:
[INFO] 2012-03-12 15:40:40,515 - org.hibernate.util.NamingHelper -6899 [main] INFO org.hibernate.util.NamingHelper - JNDI InitialContext properties:{}
[INFO] 2012-03-12 15:40:40,529 - org.hibernate.impl.SessionFactoryObjectFactory -6913 [main] WARN org.hibernate.impl.SessionFactoryObjectFactory - Could not bind factory to JNDI
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
at javax.naming.InitialContext.getNameParser(InitialContext.java:480)
at org.hibernate.util.NamingHelper.bind(NamingHelper.java:52)
at org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:290)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
at exportpdfdynamically.PDF.testSave(PDF.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Hibernate:
select
instrument0_.subprg_id as col_0_0_
from
InstrumentationPoint instrument0_,
subprogram subprogram1_
where
subprogram1_.id=instrument0_.subprg_id
[INFO] 2012-03-12 15:40:40,970 - org.hibernate.util.JDBCExceptionReporter -7354 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null
[INFO] 2012-03-12 15:40:40,971 - org.hibernate.util.JDBCExceptionReporter -7355 [main] ERROR org.hibernate.util.JDBCExceptionReporter - no such table: InstrumentationPoint
org.hibernate.exception.GenericJDBCException: could not execute query
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:2148)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
at org.hibernate.loader.Loader.list(Loader.java:2024)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:308)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:153)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1129)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at exportpdfdynamically.PDF.testSave(PDF.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.sql.SQLException: no such table: InstrumentationPoint
at org.sqlite.DB.throwex(DB.java:288)
at org.sqlite.NativeDB.prepare(Native Method)
at org.sqlite.DB.prepare(DB.java:114)
at org.sqlite.PrepStmt.<init>(PrepStmt.java:37)
at org.sqlite.Conn.prepareStatement(Conn.java:224)
at org.sqlite.Conn.prepareStatement(Conn.java:217)
at org.sqlite.Conn.prepareStatement(Conn.java:206)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:442)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:368)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:105)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561)
at org.hibernate.loader.Loader.doQuery(Loader.java:661)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2145)
... 27 more

....SOMEONE PLEASE HELP...


Top
 Profile  
 
 Post subject: Re: could not exute query
PostPosted: Mon Mar 12, 2012 9:07 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 990
Your problem is another shreyU108.

The query likes to access table InstrumentationPoint,
but this table seems to not exist on your database at all.


Top
 Profile  
 
 Post subject: Re: could not exute query
PostPosted: Mon Mar 12, 2012 9:36 am 
Newbie

Joined: Mon Mar 12, 2012 7:28 am
Posts: 6
first of all thanks for replying immedietly pb00067

actually i am using hql and 'InstrumentationPoint' is a class mapping to the "instrumentationpoint" table...
moreover...according to an online source the warnings i mentioned also contributes to the exception....
....please help...
here is a part of the code and the code inred gives warnings:

Query LOCQuery = sess.createQuery("from SubProgram");
Query Ipoint = sess.createQuery("select ip.subprg_id from InstrumentationPoint ip,SubProgram sp where sp.id = ip.subprg_id");
Query LOCTotal = sess.createQuery("from Info");
Query Location = sess.createQuery("from SourceReference");

List<String> ip = Ipoint.list();
List<SubProgram> LOC = LOCQuery.list();
List<Info> LOCList = LOCTotal.list();
List<SourceReference> srcLocation = Location.list();


Top
 Profile  
 
 Post subject: Re: could not exute query
PostPosted: Mon Mar 12, 2012 10:04 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 990
Quote:
ERROR org.hibernate.util.JDBCExceptionReporter - no such table: InstrumentationPoint


This exception above proves that hibernate don't maps 'InstrumentationPoint' to "instrumentationpoint",
otherwise the word after 'no such table:' would be in lower case.
Thus something is wrong in you mapping files (or annotations)


Top
 Profile  
 
 Post subject: Re: could not exute query
PostPosted: Mon Mar 12, 2012 10:08 am 
Newbie

Joined: Mon Mar 12, 2012 7:28 am
Posts: 6
found n fixed the problem
...anyways thank you so much for replying immediatly...


Top
 Profile  
 
 Post subject: Re: could not exute query
PostPosted: Mon Mar 12, 2012 12:14 pm 
Newbie

Joined: Mon Mar 12, 2012 7:28 am
Posts: 6
sorry pb00067 but only the "ERROR org.hibernate.util.JDBCExceptionReporter - no such table: InstrumentationPoint" is gone

i mean the lines in red are gone
[INFO] 2012-03-12 15:40:40,970 - org.hibernate.util.JDBCExceptionReporter -7354 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null
[INFO] 2012-03-12 15:40:40,971 - org.hibernate.util.JDBCExceptionReporter -7355 [main] ERROR org.hibernate.util.JDBCExceptionReporter - no such table: InstrumentationPoint


wat wrong m i doing??


Top
 Profile  
 
 Post subject: Re: could not exute query
PostPosted: Mon Mar 12, 2012 12:19 pm 
Newbie

Joined: Mon Mar 12, 2012 7:28 am
Posts: 6
here is the stack trace -

Hibernate:
select
instrument0_.subprg_id as col_0_0_
from
instrumentationpoint instrument0_,
subprogram subprogram1_
where
subprogram1_.id=instrument0_.subprg_id
org.hibernate.exception.GenericJDBCException: could not execute query
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:2148)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
at org.hibernate.loader.Loader.list(Loader.java:2024)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:308)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:153)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1129)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at exportpdfdynamically.PDF.generatePDF(PDF.java:53)
at exportpdfdynamically.PdfExportWizard.performFinish(PdfExportWizard.java:53)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(WizardHandler.java:98)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:274)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Caused by: java.sql.SQLException: no such table: instrumentationpoint
at org.sqlite.DB.throwex(DB.java:288)
at org.sqlite.NativeDB.prepare(Native Method)
at org.sqlite.DB.prepare(DB.java:114)
at org.sqlite.PrepStmt.<init>(PrepStmt.java:37)
at org.sqlite.Conn.prepareStatement(Conn.java:224)
at org.sqlite.Conn.prepareStatement(Conn.java:217)
at org.sqlite.Conn.prepareStatement(Conn.java:206)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:442)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:368)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:105)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561)
at org.hibernate.loader.Loader.doQuery(Loader.java:661)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2145)
... 55 more


..please help..


Top
 Profile  
 
 Post subject: Re: could not exute query
PostPosted: Mon Mar 12, 2012 11:28 pm 
Newbie

Joined: Mon Mar 12, 2012 11:18 pm
Posts: 2
I am in support of wonderland, this project is seeing very good fame and should be continued. I'm up for moral support and would do my part to promote this wonderful project.

_________________
None is of freedom or of life deserving unless he daily conquers it anew.beats by dre outlet http://www.monsterbydreheadphones.us/


Top
 Profile  
 
 Post subject: Re: could not exute query
PostPosted: Tue Mar 13, 2012 3:14 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 990
Hi shreyU108,

are you sure if this is the complete stacktrace?
At least there should be some information about the original exception (= the one your jdbc-driver is throwhing) or some info logging from
org.hibernate.util.JDBCExceptionReporter telling something about the original exception.


Top
 Profile  
 
 Post subject: Re: could not exute query
PostPosted: Tue Mar 13, 2012 3:55 am 
Newbie

Joined: Mon Mar 12, 2012 7:28 am
Posts: 6
thank you so much bro...
but this time i've seriously solved the issue and the application's also working fine...
...thanks again..


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.