-->
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.  [ 7 posts ] 
Author Message
 Post subject: Hibernate keeps trying to update when it should insert?
PostPosted: Mon Aug 07, 2006 6:41 pm 
Senior
Senior

Joined: Tue Aug 01, 2006 9:24 pm
Posts: 120
I am trying to run the below code(which i cut out a lot of the extra properties from to save space here) and everytime i try to enter a new item into the database through hibernate i get this error message:

Hibernate: insert into PRODUCTSCORP (ITEMNO, DESCRIPTION, EXTDESC, PRIMARYVENDOR, DEPT, COST, CORPPRICE01, CORPPRICE02, CORPPRICE03, CORPPRICE04, CORPPRICE05, CORPPRICE06, CORPPRICE07, CORPPRICE08, CORPPRICE09, CORPPRICE10, CORPFIXEDPRICE01, CORPFIXEDPRICE02, CORPFIXEDPRICE03, CORPFIXEDPRICE04, CORPFIXEDPRICE05, CORPFIXEDPRICE06, CORPFIXEDPRICE07, CORPFIXEDPRICE08, CORPFIXEDPRICE09, CORPFIXEDPRICE10, USECORPPRICING, PRINTBARCODE, ITEMTYPE, USETAXCORP1, USETAXCORP2, USETAXCORP3, USETAXCORP4, USETAXCORP5, USETAXCORP6, UDFTEXTCORP01, UDFTEXTCORP02, UDFTEXTCORP03, UDFTEXTCORP04, UDFTEXTCORP05, UDFTEXTCORP06, UDFINTCORP01, UDFINTCORP02, UDFINTCORP03, UDFINTCORP04, UDFINTCORP05, UDFINTCORP06, UDFBOOLEANCORP01, UDFBOOLEANCORP02, UDFBOOLEANCORP03, UDFBOOLEANCORP04, UDFBOOLEANCORP05, UDFBOOLEANCORP06, UDFDATETIMECORP01, UDFDATETIMECORP02, UDFDATETIMECORP03, CREATEDDATECORP, PICTURE, MODIFIEDCORP, LASTMODIFIEDCORP, PLU) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: update PRODUCTSSTORE set PLUID=? where PLUID=? and LOCNO=?
3295 [AWT-EventQueue-0] ERROR def.AbstractFlushingEventListener - Could not synchronize database state with session
org.hibernate.HibernateException: Unexpected row count: 0 expected: 1

It is trying to update ProductsStore when it shouldn't be, actually ProductsStore is an empty table that has no rows. This is probably why it is giving the Unexpected row count: 0 expected: 1 error but i don't know how to correct it. Why does hibernate thing it needs to update ProductStore instead of insert into it?

----ProductsCorp Mapping File--->
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" >

<hibernate-mapping>

<!--
Created by Middlegen Hibernate plugin

http://boss.bekk.no/boss/middlegen/
http://hibernate.sourceforge.net/
-->

<class
name="hibernate.Productscorp"
table="PRODUCTSCORP"
>
<id
name="plu"
type="java.lang.String"
column="PLU"
>
<generator class="assigned" />
</id>
<property
name="itemno"
type="java.lang.String"
column="ITEMNO"
length="64"
/>
.....
<property
name="lastmodifiedcorp"
type="java.sql.Date"
column="LASTMODIFIEDCORP"
length="10"
/>

<!-- associations -->
<!-- bi-directional one-to-many association to Productsstore -->
<!-- Other Options to use cascade="all"
lazy="true"
inverse="true" -->

<set
name="productsstores"
cascade="all">

<key>
<column name="PLUID" />
</key>
<one-to-many
class="hibernate.Productsstore"
/>
</set>

</class>
</hibernate-mapping>

--------------ProductsCorp Java Class----->
package hibernate;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class Productscorp implements Serializable {

/** identifier field */
private String plu;

/** nullable persistent field */
private String itemno;

....

/** nullable persistent field */
private Date lastmodifiedcorp;

/** persistent field */
private Set productsstores;

/** full constructor */
public Productscorp(String plu, String itemno, String description, String extdesc, Short primaryvendor, Short dept, Double cost, Double corpprice01, Double corpprice02, Double corpprice03, Double corpprice04, Double corpprice05, Double corpprice06, Double corpprice07, Double corpprice08, Double corpprice09, Double corpprice10, Integer corpfixedprice01, Integer corpfixedprice02, Integer corpfixedprice03, Integer corpfixedprice04, Integer corpfixedprice05, Integer corpfixedprice06, Integer corpfixedprice07, Integer corpfixedprice08, Integer corpfixedprice09, Integer corpfixedprice10, Integer usecorppricing, Integer printbarcode, Short itemtype, Integer usetaxcorp1, Integer usetaxcorp2, Integer usetaxcorp3, Integer usetaxcorp4, Integer usetaxcorp5, Integer usetaxcorp6, String udftextcorp01, String udftextcorp02, String udftextcorp03, String udftextcorp04, String udftextcorp05, String udftextcorp06, Integer udfintcorp01, Integer udfintcorp02, Integer udfintcorp03, Integer udfintcorp04, Integer udfintcorp05, Integer udfintcorp06, Integer udfbooleancorp01, Integer udfbooleancorp02, Integer udfbooleancorp03, Integer udfbooleancorp04, Integer udfbooleancorp05, Integer udfbooleancorp06, Date udfdatetimecorp01, Date udfdatetimecorp02, Date udfdatetimecorp03, Date createddatecorp, String picture, Integer modifiedcorp, Date lastmodifiedcorp, Set productsstores) {
this.plu = plu;
this.itemno = itemno;
....
this.lastmodifiedcorp = lastmodifiedcorp;
this.productsstores = productsstores;
}

/** default constructor */
public Productscorp() {
}

/** minimal constructor */
public Productscorp(String plu, Set productsstores) {
this.plu = plu;
this.productsstores = productsstores;
}

public String getPlu() {
return this.plu;
}

public void setPlu(String plu) {
this.plu = plu;
}

public String getItemno() {
return this.itemno;
}

public void setItemno(String itemno) {
this.itemno = itemno;
}

....

public Date getLastmodifiedcorp() {
return this.lastmodifiedcorp;
}

public void setLastmodifiedcorp(Date lastmodifiedcorp) {
this.lastmodifiedcorp = lastmodifiedcorp;
}

public Set getProductsstores() {
return this.productsstores;
}

public void setProductsstores(Set productsstores) {
this.productsstores = productsstores;
}

public String toString() {
return new ToStringBuilder(this)
.append("plu", getPlu())
.toString();
}

}


--------------ProductsStore Mapping file ---->
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" >

<hibernate-mapping>

<!--
Created by Middlegen Hibernate plugin

http://boss.bekk.no/boss/middlegen/
http://hibernate.sourceforge.net/
-->

<class
name="hibernate.Productsstore"
table="PRODUCTSSTORE"
>
<composite-id name="comp_id" class="hibernate.ProductsstorePK">
<key-property name="pluid" column="PLUID" type="java.lang.String"/>
<key-property name="locno" column="LOCNO" type="short"/>
</composite-id>
<property
name="price01"
type="double"
column="PRICE01"
length="15"
/>
<property
name="price02"
type="double"
column="PRICE02"
length="15"
/>
.....
<property
name="modified"
type="java.lang.Integer"
column="MODIFIED"
length="5"
/>
<property
name="modifiedlast"
type="java.sql.Date"
column="MODIFIEDLAST"
length="10"
/>

</class>
</hibernate-mapping>

------------ProductsStore Java Class----->
package hibernate;

import java.io.Serializable;
import java.util.Date;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class Productsstore implements Serializable {

/** identifier field */
private hibernate.ProductsstorePK comp_id;

/** nullable persistent field */
private Double price01;

/** nullable persistent field */
private Double price02;

.....
/** nullable persistent field */
private Integer modified;

/** nullable persistent field */
private Date modifiedlast;

/** persistent field */
private hibernate.Productscorp productscorp;

/** full constructor */
public Productsstore(hibernate.ProductsstorePK comp_id, Double price01, Double price02, Double price03, Double price04, Double price05, Double price06, Double price07, Double price08, Double price09, Double price10, Integer fixedprice01, Integer fixedprice02, Integer fixedprice03, Integer fixedprice04, Integer fixedprice05, Integer fixedprice06, Integer fixedprice07, Integer fixedprice08, Integer fixedprice09, Integer fixedprice10, Integer iniqty, Integer sold, Integer received, Integer onhand, Integer usetax1, Integer usetax2, Integer usetax3, Integer usetax4, Integer usetax5, Integer usetax6, String itemmsg, Double promopr, Date promostartdate, Date promoenddate, Double commissionmax, Double commisionfixedamount, Double commisionpercprofit, Double commisionpercsale, Integer mixandmatchnum, String udftext01, String udftext02, String udftext03, String udftext04, String udftext05, String udftext06, Integer udfint01, Integer udfint02, Integer udfint03, Integer udfint04, Integer udfint05, Integer udfint06, Integer udfboolean01, Integer udfboolean02, Integer udfboolean03, Integer udfboolean04, Integer udfboolean05, Integer udfboolean06, Date udfdatetime01, Date udfdatetime02, Date udfdatetime03, Date createddate, Integer modified, Date modifiedlast, hibernate.Productscorp productscorp) {
this.comp_id = comp_id;
this.price01 = price01;
this.price02 = price02;
....
this.modified = modified;
this.modifiedlast = modifiedlast;
this.productscorp = productscorp;
}

/** default constructor */
public Productsstore() {
}

/** minimal constructor */
public Productsstore(hibernate.ProductsstorePK comp_id, hibernate.Productscorp productscorp) {
this.comp_id = comp_id;
this.productscorp = productscorp;
}

public hibernate.ProductsstorePK getComp_id() {
return this.comp_id;
}

public void setComp_id(hibernate.ProductsstorePK comp_id) {
this.comp_id = comp_id;
}

public Double getPrice01() {
return this.price01;
}

public void setPrice01(Double price01) {
this.price01 = price01;
}

public Double getPrice02() {
return this.price02;
}

public void setPrice02(Double price02) {
this.price02 = price02;
}

....
public Integer getModified() {
return this.modified;
}

public void setModified(Integer modified) {
this.modified = modified;
}

public Date getModifiedlast() {
return this.modifiedlast;
}

public void setModifiedlast(Date modifiedlast) {
this.modifiedlast = modifiedlast;
}

public String toString() {
return new ToStringBuilder(this)
.append("comp_id", getComp_id())
.toString();
}

public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( !(other instanceof Productsstore) ) return false;
Productsstore castOther = (Productsstore) other;
return new EqualsBuilder()
.append(this.getComp_id(), castOther.getComp_id())
.isEquals();
}

public int hashCode() {
return new HashCodeBuilder()
.append(getComp_id())
.toHashCode();
}

}


--------------ProductsStorePK Java Class----->
package hibernate;

import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class ProductsstorePK implements Serializable {

/** identifier field */
private String pluid;

/** identifier field */
private Short locno;

/** full constructor */
public ProductsstorePK(String pluid, Short locno) {
this.pluid = pluid;
this.locno = locno;
}

/** default constructor */
public ProductsstorePK() {
}

public String getPluid() {
return this.pluid;
}

public void setPluid(String plu) {
this.pluid = pluid;
}

public Short getLocno() {
return this.locno;
}

public void setLocno(Short locno) {
this.locno = locno;
}

public String toString() {
return new ToStringBuilder(this)
.append("pluid", getPluid())
.append("locno", getLocno())
.toString();
}

public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( !(other instanceof ProductsstorePK) ) return false;
ProductsstorePK castOther = (ProductsstorePK) other;
return new EqualsBuilder()
.append(this.getPluid(), castOther.getPluid())
.append(this.getLocno(), castOther.getLocno())
.isEquals();
}

public int hashCode() {
return new HashCodeBuilder()
.append(getPluid())
.append(getLocno())
.toHashCode();
}

}

------------Hibernate Configuration File
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">org.firebirdsql.jdbc.FBDriver</property>
<property name="hibernate.connection.url">jdbc:firebirdsql:localhost/3050:C:\\zee03\\Database\\ZEE3DB.FDB</property>
<property name="hibernate.connection.username">sysdba</property>
<property name="hibernate.connection.password">Password</property>
<property name="hibernate.connection.pool_size">10</property>
<property name="show_sql">true</property>
<property name="dialect">org.hibernate.dialect.FirebirdDialect</property>

<!-- Mapping files -->
<mapping resource="\\hibernate\\Productsstore.hbm.xml"/>
<mapping resource="\\hibernate\\ProductsCorp.hbm.xml"/>
</session-factory>
</hibernate-configuration>

---------------And Finally the code i am using to run this------->
if(pluTxt.getText()!="") {
hibernate.Productscorp cProd = new hibernate.Productscorp();
hibernate.Productsstore lProd = new hibernate.Productsstore();
lProd.setProductscorp(cProd);

cProd.setPlu(pluTxt.getText());

cProd.setDescription(descTxt.getText());

try {
lProd.setPrice01(Double.parseDouble(priceTxt.getText()));
cProd.setCorpprice01(Double.parseDouble(priceTxt.getText()));

} catch (NumberFormatException e) {
// handle exception if the value entered is not a double value
}
try {
cProd.setCost(Double.parseDouble(costTxt.getText()));

} catch (NumberFormatException e) {
// handle exception if the value entered is not a double value
}
cProd.setExtdesc(extDescTxt.getText());

cProd.setItemno(itemNoTxt.getText());

if (useTax1CB.isSelected()){
cProd.setUsetaxcorp1(1);
lProd.setUsetax1(1);
}else {
cProd.setUsetaxcorp1(0);
lProd.setUsetax1(0);
}
if (useTax2CB.isSelected()){
cProd.setUsetaxcorp2(1);
lProd.setUsetax2(1);

}else {
cProd.setUsetaxcorp2(0);
lProd.setUsetax2(0);
}
if (useTax3CB.isSelected()){
cProd.setUsetaxcorp3(1);
lProd.setUsetax3(1);

}else {
cProd.setUsetaxcorp3(0);
lProd.setUsetax3(0);
}
if (useTax4CB.isSelected()){
cProd.setUsetaxcorp4(1);
lProd.setUsetax4(1);

}else {
cProd.setUsetaxcorp4(0);
lProd.setUsetax4(0);

}

if (barcodeCB.isSelected()){
cProd.setPrintbarcode(1);
}else {
cProd.setPrintbarcode(0);
}
cProd.setUdftextcorp01(prodCo1Txt.getText());
cProd.setUdftextcorp02(prodCo2Txt.getText());

if (typeDvdRb.isSelected()){
cProd.setUdftextcorp03("DVD");

}else if (typeVhsRb.isSelected()){
cProd.setUdftextcorp03("VHS");
}else {
cProd.setUdftextcorp01("");
}


Transaction tx = null;
Session session = null;
try{
// This step will read hibernate.cfg.xml and prepare hibernate for use
SessionFactory sessionFactory = new Configuration().setProperty("hibernate.show_sql", "true").configure("\\product_editor\\hibernate.cfg.xml").buildSessionFactory();
session =sessionFactory.openSession();
tx = session.beginTransaction();

cProd.setProductsstores(new java.util.HashSet());
for (int i = locList.size(); i != 0; i--) {
int tmp = (Integer) locList.get(i-1);
short locTmp = (short) tmp;

//set key for productsLocal table
hibernate.ProductsstorePK keyProd = new hibernate.ProductsstorePK(pluTxt.getText(), locTmp);
System.out.println("1. value of pluTxt:" + pluTxt.getText());
lProd.setComp_id(keyProd);

System.out.println("4. plu from keyProd:" + keyProd.getPluid());
cProd.getProductsstores().add(lProd);
}

session.save(cProd);

tx.commit();
System.out.println("Done");

---------------And the full error Message---->
2006-08-07 18:39:23,088 <AWT-EventQueue-0> <org.hibernate.cfg.Environment> { INFO} Hibernate 3.0.5
2006-08-07 18:39:23,138 <AWT-EventQueue-0> <org.hibernate.cfg.Environment> { INFO} hibernate.properties not found
2006-08-07 18:39:23,138 <AWT-EventQueue-0> <org.hibernate.cfg.Environment> { INFO} using CGLIB reflection optimizer
0 [AWT-EventQueue-0] INFO cfg.Environment - Hibernate 3.0.5
50 [AWT-EventQueue-0] INFO cfg.Environment - hibernate.properties not found
50 [AWT-EventQueue-0] INFO cfg.Environment - using CGLIB reflection optimizer
70 [AWT-EventQueue-0] INFO cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
2006-08-07 18:39:23,158 <AWT-EventQueue-0> <org.hibernate.cfg.Environment> { INFO} using JDK 1.4 java.sql.Timestamp handling
2006-08-07 18:39:23,248 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> { INFO} configuring from resource: \product_editor\hibernate.cfg.xml
2006-08-07 18:39:23,248 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> { INFO} Configuration resource: \product_editor\hibernate.cfg.xml
160 [AWT-EventQueue-0] INFO cfg.Configuration - configuring from resource: \product_editor\hibernate.cfg.xml
160 [AWT-EventQueue-0] INFO cfg.Configuration - Configuration resource: \product_editor\hibernate.cfg.xml
2006-08-07 18:39:23,348 <AWT-EventQueue-0> <org.hibernate.util.DTDEntityResolver> {DEBUG} trying to locate http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath under org/hibernate/
2006-08-07 18:39:23,348 <AWT-EventQueue-0> <org.hibernate.util.DTDEntityResolver> {DEBUG} found http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath
2006-08-07 18:39:23,358 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} hibernate.connection.driver_class=org.firebirdsql.jdbc.FBDriver
2006-08-07 18:39:23,358 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} hibernate.connection.url=jdbc:firebirdsql:localhost/3050:C:\\zee03\\Database\\ZEE3DB.FDB
2006-08-07 18:39:23,358 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} hibernate.connection.username=sysdba
260 [AWT-EventQueue-0] DEBUG util.DTDEntityResolver - trying to locate http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath under org/hibernate/
260 [AWT-EventQueue-0] DEBUG util.DTDEntityResolver - found http://hibernate.sourceforge.net/hibern ... on-3.0.dtd in classpath
270 [AWT-EventQueue-0] DEBUG cfg.Configuration - hibernate.connection.driver_class=org.firebirdsql.jdbc.FBDriver
270 [AWT-EventQueue-0] DEBUG cfg.Configuration - hibernate.connection.url=jdbc:firebirdsql:localhost/3050:C:\\zee03\\Database\\ZEE3DB.FDB
270 [AWT-EventQueue-0] DEBUG cfg.Configuration - hibernate.connection.username=sysdba
280 [AWT-EventQueue-0] DEBUG cfg.Configuration - hibernate.connection.password=masterkey
280 [AWT-EventQueue-0] DEBUG cfg.Configuration - hibernate.connection.pool_size=10
280 [AWT-EventQueue-0] DEBUG cfg.Configuration - show_sql=true
280 [AWT-EventQueue-0] DEBUG cfg.Configuration - dialect=org.hibernate.dialect.FirebirdDialect
2006-08-07 18:39:23,368 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} hibernate.connection.password=masterkey
2006-08-07 18:39:23,368 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} hibernate.connection.pool_size=10
2006-08-07 18:39:23,368 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} show_sql=true
280 [AWT-EventQueue-0] DEBUG cfg.Configuration - null<-org.dom4j.tree.DefaultAttribute@1bb326c [Attribute: name resource value "\\hibernate\\Productsstore.hbm.xml"]
280 [AWT-EventQueue-0] INFO cfg.Configuration - Mapping resource: \\hibernate\\Productsstore.hbm.xml
2006-08-07 18:39:23,368 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} dialect=org.hibernate.dialect.FirebirdDialect
2006-08-07 18:39:23,368 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} null<-org.dom4j.tree.DefaultAttribute@1bb326c [Attribute: name resource value "\\hibernate\\Productsstore.hbm.xml"]
2006-08-07 18:39:23,368 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> { INFO} Mapping resource: \\hibernate\\Productsstore.hbm.xml
2006-08-07 18:39:23,398 <AWT-EventQueue-0> <org.hibernate.util.DTDEntityResolver> {DEBUG} trying to locate http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under org/hibernate/
2006-08-07 18:39:23,398 <AWT-EventQueue-0> <org.hibernate.util.DTDEntityResolver> {DEBUG} http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd not found in classpath
310 [AWT-EventQueue-0] DEBUG util.DTDEntityResolver - trying to locate http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under org/hibernate/
310 [AWT-EventQueue-0] DEBUG util.DTDEntityResolver - http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd not found in classpath
2006-08-07 18:39:25,782 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> { INFO} Mapping class: hibernate.Productsstore -> PRODUCTSSTORE
2694 [AWT-EventQueue-0] INFO cfg.HbmBinder - Mapping class: hibernate.Productsstore -> PRODUCTSSTORE
2006-08-07 18:39:25,812 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: pluid -> PLUID
2006-08-07 18:39:25,812 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: locno -> LOCNO
2006-08-07 18:39:25,812 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: comp_id -> PLUID, LOCNO
2724 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: pluid -> PLUID
2724 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: locno -> LOCNO
2724 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: comp_id -> PLUID, LOCNO
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: price01 -> PRICE01
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: price02 -> PRICE02
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: price03 -> PRICE03
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: price04 -> PRICE04
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: price05 -> PRICE05
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: price06 -> PRICE06
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: price07 -> PRICE07
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: price08 -> PRICE08
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: price01 -> PRICE01
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: price02 -> PRICE02
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: price03 -> PRICE03
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: price04 -> PRICE04
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: price05 -> PRICE05
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: price06 -> PRICE06
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: price07 -> PRICE07
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: price08 -> PRICE08
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: price09 -> PRICE09
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: price10 -> PRICE10
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: fixedprice01 -> FIXEDPRICE01
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: fixedprice02 -> FIXEDPRICE02
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: fixedprice03 -> FIXEDPRICE03
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: price09 -> PRICE09
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: price10 -> PRICE10
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: fixedprice01 -> FIXEDPRICE01
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: fixedprice02 -> FIXEDPRICE02
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: fixedprice03 -> FIXEDPRICE03
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: fixedprice04 -> FIXEDPRICE04
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: fixedprice05 -> FIXEDPRICE05
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: fixedprice06 -> FIXEDPRICE06
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: fixedprice07 -> FIXEDPRICE07
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: fixedprice08 -> FIXEDPRICE08
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: fixedprice09 -> FIXEDPRICE09
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: fixedprice04 -> FIXEDPRICE04
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: fixedprice05 -> FIXEDPRICE05
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: fixedprice06 -> FIXEDPRICE06
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: fixedprice07 -> FIXEDPRICE07
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: fixedprice08 -> FIXEDPRICE08
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: fixedprice09 -> FIXEDPRICE09
2774 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: fixedprice10 -> FIXEDPRICE10
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: iniqty -> INIQTY
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: sold -> SOLD
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: received -> RECEIVED
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: onhand -> ONHAND
2006-08-07 18:39:25,862 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: fixedprice10 -> FIXEDPRICE10
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: iniqty -> INIQTY
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: sold -> SOLD
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: received -> RECEIVED
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetax1 -> USETAX1
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetax2 -> USETAX2
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetax3 -> USETAX3
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetax4 -> USETAX4
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetax5 -> USETAX5
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: onhand -> ONHAND
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetax1 -> USETAX1
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetax2 -> USETAX2
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetax3 -> USETAX3
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetax4 -> USETAX4
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetax5 -> USETAX5
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetax6 -> USETAX6
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: itemmsg -> ITEMMSG
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: promopr -> PROMOPR
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: promostartdate -> PROMOSTARTDATE
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: promoenddate -> PROMOENDDATE
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetax6 -> USETAX6
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: itemmsg -> ITEMMSG
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: promopr -> PROMOPR
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: promostartdate -> PROMOSTARTDATE
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: promoenddate -> PROMOENDDATE
2784 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: commissionmax -> COMMISSIONMAX
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: commisionfixedamount -> COMMISIONFIXEDAMOUNT
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: commisionpercprofit -> COMMISIONPERCPROFIT
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: commisionpercsale -> COMMISIONPERCSALE
2006-08-07 18:39:25,872 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: commissionmax -> COMMISSIONMAX
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: commisionfixedamount -> COMMISIONFIXEDAMOUNT
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: commisionpercprofit -> COMMISIONPERCPROFIT
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: commisionpercsale -> COMMISIONPERCSALE
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: mixandmatchnum -> MIXANDMATCHNUM
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftext01 -> UDFTEXT01
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftext02 -> UDFTEXT02
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftext03 -> UDFTEXT03
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftext04 -> UDFTEXT04
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: mixandmatchnum -> MIXANDMATCHNUM
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftext01 -> UDFTEXT01
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftext02 -> UDFTEXT02
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftext03 -> UDFTEXT03
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftext04 -> UDFTEXT04
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftext05 -> UDFTEXT05
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftext06 -> UDFTEXT06
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfint01 -> UDFINT01
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfint02 -> UDFINT02
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfint03 -> UDFINT03
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftext05 -> UDFTEXT05
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftext06 -> UDFTEXT06
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfint01 -> UDFINT01
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfint02 -> UDFINT02
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfint04 -> UDFINT04
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfint05 -> UDFINT05
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfint06 -> UDFINT06
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfboolean01 -> UDFBOOLEAN01
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfboolean02 -> UDFBOOLEAN02
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfint03 -> UDFINT03
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfint04 -> UDFINT04
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfint05 -> UDFINT05
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfint06 -> UDFINT06
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfboolean01 -> UDFBOOLEAN01
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfboolean02 -> UDFBOOLEAN02
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfboolean03 -> UDFBOOLEAN03
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfboolean04 -> UDFBOOLEAN04
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfboolean05 -> UDFBOOLEAN05
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfboolean06 -> UDFBOOLEAN06
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfboolean03 -> UDFBOOLEAN03
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfboolean04 -> UDFBOOLEAN04
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfboolean05 -> UDFBOOLEAN05
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfboolean06 -> UDFBOOLEAN06
2794 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfdatetime01 -> UDFDATETIME01
2804 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfdatetime02 -> UDFDATETIME02
2804 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfdatetime03 -> UDFDATETIME03
2804 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: createddate -> CREATEDDATE
2804 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: modified -> MODIFIED
2006-08-07 18:39:25,882 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfdatetime01 -> UDFDATETIME01
2006-08-07 18:39:25,892 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfdatetime02 -> UDFDATETIME02
2006-08-07 18:39:25,892 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfdatetime03 -> UDFDATETIME03
2006-08-07 18:39:25,892 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: createddate -> CREATEDDATE
2006-08-07 18:39:25,892 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: modified -> MODIFIED
2804 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: modifiedlast -> MODIFIEDLAST
2804 [AWT-EventQueue-0] DEBUG cfg.Configuration - null<-org.dom4j.tree.DefaultAttribute@40afb9 [Attribute: name resource value "\\hibernate\\ProductsCorp.hbm.xml"]
2804 [AWT-EventQueue-0] INFO cfg.Configuration - Mapping resource: \\hibernate\\ProductsCorp.hbm.xml
2006-08-07 18:39:25,892 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: modifiedlast -> MODIFIEDLAST
2006-08-07 18:39:25,892 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} null<-org.dom4j.tree.DefaultAttribute@40afb9 [Attribute: name resource value "\\hibernate\\ProductsCorp.hbm.xml"]
2006-08-07 18:39:25,892 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> { INFO} Mapping resource: \\hibernate\\ProductsCorp.hbm.xml
2006-08-07 18:39:25,932 <AWT-EventQueue-0> <org.hibernate.util.DTDEntityResolver> {DEBUG} trying to locate http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under org/hibernate/
2006-08-07 18:39:25,932 <AWT-EventQueue-0> <org.hibernate.util.DTDEntityResolver> {DEBUG} http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd not found in classpath
2844 [AWT-EventQueue-0] DEBUG util.DTDEntityResolver - trying to locate http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under org/hibernate/
2844 [AWT-EventQueue-0] DEBUG util.DTDEntityResolver - http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd not found in classpath
2006-08-07 18:39:26,182 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> { INFO} Mapping class: hibernate.Productscorp -> PRODUCTSCORP
2006-08-07 18:39:26,182 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: plu -> PLU
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: itemno -> ITEMNO
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: description -> DESCRIPTION
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: extdesc -> EXTDESC
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: primaryvendor -> PRIMARYVENDOR
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: dept -> DEPT
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: cost -> COST
3094 [AWT-EventQueue-0] INFO cfg.HbmBinder - Mapping class: hibernate.Productscorp -> PRODUCTSCORP
3094 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: plu -> PLU
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: itemno -> ITEMNO
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: description -> DESCRIPTION
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: extdesc -> EXTDESC
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: primaryvendor -> PRIMARYVENDOR
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: dept -> DEPT
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: cost -> COST
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpprice01 -> CORPPRICE01
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpprice02 -> CORPPRICE02
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpprice03 -> CORPPRICE03
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpprice04 -> CORPPRICE04
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpprice05 -> CORPPRICE05
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpprice01 -> CORPPRICE01
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpprice02 -> CORPPRICE02
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpprice03 -> CORPPRICE03
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpprice04 -> CORPPRICE04
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpprice05 -> CORPPRICE05
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpprice06 -> CORPPRICE06
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpprice07 -> CORPPRICE07
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpprice08 -> CORPPRICE08
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpprice09 -> CORPPRICE09
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpprice10 -> CORPPRICE10
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpprice06 -> CORPPRICE06
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpprice07 -> CORPPRICE07
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpprice08 -> CORPPRICE08
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpprice09 -> CORPPRICE09
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpprice10 -> CORPPRICE10
3104 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpfixedprice01 -> CORPFIXEDPRICE01
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpfixedprice02 -> CORPFIXEDPRICE02
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpfixedprice03 -> CORPFIXEDPRICE03
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpfixedprice04 -> CORPFIXEDPRICE04
2006-08-07 18:39:26,192 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpfixedprice01 -> CORPFIXEDPRICE01
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpfixedprice02 -> CORPFIXEDPRICE02
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpfixedprice03 -> CORPFIXEDPRICE03
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpfixedprice04 -> CORPFIXEDPRICE04
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpfixedprice05 -> CORPFIXEDPRICE05
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpfixedprice06 -> CORPFIXEDPRICE06
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpfixedprice07 -> CORPFIXEDPRICE07
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpfixedprice08 -> CORPFIXEDPRICE08
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpfixedprice05 -> CORPFIXEDPRICE05
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpfixedprice06 -> CORPFIXEDPRICE06
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpfixedprice07 -> CORPFIXEDPRICE07
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpfixedprice08 -> CORPFIXEDPRICE08
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpfixedprice09 -> CORPFIXEDPRICE09
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: corpfixedprice10 -> CORPFIXEDPRICE10
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usecorppricing -> USECORPPRICING
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: printbarcode -> PRINTBARCODE
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpfixedprice09 -> CORPFIXEDPRICE09
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: corpfixedprice10 -> CORPFIXEDPRICE10
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usecorppricing -> USECORPPRICING
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: printbarcode -> PRINTBARCODE
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: itemtype -> ITEMTYPE
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetaxcorp1 -> USETAXCORP1
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetaxcorp2 -> USETAXCORP2
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetaxcorp3 -> USETAXCORP3
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetaxcorp4 -> USETAXCORP4
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: itemtype -> ITEMTYPE
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetaxcorp1 -> USETAXCORP1
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetaxcorp2 -> USETAXCORP2
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetaxcorp3 -> USETAXCORP3
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetaxcorp4 -> USETAXCORP4
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetaxcorp5 -> USETAXCORP5
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: usetaxcorp6 -> USETAXCORP6
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftextcorp01 -> UDFTEXTCORP01
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftextcorp02 -> UDFTEXTCORP02
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetaxcorp5 -> USETAXCORP5
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: usetaxcorp6 -> USETAXCORP6
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftextcorp01 -> UDFTEXTCORP01
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftextcorp02 -> UDFTEXTCORP02
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftextcorp03 -> UDFTEXTCORP03
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftextcorp04 -> UDFTEXTCORP04
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftextcorp05 -> UDFTEXTCORP05
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udftextcorp06 -> UDFTEXTCORP06
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftextcorp03 -> UDFTEXTCORP03
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftextcorp04 -> UDFTEXTCORP04
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftextcorp05 -> UDFTEXTCORP05
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfintcorp01 -> UDFINTCORP01
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfintcorp02 -> UDFINTCORP02
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfintcorp03 -> UDFINTCORP03
3114 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfintcorp04 -> UDFINTCORP04
3124 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfintcorp05 -> UDFINTCORP05
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udftextcorp06 -> UDFTEXTCORP06
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfintcorp01 -> UDFINTCORP01
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfintcorp02 -> UDFINTCORP02
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfintcorp03 -> UDFINTCORP03
2006-08-07 18:39:26,202 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfintcorp04 -> UDFINTCORP04
2006-08-07 18:39:26,212 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfintcorp05 -> UDFINTCORP05
3124 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfintcorp06 -> UDFINTCORP06
3124 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfbooleancorp01 -> UDFBOOLEANCORP01
3124 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfbooleancorp02 -> UDFBOOLEANCORP02
3124 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfbooleancorp03 -> UDFBOOLEANCORP03
2006-08-07 18:39:26,212 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfintcorp06 -> UDFINTCORP06
2006-08-07 18:39:26,212 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfbooleancorp01 -> UDFBOOLEANCORP01
2006-08-07 18:39:26,212 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfbooleancorp02 -> UDFBOOLEANCORP02
2006-08-07 18:39:26,212 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfbooleancorp03 -> UDFBOOLEANCORP03
3124 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfbooleancorp04 -> UDFBOOLEANCORP04
3124 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfbooleancorp05 -> UDFBOOLEANCORP05
3124 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfbooleancorp06 -> UDFBOOLEANCORP06
2006-08-07 18:39:26,212 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfbooleancorp04 -> UDFBOOLEANCORP04
2006-08-07 18:39:26,212 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfbooleancorp05 -> UDFBOOLEANCORP05
2006-08-07 18:39:26,212 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfbooleancorp06 -> UDFBOOLEANCORP06
2006-08-07 18:39:26,212 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfdatetimecorp01 -> UDFDATETIMECORP01
2006-08-07 18:39:26,212 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfdatetimecorp02 -> UDFDATETIMECORP02
2006-08-07 18:39:26,232 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: udfdatetimecorp03 -> UDFDATETIMECORP03
2006-08-07 18:39:26,232 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: createddatecorp -> CREATEDDATECORP
2006-08-07 18:39:26,232 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: picture -> PICTURE
2006-08-07 18:39:26,232 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: modifiedcorp -> MODIFIEDCORP
3124 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfdatetimecorp01 -> UDFDATETIMECORP01
3124 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfdatetimecorp02 -> UDFDATETIMECORP02
3144 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: udfdatetimecorp03 -> UDFDATETIMECORP03
3144 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: createddatecorp -> CREATEDDATECORP
3144 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: picture -> PICTURE
3144 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: modifiedcorp -> MODIFIEDCORP
3144 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: lastmodifiedcorp -> LASTMODIFIEDCORP
3154 [AWT-EventQueue-0] DEBUG cfg.HbmBinder - Mapped property: productsstores
3154 [AWT-EventQueue-0] INFO cfg.Configuration - Configured SessionFactory: null
2006-08-07 18:39:26,232 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: lastmodifiedcorp -> LASTMODIFIEDCORP
2006-08-07 18:39:26,242 <AWT-EventQueue-0> <org.hibernate.cfg.HbmBinder> {DEBUG} Mapped property: productsstores
2006-08-07 18:39:26,242 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> { INFO} Configured SessionFactory: null
2006-08-07 18:39:26,242 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} properties: {hibernate.connection.password=masterkey, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Program Files\Java\jdk1.5.0_05\jre\bin, java.vm.version=1.5.0_05-b05, hibernate.connection.username=sysdba, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Documents and Settings\Mike\My Documents\java programing\zee3inventory, java.runtime.version=1.5.0_05-b05, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Program Files\Java\jdk1.5.0_05\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\Mike\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.jnu.encoding=Cp1252, java.library.path=C:\Program Files\Java\jdk1.5.0_05\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Seagate Software\NOTES\;C:\Program Files\Seagate Software\NOTES\DATA\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Sun\AppServer\bin, java.specification.name=Java Platform API Specification, java.class.version=49.0, hibernate.connection.pool_size=10, sun.management.compiler=HotSpot Client Compiler, os.version=5.1, user.home=C:\Documents and Settings\Mike, user.timezone=America/New_York, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.5, hibernate.connection.driver_class=org.firebirdsql.jdbc.FBDriver, show_sql=true, user.name=Mike, java.class.path=C:\Program Files\netbeans-5.5beta\platform6\modules\ext\swing-layout-1.0.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2\lib\commons-beanutils-1.5.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2\lib\commons-collections-2.1.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2\lib\commons-digester-1.7.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2\lib\commons-javaflow-20060411.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2\lib\commons-logging-1.0.2.jar;D:\Downloads\java programming\quicktable2swing11\quicktable2swing11\lib\quicktable2swing11.jar;D:\Downloads\java programming\dom4j-1.6.1.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2.jar;C:\Program Files\netbeans-5.5beta\ide7\modules\ext\AbsoluteLayout.jar;D:\Downloads\jnlp.jar;D:\Downloads\java programming\dom4j-1.6.1\dom4j-1.6.1\lib\jaxen-1.1-beta-6.jar;D:\Downloads\java programming\mysql-connector-java-3.1.11-bin.jar;D:\Downloads\java programming\hibernate-3.1.3\hibernate-3.1\lib\asm.jar;D:\Downloads\java programming\hibernate-3.1.3\hibernate-3.1\lib\cglib-2.1.3.jar;D:\Downloads\java programming\hibernate-3.1.3\hibernate-3.1\lib\concurrent-1.3.2.jar;D:\Downloads\java programming\hibernate-3.1.3\hibernate-3.1\lib\ehcache-1.1.jar;D:\Downloads\java programming\hibernate-3.1.3\hibernate-3.1\lib\jdbc2_0-stdext.jar;D:\Downloads\java programming\hibernate-3.1.3\hibernate-3.1\lib\jta.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\hibernate3.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\lib\cglib-2.1.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\lib\commons-collections-2.1.1.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\lib\commons-logging-1.0.4.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\lib\concurrent-1.3.2.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\lib\dom4j-1.6.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\lib\ehcache-1.1.jar;C:\Documents and Settings\Mike\.netbeans\5.5beta\config\libraries\mm-mysql\mm-mysql-2.0.13-bin.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\lib\jdbc2_0-stdext.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\lib\jta.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\lib\log4j-1.2.9.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\lib\antlr-2.7.5H3.jar;D:\Downloads\hibernate-3.0.5\hibernate-3.0\lib\asm.jar;D:\Downloads\java programming\Jaybird-2.1.0beta1JDK_1.5\lib\jaas.jar;D:\Downloads\java programming\Jaybird-2.1.0beta1JDK_1.5\lib\log4j-core.jar;D:\Downloads\java programming\Jaybird-2.1.0beta1JDK_1.5\lib\mini-j2ee.jar;D:\Middlegen-Hibernate-r2\lib\commons-lang-1.0.1.jar;D:\Downloads\java programming\Jaybird-2.1.0beta1JDK_1.5\jaybird-full-2.1.0.jar;C:\Documents and Settings\Mike\My Documents\java programing\zee3inventory\build\classes, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=C:\Program Files\Java\jdk1.5.0_05\jre, sun.arch.data.model=32, hibernate.dialect=org.hibernate.dialect.FirebirdDialect, hibernate.connection.url=jdbc:firebirdsql:localhost/3050:C:\\zee03\\Database\\ZEE3DB.FDB, user.language=en, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.5.0_05, java.ext.dirs=C:\Program Files\Java\jdk1.5.0_05\jre\lib\ext, sun.boot.class.path=C:\Program Files\Java\jdk1.5.0_05\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_05\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_05\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.5.0_05\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_05\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_05\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_05\jre\classes, java.vendor=Sun Microsystems Inc., file.separator=\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, sun.desktop=windows, dialect=org.hibernate.dialect.FirebirdDialect, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86}
3154 [AWT-EventQueue-0] DEBUG cfg.Configuration - properties: {hibernate.connection.password=masterkey, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Program Files\Java\jdk1.5.0_05\jre\bin, java.vm.version=1.5.0_05-b05, hibernate.connection.username=sysdba, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Documents and Settings\Mike\My Documents\java programing\zee3inventory, java.runtime.version=1.5.0_05-b05, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Program Files\Java\jdk1.5.0_05\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\Mike\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.jnu.encoding=Cp1252, java.library.path=C:\Program Files\Java\jdk1.5.0_05\jre\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Seagate Software\NOTES\;C:\Program Files\Seagate Software\NOTES\DATA\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Sun\AppServer\bin, java.specification.name=Java Platform API Specification, java.class.version=49.0, hibernate.connection.pool_size=10, sun.management.compiler=HotSpot Client Compiler, os.version=5.1, user.home=C:\Documents and Settings\Mike, user.timezone=America/New_York, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.5, hibernate.connection.driver_class=org.firebirdsql.jdbc.FBDriver, show_sql=true, user.name=Mike, java.class.path=C:\Program Files\netbeans-5.5beta\platform6\modules\ext\swing-layout-1.0.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2\lib\commons-beanutils-1.5.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2\lib\commons-collections-2.1.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2\lib\commons-digester-1.7.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2\lib\commons-javaflow-20060411.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2\lib\commons-logging-1.0.2.jar;D:\Downloads\java programming\quicktable2swing11\quicktable2swing11\lib\quicktable2swing11.jar;D:\Downloads\java programming\dom4j-1.6.1.jar;D:\Downloads\java programming\jasper reports\jasperreports-1.2.2.jar;C:\Program Files\netbeans-5.5beta\ide7\modu


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 07, 2006 10:42 pm 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
You haven't told hibernate that PLUID in Store is the same as PLUID in CORP. Use this composite-id:
Code:
<composite-id name="comp_id" class="hibernate.ProductsstorePK">
<key-many-to-one name="pluid" column="PLUID" class="hibernate.ProductsCorp"/>
<key-property name="locno" column="LOCNO" type="short"/>
</composite-id>
Obviously you need to change your ProductstorePK class to have a Productscorp object instead of a PLUID string.

_________________
Code tags are your friend. Know them and use them.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 08, 2006 6:25 pm 
Senior
Senior

Joined: Tue Aug 01, 2006 9:24 pm
Posts: 120
Ok i changed the mapping:

Code:
<class
    name="hibernate.Productsstore"
    table="PRODUCTSSTORE"
>
    <composite-id name="comp_id" class="hibernate.ProductsstorePK">
        <key-many-to-one name="plu" column="PLU" class="hibernate.ProductsCorp"/>
        <key-property name="locno" column="LOCNO" type="short"/>
    </composite-id>   
    <property
        name="price01"
        type="double"
        column="PRICE01"
        length="15"
    />



And I changed the ProductsStorePK class file(which apparently i must have done horribly wrong)

Code:
public class ProductsstorePK implements Serializable {

    /** identifier field */
    private hibernate.Productscorp productsCorp;

    /** identifier field */
    private Short locno;
   
    /** full constructor */
    public ProductsstorePK(hibernate.Productscorp productsCorp, Short locno) {
        this.productsCorp = productsCorp;
        this.locno = locno;
    }

    /** default constructor */
    public ProductsstorePK() {
    }

    public Short getLocno() {
        return this.locno;
    }

    public void setLocno(Short locno) {
        this.locno = locno;
    }
   
    public hibernate.Productscorp getProductscorp() {
        return this.productsCorp;
    }

    public void setProductscorp(hibernate.Productscorp productscorp) {
        this.productsCorp = productsCorp;
    }
   
    public String toString() {
        return new ToStringBuilder(this)
            .append("locno", getLocno())
            .toString();
    }

    public boolean equals(Object other) {
        if ( (this == other ) ) return true;
        if ( !(other instanceof ProductsstorePK) ) return false;
        ProductsstorePK castOther = (ProductsstorePK) other;
        return new EqualsBuilder()
            .append(this.productsCorp.getPlu(), castOther.productsCorp.getPlu())
            .append(this.getLocno(), castOther.getLocno())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(productsCorp.getPlu())
            .append(getLocno())
            .toHashCode();
    }

}


And i ended up with this error message:

Quote:
5608 [AWT-EventQueue-0] DEBUG cfg.Configuration - resolving reference to class: hibernate.ProductsCorp
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at product_editor.ProdEdtFrame.saveProduct(ProdEdtFrame.java:998)
2006-08-08 18:20:26,011 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} resolving reference to class: hibernate.ProductsCorp
something has gone wrong
org.hibernate.MappingException: An association from the table PRODUCTSSTORE refers to an unmapped class: hibernate.ProductsCorp:An association from the table PRODUCTSSTORE refers to an unmapped class: hibernate.ProductsCorp
at product_editor.ProdEdtFrame.jButton4ActionPerformed(ProdEdtFrame.java:552)
at product_editor.ProdEdtFrame.access$000(ProdEdtFrame.java:25)
at product_editor.ProdEdtFrame$1.actionPerformed(ProdEdtFrame.java:198)
[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 08, 2006 6:36 pm 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
I don't remember for sure, but it's possible that Hibernate 2 is sensitive to the order of mapping files. Check your .cfg.xml to ensure that ProductsCorp is mapped before ProductStore.

If that's not it, it's probably something like that. Read up on the import element and the auto-import attribute on the class element.

_________________
Code tags are your friend. Know them and use them.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 09, 2006 7:12 am 
Senior
Senior

Joined: Tue Aug 01, 2006 9:24 pm
Posts: 120
I placed ProductCorp before ProductsStore in the hibernate configuration file:

and i received this error

Quote:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at product_editor.ProdEdtFrame.saveProduct(ProdEdtFrame.java:998)
2006-08-09 07:05:53,933 <AWT-EventQueue-0> <org.hibernate.cfg.Configuration> {DEBUG} resolving reference to class: hibernate.ProductsCorp
something has gone wrong
org.hibernate.MappingException: An association from the table PRODUCTSSTORE refers to an unmapped class: hibernate.ProductsCorp:An association from the table PRODUCTSSTORE refers to an unmapped class: hibernate.ProductsCorp
at product_editor.ProdEdtFrame.jButton4ActionPerformed(ProdEdtFrame.java:552)
at product_editor.ProdEdtFrame.access$000(ProdEdtFrame.java:25)


I don't know if this is useful or not but the actual code i am using to load this item is here

Code:
           Transaction tx = null;
            Session session = null;
            try{
                // This step will read hibernate.cfg.xml and prepare hibernate for use
                SessionFactory sessionFactory = new Configuration().setProperty("hibernate.show_sql", "true").configure("\\product_editor\\hibernate.cfg.xml").buildSessionFactory();
                session =sessionFactory.openSession();
                tx = session.beginTransaction();

                cProd.setProductsstores(new java.util.HashSet());
                for (int i = locList.size(); i != 0; i--) {
                    int tmp = (Integer) locList.get(i-1);
                    short locTmp = (short) tmp;

                    //set key for productsLocal table
                    hibernate.ProductsstorePK keyProd = new hibernate.ProductsstorePK(cProd, locTmp);
                    System.out.println("1. value of pluTxt:" + pluTxt.getText());
                    lProd.setComp_id(keyProd);
                   
                    cProd.getProductsstores().add(lProd);
                }
                System.out.println("3. size of plu in corp:" + cProd.getProductsstores().size());
                java.util.Set hs = cProd.getProductsstores();
                hibernate.Productsstore ps = (hibernate.Productsstore)hs.iterator().next();
                hibernate.ProductsstorePK kp = ps.getComp_id();
                session.save(cProd);
               
                tx.commit();
                System.out.println("Done");
            }catch(Exception e){
                System.out.println(e + ":" + e.getMessage().toString());
            }finally{
                // Actual contact insertion will happen at this step
                session.flush();
                session.close();
               
            }


I am actually trying to save ProductStore through the ProductsCorp side the one-to-many, it seems as though you are pointing me in the opposite direction, Not to say i have any idea what i am doing because i apparently don't.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 09, 2006 6:10 pm 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
I don't think that I'm suggesting the opposite to you. I'm just trying to eliminate the use of IDs when entity references are more appropriate. When hibernate is told that a particular column is a reference to another mapped entity, it can figure out more about cascades, delete order, and things like that. You do want to cascade-delete from one to many, I'm not suggesting that you do the reverse.

About your mapping problem: I notice that ProductsCorp is declared as Productscorp, but referenced as ProductsCorp. Ensure that all capitalization is correct.

_________________
Code tags are your friend. Know them and use them.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 10, 2006 7:57 am 
Regular
Regular

Joined: Tue May 16, 2006 3:32 am
Posts: 117
If your child uses composite-id then by default it would always update on cascade since its id is already set and the unsaved-value cannot be used in this case.

Hibernate 2 reference : 7.4.

"Since a composite identifier must be assigned to the object before saving it, we can't use unsaved-value of the identifier to distinguish between newly instantiated instances and instances saved in a previous session.

You may instead implement Interceptor.isUnsaved() if you wish to use saveOrUpdate() or cascading save / update. As an alternative, you may also set the unsaved-value attribute on a <version> (or <timestamp>) element to specify a value that indicates a new transient instance. In this case, the version of the entity is used instead of the (assigned) identifier and you don't have to implement Interceptor.isUnsaved() yourself. "


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 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.