java.sql.BatchUpdateException: Unknown column 'elt' in 'field list'

Hi,

I am trying to implement many to many relationship in hibernate and having weird this error. there is no 'elt' table in any of tables. Any ideas?

+++++++++++++++++

java.sql.BatchUpdateException: Unknown column 'elt' in 'field list'
      at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1103)
      at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:853)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:143)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:985)
      at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:333)
      at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
      at edu.jhu.jhu786.hib.PersonDAOImpl.insert(PersonDAOImpl.java:34)
      at edu.jhu.jhu786.hib.TestDriver.insertPerson(TestDriver.java:103)
      at edu.jhu.jhu786.hib.TestDriver.main(TestDriver.java:80)
[2007-03-16 17:23:54,693] WARN  org.hibernate.util.JDBCExceptionReporter SQL Error: 1054, SQLState: 42S22
[2007-03-16 17:23:54,693] ERROR org.hibernate.util.JDBCExceptionReporter Unknown column 'elt' in 'field list'
[2007-03-16 17:23:54,693] ERROR org.hibernate.event.def.AbstractFlushingEventListener Could not synchronize database state with session
org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:202)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:143)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:985)
      at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:333)
      at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
      at edu.jhu.jhu786.hib.PersonDAOImpl.insert(PersonDAOImpl.java:34)
      at edu.jhu.jhu786.hib.TestDriver.insertPerson(TestDriver.java:103)
      at edu.jhu.jhu786.hib.TestDriver.main(TestDriver.java:80)
Caused by: java.sql.BatchUpdateException: Unknown column 'elt' in 'field list'
      at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1103)
      at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:853)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
      ... 10 more
[2007-03-16 17:23:54,693] DEBUG org.hibernate.jdbc.ConnectionManager registering flush end
[2007-03-16 17:23:54,693] INFO  org.hibernate.impl.SessionFactoryImpl closing
[2007-03-16 17:23:54,693] INFO  org.hibernate.connection.DriverManagerConnectionProvider cleaning up connection pool: jdbc:mysql://localhost:3306/jhu786
Exception in thread "main" org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:202)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:143)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:985)
      at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:333)
      at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
      at edu.jhu.jhu786.hib.PersonDAOImpl.insert(PersonDAOImpl.java:34)
      at edu.jhu.jhu786.hib.TestDriver.insertPerson(TestDriver.java:103)
      at edu.jhu.jhu786.hib.TestDriver.main(TestDriver.java:80)
Caused by: java.sql.BatchUpdateException: Unknown column 'elt' in 'field list'
      at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1103)
      at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:853)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
      ... 10 more
dkim18Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CEHJCommented:
It's not a table, but a column. Check the mappings
0
objectsCommented:
> Unknown column 'elt' in 'field list'

unknow *volumn*, not table

check hbm file
0
objectsCommented:
Looks the incorrect mapping is with your Person class
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

dkim18Author Commented:
Anything wrong here?
++++++++++++++++++++++++++++++++++++++

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
    Mapping file autogenerated by MyEclipse - Hibernate Tools
-->
<hibernate-mapping>
    <class name="edu.jhu.jhu786.hib.Person" table="person" catalog="jhu786">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="assigned" />
        </id>
        <property name="versionNum" type="java.lang.Integer">
            <column name="version_num" not-null="true" />
        </property>
        <property name="familyName" type="java.lang.String">
            <column name="family_name" length="20" />
        </property>
        <property name="givenName" type="java.lang.String">
            <column name="given_name" length="20" />
        </property>
        <property name="relocate" type="java.lang.String">
            <column name="relocate" length="20" />
        </property>
        <set name="addresses" table="person_address" cascade="all" >
            <key column="person_id"/>                     
                          <many-to-many class="edu.jhu.jhu786.hib.Address" />                      
        </set>  
       
    </class>
</hibernate-mapping>

++++++++++++++++++++
package edu.jhu.jhu786.hib;

import java.util.HashSet;
import java.util.Set;


/**
 * Person
 */

public class Person extends BaseModel implements java.io.Serializable {


    // Fields    

    // private Integer id;
     //private Integer versionNum;
     private String familyName;
     private String givenName;
     private String relocate;
     private Set addresses;


    // Constructors

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

      /** minimal constructor */
    public Person(Integer id, Integer versionNum) {
        this.id = id;
        this.versionNum = versionNum;
    }
   
    /** full constructor */
    public Person(Integer versionNum, String familyName, String givenName, String relocate) {

        this.versionNum = versionNum;
        this.familyName = familyName;
        this.givenName = givenName;
        this.relocate = relocate;
     
    }

   
    public String getFamilyName() {
        return this.familyName;
    }
   
    public void setFamilyName(String familyName) {
        this.familyName = familyName;
    }

    public String getGivenName() {
        return this.givenName;
    }
   
    public void setGivenName(String givenName) {
        this.givenName = givenName;
    }

    public String getRelocate() {
        return this.relocate;
    }
   
    public void setRelocate(String relocate) {
        this.relocate = relocate;
    }

    public Set getAddresses() {
        return this.addresses;
    }
   
    public void setAddresses(Set addresses) {
        this.addresses = addresses;
    }
   

}
0
objectsCommented:
whats your Address mapping look like?
0
dkim18Author Commented:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
    <class name="edu.jhu.jhu786.hib.Address" table="address" catalog="jhu786">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="assigned" />
        </id>
     
        <property name="versionNum" type="java.lang.Integer">
            <column name="version_num" not-null="true" />
        </property>
        <property name="street1" type="java.lang.String">
            <column name="street1" length="50" />
        </property>
        <property name="street2" type="java.lang.String">
            <column name="street2" length="50" />
        </property>
        <property name="city" type="java.lang.String">
            <column name="city" length="50" />
        </property>
        <property name="state" type="java.lang.String">
            <column name="state" length="2" />
        </property>
        <property name="zip" type="java.lang.String">
            <column name="zip" length="10" />
        </property>
        <property name="latitude" type="java.lang.Float">
            <column name="latitude" precision="4" />
        </property>
        <property name="longitude" type="java.lang.Float">
            <column name="longitude" precision="4" />
        </property>
         <set name="persons" table="person_address"  cascade="all" >
            <key column="address_id"/>                     
                          <many-to-many class="edu.jhu.jhu786.hib.Person" />                      
        </set>  
    </class>
</hibernate-mapping>
0
objectsCommented:
hmm, turn on sql logging in your hibernate config and post the output from the log
0
dkim18Author Commented:
log4j:WARN Continuable parsing error 54 and column 23
log4j:WARN The content of element type "log4j:configuration" must match "(renderer*,appender*,(category|logger)*,root?,categoryFactory?)".
[2007-03-16 17:23:48,709] INFO  org.springframework.core.CollectionFactory JDK 1.4+ collections available
[2007-03-16 17:23:48,803] INFO  org.springframework.core.CollectionFactory Commons Collections 3.x available
[2007-03-16 17:23:48,849] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader Loading XML bean definitions from class path resource [applicationContext.xml]
[2007-03-16 17:23:49,193] INFO  org.hibernate.cfg.Environment Hibernate 3.1.3
[2007-03-16 17:23:49,193] INFO  org.hibernate.cfg.Environment hibernate.properties not found
[2007-03-16 17:23:49,209] INFO  org.hibernate.cfg.Environment using CGLIB reflection optimizer
[2007-03-16 17:23:49,209] INFO  org.hibernate.cfg.Environment using JDK 1.4 java.sql.Timestamp handling
[2007-03-16 17:23:49,474] INFO  org.hibernate.cfg.Configuration configuring from resource: /hibernate.cfg.xml
[2007-03-16 17:23:49,474] INFO  org.hibernate.cfg.Configuration Configuration resource: /hibernate.cfg.xml
[2007-03-16 17:23:49,803] DEBUG org.hibernate.util.DTDEntityResolver trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd]
[2007-03-16 17:23:49,803] DEBUG org.hibernate.util.DTDEntityResolver recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
[2007-03-16 17:23:49,803] DEBUG org.hibernate.util.DTDEntityResolver located [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in classpath
[2007-03-16 17:23:49,896] DEBUG org.hibernate.cfg.Configuration connection.username=root
[2007-03-16 17:23:49,896] DEBUG org.hibernate.cfg.Configuration connection.url=jdbc:mysql://localhost:3306/jhu786
[2007-03-16 17:23:49,896] DEBUG org.hibernate.cfg.Configuration dialect=org.hibernate.dialect.MySQLDialect
[2007-03-16 17:23:49,896] DEBUG org.hibernate.cfg.Configuration myeclipse.connection.profile=MySql
[2007-03-16 17:23:49,896] DEBUG org.hibernate.cfg.Configuration connection.password=pw
[2007-03-16 17:23:49,896] DEBUG org.hibernate.cfg.Configuration connection.driver_class=com.mysql.jdbc.Driver
[2007-03-16 17:23:49,896] DEBUG org.hibernate.cfg.Configuration null<-org.dom4j.tree.DefaultAttribute@f39b3a [Attribute: name resource value "edu/jhu/jhu786/hib/Person.hbm.xml"]
[2007-03-16 17:23:49,896] INFO  org.hibernate.cfg.Configuration Reading mappings from resource: edu/jhu/jhu786/hib/Person.hbm.xml
[2007-03-16 17:23:49,928] DEBUG org.hibernate.util.DTDEntityResolver trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
[2007-03-16 17:23:49,928] DEBUG org.hibernate.util.DTDEntityResolver recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
[2007-03-16 17:23:49,928] DEBUG org.hibernate.util.DTDEntityResolver located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
[2007-03-16 17:23:50,271] INFO  org.hibernate.cfg.HbmBinder Mapping class: edu.jhu.jhu786.hib.Person -> person
[2007-03-16 17:23:50,303] DEBUG org.hibernate.cfg.HbmBinder Mapped property: id -> id
[2007-03-16 17:23:50,318] DEBUG org.hibernate.cfg.HbmBinder Mapped property: versionNum -> version_num
[2007-03-16 17:23:50,318] DEBUG org.hibernate.cfg.HbmBinder Mapped property: familyName -> family_name
[2007-03-16 17:23:50,318] DEBUG org.hibernate.cfg.HbmBinder Mapped property: givenName -> given_name
[2007-03-16 17:23:50,318] DEBUG org.hibernate.cfg.HbmBinder Mapped property: relocate -> relocate
[2007-03-16 17:23:50,365] INFO  org.hibernate.cfg.HbmBinder Mapping collection: edu.jhu.jhu786.hib.Person.addresses -> person_address
[2007-03-16 17:23:50,365] DEBUG org.hibernate.cfg.HbmBinder Mapped property: addresses
[2007-03-16 17:23:50,365] DEBUG org.hibernate.cfg.Configuration null<-org.dom4j.tree.DefaultAttribute@1d2fc36 [Attribute: name resource value "edu/jhu/jhu786/hib/Address.hbm.xml"]
[2007-03-16 17:23:50,365] INFO  org.hibernate.cfg.Configuration Reading mappings from resource: edu/jhu/jhu786/hib/Address.hbm.xml
[2007-03-16 17:23:50,412] DEBUG org.hibernate.util.DTDEntityResolver trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
[2007-03-16 17:23:50,412] DEBUG org.hibernate.util.DTDEntityResolver recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
[2007-03-16 17:23:50,412] DEBUG org.hibernate.util.DTDEntityResolver located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
[2007-03-16 17:23:50,506] INFO  org.hibernate.cfg.HbmBinder Mapping class: edu.jhu.jhu786.hib.Address -> address
[2007-03-16 17:23:50,506] DEBUG org.hibernate.cfg.HbmBinder Mapped property: id -> id
[2007-03-16 17:23:50,506] DEBUG org.hibernate.cfg.HbmBinder Mapped property: versionNum -> version_num
[2007-03-16 17:23:50,506] DEBUG org.hibernate.cfg.HbmBinder Mapped property: street1 -> street1
[2007-03-16 17:23:50,521] DEBUG org.hibernate.cfg.HbmBinder Mapped property: street2 -> street2
[2007-03-16 17:23:50,521] DEBUG org.hibernate.cfg.HbmBinder Mapped property: city -> city
[2007-03-16 17:23:50,521] DEBUG org.hibernate.cfg.HbmBinder Mapped property: state -> state
[2007-03-16 17:23:50,521] DEBUG org.hibernate.cfg.HbmBinder Mapped property: zip -> zip
[2007-03-16 17:23:50,521] DEBUG org.hibernate.cfg.HbmBinder Mapped property: latitude -> latitude
[2007-03-16 17:23:50,521] DEBUG org.hibernate.cfg.HbmBinder Mapped property: longitude -> longitude
[2007-03-16 17:23:50,521] INFO  org.hibernate.cfg.HbmBinder Mapping collection: edu.jhu.jhu786.hib.Address.persons -> person_address
[2007-03-16 17:23:50,521] DEBUG org.hibernate.cfg.HbmBinder Mapped property: persons
[2007-03-16 17:23:50,521] DEBUG org.hibernate.cfg.Configuration null<-org.dom4j.tree.DefaultAttribute@19e15c [Attribute: name resource value "edu/jhu/jhu786/hib/PersonAddress.hbm.xml"]
[2007-03-16 17:23:50,521] INFO  org.hibernate.cfg.Configuration Reading mappings from resource: edu/jhu/jhu786/hib/PersonAddress.hbm.xml
[2007-03-16 17:23:50,537] DEBUG org.hibernate.util.DTDEntityResolver trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
[2007-03-16 17:23:50,537] DEBUG org.hibernate.util.DTDEntityResolver recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
[2007-03-16 17:23:50,537] DEBUG org.hibernate.util.DTDEntityResolver located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
[2007-03-16 17:23:50,599] INFO  org.hibernate.cfg.HbmBinder Mapping class: edu.jhu.jhu786.hib.PersonAddress -> person_address
[2007-03-16 17:23:50,599] DEBUG org.hibernate.cfg.HbmBinder Mapped property: id -> id
[2007-03-16 17:23:50,599] DEBUG org.hibernate.cfg.HbmBinder Mapped property: startDate -> start_date
[2007-03-16 17:23:50,599] DEBUG org.hibernate.cfg.HbmBinder Mapped property: endDate -> end_date
[2007-03-16 17:23:50,599] INFO  org.hibernate.cfg.Configuration Configured SessionFactory: null
[2007-03-16 17:23:50,599] DEBUG org.hibernate.cfg.Configuration properties: {hibernate.connection.password=pw, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Java\jdk1.5.0_01\jre\bin, java.vm.version=1.5.0_01-b08, hibernate.connection.username=root, 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 4, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\786_2, java.runtime.version=1.5.0_01-b08, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Java\jdk1.5.0_01\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\kimda\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows 2000, sun.jnu.encoding=Cp1252, java.library.path=C:\Java\jdk1.5.0_01\bin;.;C:\WINNT\system32;C:\WINNT;c:\ruby\bin;C:\Java\jdk1.5.0_01\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\IBM\CLIENT~1;C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;ANT_HOME\bin;C:\apache-tomcat-5.5.12;C:\Java\jdk1.5.0_01\bin;C:\Java\apps\apache-ant-1.6.5\bin;C:\j2sdk1.4.2_06\bin;, hibernate.myeclipse.connection.profile=MySql, java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot Client Compiler, os.version=5.0, connection.password=pw, user.home=C:\Documents and Settings\kimda, user.timezone=America/New_York, connection.username=root, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.5, hibernate.connection.driver_class=com.mysql.jdbc.Driver, myeclipse.connection.profile=MySql, user.name=kimda, java.class.path=C:\786_2\WebRoot\WEB-INF\classes;C:\786_2\WebRoot\WEB-INF\lib\dom.jar;C:\786_2\WebRoot\WEB-INF\lib\jaxen-full.jar;C:\786_2\WebRoot\WEB-INF\lib\jaxp-api.jar;C:\786_2\WebRoot\WEB-INF\lib\jstl.jar;C:\786_2\WebRoot\WEB-INF\lib\mail.jar;C:\786_2\WebRoot\WEB-INF\lib\sax.jar;C:\786_2\WebRoot\WEB-INF\lib\saxpath.jar;C:\786_2\WebRoot\WEB-INF\lib\standard.jar;C:\786_2\WebRoot\WEB-INF\lib\xalan.jar;C:\786_2\WebRoot\WEB-INF\lib\xercesImpl.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-core.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-beans.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-context.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-attributes-api.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-attributes-compiler.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-beanutils.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-collections.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-digester.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-lang.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-logging.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\dom4j\dom4j-1.6.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\dom4j\jaxen-1.1-beta-4.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\log4j\log4j-1.2.13.jar;C:\786_2\WebRoot\WEB-INF\lib\activation.jar;C:\786_2\WebRoot\WEB-INF\lib\javax.servlet.jar;C:\786_2\WebRoot\WEB-INF\lib\javax.servlet.jsp.jar;C:\786_2\WebRoot\WEB-INF\lib\namespace.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-aop.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-beans.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-context.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-core.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-dao.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-hibernate.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-jdbc.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-mock.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-orm.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-remoting.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-support.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-web.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-webmvc.jar;C:\786_2\WebRoot\WEB-INF\lib\spring.jar;C:\786_2\WebRoot\WEB-INF\lib\ojdbc14.jar;C:\786_2\WebRoot\WEB-INF\lib\jsp-api.jar;C:\786_2\WebRoot\WEB-INF\lib\servlet-api.jar;C:\786_2\WebRoot\WEB-INF\lib\commons-dbcp.jar;C:\786_2\WebRoot\WEB-INF\lib\commons-pool.jar;C:\786_2\WebRoot\WEB-INF\lib\commons-logging.jar;C:\786_2\WebRoot\WEB-INF\lib\jdbc2_0-stdext.jar;C:\786_2\WebRoot\WEB-INF\lib\xml-apis.jar;C:\786_2\WebRoot\WEB-INF\lib\mysql-connector-java-5.0.4-bin.jar;C:\786_2\WebRoot\WEB-INF\lib\antlr-2.7.5H3.jar;C:\786_2\WebRoot\WEB-INF\lib\asm-attrs.jar;C:\786_2\WebRoot\WEB-INF\lib\asm.jar;C:\786_2\WebRoot\WEB-INF\lib\cglib-2.1.3.jar;C:\786_2\WebRoot\WEB-INF\lib\commons-collections-2.1.1.jar;C:\786_2\WebRoot\WEB-INF\lib\commons-logging-1.0.4.jar;C:\786_2\WebRoot\WEB-INF\lib\dom4j-1.6.1.jar;C:\786_2\WebRoot\WEB-INF\lib\ehcache-1.1.jar;C:\786_2\WebRoot\WEB-INF\lib\hibernate3.jar;C:\786_2\WebRoot\WEB-INF\lib\jaas.jar;C:\786_2\WebRoot\WEB-INF\lib\jaxen-1.1-beta-7.jar;C:\786_2\WebRoot\WEB-INF\lib\jta.jar;C:\786_2\WebRoot\WEB-INF\lib\log4j-1.2.11.jar;C:\786_2\WebRoot\WEB-INF\lib\xerces-2.6.2.jar;C:\eclipse\plugins\org.junit_3.8.1\junit.jar, java.vm.specification.version=1.0, java.home=C:\Java\jdk1.5.0_01\jre, sun.arch.data.model=32, hibernate.dialect=org.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://localhost:3306/jhu786, 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_01, java.ext.dirs=C:\Java\jdk1.5.0_01\jre\lib\ext, sun.boot.class.path=C:\Java\jdk1.5.0_01\jre\lib\rt.jar;C:\Java\jdk1.5.0_01\jre\lib\i18n.jar;C:\Java\jdk1.5.0_01\jre\lib\sunrsasign.jar;C:\Java\jdk1.5.0_01\jre\lib\jsse.jar;C:\Java\jdk1.5.0_01\jre\lib\jce.jar;C:\Java\jdk1.5.0_01\jre\lib\charsets.jar;C:\Java\jdk1.5.0_01\jre\classes;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\activation.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\javax.servlet.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\javax.servlet.jsp.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-j2ee.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-jaxrpc.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-jsr77.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-saaj.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\mail.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\namespace.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\xml-apis.jar, java.vendor=Sun Microsystems Inc., connection.driver_class=com.mysql.jdbc.Driver, 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, connection.url=jdbc:mysql://localhost:3306/jhu786, dialect=org.hibernate.dialect.MySQLDialect, sun.cpu.isalist=}
[2007-03-16 17:23:50,615] DEBUG org.hibernate.cfg.Configuration Preparing to build session factory with filters : {}
[2007-03-16 17:23:50,615] DEBUG org.hibernate.cfg.Configuration processing extends queue
[2007-03-16 17:23:50,615] DEBUG org.hibernate.cfg.Configuration processing collection mappings
[2007-03-16 17:23:50,615] DEBUG org.hibernate.cfg.CollectionSecondPass Second pass for collection: edu.jhu.jhu786.hib.Person.addresses
[2007-03-16 17:23:51,006] DEBUG org.hibernate.cfg.CollectionSecondPass Mapped collection key: person_id, element: elt
[2007-03-16 17:23:51,006] DEBUG org.hibernate.cfg.CollectionSecondPass Second pass for collection: edu.jhu.jhu786.hib.Address.persons
[2007-03-16 17:23:51,006] DEBUG org.hibernate.cfg.CollectionSecondPass Mapped collection key: address_id, element: elt
[2007-03-16 17:23:51,006] DEBUG org.hibernate.cfg.Configuration processing native query and ResultSetMapping mappings
[2007-03-16 17:23:51,006] DEBUG org.hibernate.cfg.Configuration processing association property references
[2007-03-16 17:23:51,006] DEBUG org.hibernate.cfg.Configuration processing foreign key constraints
[2007-03-16 17:23:51,006] DEBUG org.hibernate.cfg.Configuration resolving reference to class: edu.jhu.jhu786.hib.Person
[2007-03-16 17:23:51,021] DEBUG org.hibernate.cfg.Configuration resolving reference to class: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:51,021] DEBUG org.hibernate.cfg.Configuration resolving reference to class: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:51,021] DEBUG org.hibernate.cfg.Configuration resolving reference to class: edu.jhu.jhu786.hib.Person
[2007-03-16 17:23:51,037] INFO  org.hibernate.connection.DriverManagerConnectionProvider Using Hibernate built-in connection pool (not for production use!)
[2007-03-16 17:23:51,037] INFO  org.hibernate.connection.DriverManagerConnectionProvider Hibernate connection pool size: 20
[2007-03-16 17:23:51,037] INFO  org.hibernate.connection.DriverManagerConnectionProvider autocommit mode: false
[2007-03-16 17:23:51,068] INFO  org.hibernate.connection.DriverManagerConnectionProvider using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/jhu786
[2007-03-16 17:23:51,068] INFO  org.hibernate.connection.DriverManagerConnectionProvider connection properties: {user=root, password=pw}
[2007-03-16 17:23:51,068] DEBUG org.hibernate.connection.DriverManagerConnectionProvider total checked-out connections: 0
[2007-03-16 17:23:51,068] DEBUG org.hibernate.connection.DriverManagerConnectionProvider opening new JDBC connection
[2007-03-16 17:23:51,631] DEBUG org.hibernate.connection.DriverManagerConnectionProvider created connection to: jdbc:mysql://localhost:3306/jhu786, Isolation Level: 4
[2007-03-16 17:23:51,646] INFO  org.hibernate.cfg.SettingsFactory RDBMS: MySQL, version: 5.0.27-community-nt
[2007-03-16 17:23:51,646] INFO  org.hibernate.cfg.SettingsFactory JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.4 ( $Date: 2006-10-19 17:47:48 +0200 (Thu, 19 Oct 2006) $, $Revision: 5908 $ )
[2007-03-16 17:23:51,646] DEBUG org.hibernate.connection.DriverManagerConnectionProvider returning connection to pool, pool size: 1
[2007-03-16 17:23:51,771] INFO  org.hibernate.dialect.Dialect Using dialect: org.hibernate.dialect.MySQLDialect
[2007-03-16 17:23:51,787] INFO  org.hibernate.transaction.TransactionFactoryFactory Using default transaction strategy (direct JDBC transactions)
[2007-03-16 17:23:51,787] INFO  org.hibernate.transaction.TransactionManagerLookupFactory No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
[2007-03-16 17:23:51,787] INFO  org.hibernate.cfg.SettingsFactory Automatic flush during beforeCompletion(): disabled
[2007-03-16 17:23:51,787] INFO  org.hibernate.cfg.SettingsFactory Automatic session close at end of transaction: disabled
[2007-03-16 17:23:51,787] INFO  org.hibernate.cfg.SettingsFactory JDBC batch size: 15
[2007-03-16 17:23:51,787] INFO  org.hibernate.cfg.SettingsFactory JDBC batch updates for versioned data: disabled
[2007-03-16 17:23:51,787] INFO  org.hibernate.cfg.SettingsFactory Scrollable result sets: enabled
[2007-03-16 17:23:51,787] DEBUG org.hibernate.cfg.SettingsFactory Wrap result sets: disabled
[2007-03-16 17:23:51,787] INFO  org.hibernate.cfg.SettingsFactory JDBC3 getGeneratedKeys(): enabled
[2007-03-16 17:23:51,787] INFO  org.hibernate.cfg.SettingsFactory Connection release mode: auto
[2007-03-16 17:23:51,803] INFO  org.hibernate.cfg.SettingsFactory Maximum outer join fetch depth: 2
[2007-03-16 17:23:51,803] INFO  org.hibernate.cfg.SettingsFactory Default batch fetch size: 1
[2007-03-16 17:23:51,803] INFO  org.hibernate.cfg.SettingsFactory Generate SQL with comments: disabled
[2007-03-16 17:23:51,803] INFO  org.hibernate.cfg.SettingsFactory Order SQL updates by primary key: disabled
[2007-03-16 17:23:51,803] INFO  org.hibernate.cfg.SettingsFactory Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
[2007-03-16 17:23:51,834] INFO  org.hibernate.hql.ast.ASTQueryTranslatorFactory Using ASTQueryTranslatorFactory
[2007-03-16 17:23:51,834] INFO  org.hibernate.cfg.SettingsFactory Query language substitutions: {}
[2007-03-16 17:23:51,834] INFO  org.hibernate.cfg.SettingsFactory Second-level cache: enabled
[2007-03-16 17:23:51,834] INFO  org.hibernate.cfg.SettingsFactory Query cache: disabled
[2007-03-16 17:23:51,834] INFO  org.hibernate.cfg.SettingsFactory Cache provider: org.hibernate.cache.EhCacheProvider
[2007-03-16 17:23:51,850] INFO  org.hibernate.cfg.SettingsFactory Optimize cache for minimal puts: disabled
[2007-03-16 17:23:51,850] INFO  org.hibernate.cfg.SettingsFactory Structured second-level cache entries: disabled
[2007-03-16 17:23:51,865] DEBUG org.hibernate.exception.SQLExceptionConverterFactory Using dialect defined converter
[2007-03-16 17:23:51,865] INFO  org.hibernate.cfg.SettingsFactory Statistics: disabled
[2007-03-16 17:23:51,865] INFO  org.hibernate.cfg.SettingsFactory Deleted entity synthetic identifier rollback: disabled
[2007-03-16 17:23:51,865] INFO  org.hibernate.cfg.SettingsFactory Default entity-mode: pojo
[2007-03-16 17:23:52,006] INFO  org.hibernate.impl.SessionFactoryImpl building session factory
[2007-03-16 17:23:52,006] DEBUG org.hibernate.impl.SessionFactoryImpl Session factory constructed with filter configurations : {}
[2007-03-16 17:23:52,006] DEBUG org.hibernate.impl.SessionFactoryImpl instantiating session factory with properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, hibernate.connection.password=pw, sun.boot.library.path=C:\Java\jdk1.5.0_01\jre\bin, java.vm.version=1.5.0_01-b08, hibernate.connection.username=root, 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 4, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\786_2, java.runtime.version=1.5.0_01-b08, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Java\jdk1.5.0_01\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\kimda\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows 2000, sun.jnu.encoding=Cp1252, java.library.path=C:\Java\jdk1.5.0_01\bin;.;C:\WINNT\system32;C:\WINNT;c:\ruby\bin;C:\Java\jdk1.5.0_01\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\IBM\CLIENT~1;C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;ANT_HOME\bin;C:\apache-tomcat-5.5.12;C:\Java\jdk1.5.0_01\bin;C:\Java\apps\apache-ant-1.6.5\bin;C:\j2sdk1.4.2_06\bin;, hibernate.myeclipse.connection.profile=MySql, java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot Client Compiler, os.version=5.0, user.home=C:\Documents and Settings\kimda, connection.password=pw, user.timezone=America/New_York, java.awt.printerjob=sun.awt.windows.WPrinterJob, connection.username=root, java.specification.version=1.5, file.encoding=Cp1252, myeclipse.connection.profile=MySql, hibernate.connection.driver_class=com.mysql.jdbc.Driver, java.class.path=C:\786_2\WebRoot\WEB-INF\classes;C:\786_2\WebRoot\WEB-INF\lib\dom.jar;C:\786_2\WebRoot\WEB-INF\lib\jaxen-full.jar;C:\786_2\WebRoot\WEB-INF\lib\jaxp-api.jar;C:\786_2\WebRoot\WEB-INF\lib\jstl.jar;C:\786_2\WebRoot\WEB-INF\lib\mail.jar;C:\786_2\WebRoot\WEB-INF\lib\sax.jar;C:\786_2\WebRoot\WEB-INF\lib\saxpath.jar;C:\786_2\WebRoot\WEB-INF\lib\standard.jar;C:\786_2\WebRoot\WEB-INF\lib\xalan.jar;C:\786_2\WebRoot\WEB-INF\lib\xercesImpl.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-core.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-beans.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\spring-context.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-attributes-api.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-attributes-compiler.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-beanutils.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-collections.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-digester.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-lang.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\jakarta-commons\commons-logging.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\dom4j\dom4j-1.6.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\dom4j\jaxen-1.1-beta-4.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.springframework_5.1.0\data\1.2\lib\dependencies\log4j\log4j-1.2.13.jar;C:\786_2\WebRoot\WEB-INF\lib\activation.jar;C:\786_2\WebRoot\WEB-INF\lib\javax.servlet.jar;C:\786_2\WebRoot\WEB-INF\lib\javax.servlet.jsp.jar;C:\786_2\WebRoot\WEB-INF\lib\namespace.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-aop.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-beans.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-context.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-core.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-dao.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-hibernate.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-jdbc.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-mock.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-orm.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-remoting.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-support.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-web.jar;C:\786_2\WebRoot\WEB-INF\lib\spring-webmvc.jar;C:\786_2\WebRoot\WEB-INF\lib\spring.jar;C:\786_2\WebRoot\WEB-INF\lib\ojdbc14.jar;C:\786_2\WebRoot\WEB-INF\lib\jsp-api.jar;C:\786_2\WebRoot\WEB-INF\lib\servlet-api.jar;C:\786_2\WebRoot\WEB-INF\lib\commons-dbcp.jar;C:\786_2\WebRoot\WEB-INF\lib\commons-pool.jar;C:\786_2\WebRoot\WEB-INF\lib\commons-logging.jar;C:\786_2\WebRoot\WEB-INF\lib\jdbc2_0-stdext.jar;C:\786_2\WebRoot\WEB-INF\lib\xml-apis.jar;C:\786_2\WebRoot\WEB-INF\lib\mysql-connector-java-5.0.4-bin.jar;C:\786_2\WebRoot\WEB-INF\lib\antlr-2.7.5H3.jar;C:\786_2\WebRoot\WEB-INF\lib\asm-attrs.jar;C:\786_2\WebRoot\WEB-INF\lib\asm.jar;C:\786_2\WebRoot\WEB-INF\lib\cglib-2.1.3.jar;C:\786_2\WebRoot\WEB-INF\lib\commons-collections-2.1.1.jar;C:\786_2\WebRoot\WEB-INF\lib\commons-logging-1.0.4.jar;C:\786_2\WebRoot\WEB-INF\lib\dom4j-1.6.1.jar;C:\786_2\WebRoot\WEB-INF\lib\ehcache-1.1.jar;C:\786_2\WebRoot\WEB-INF\lib\hibernate3.jar;C:\786_2\WebRoot\WEB-INF\lib\jaas.jar;C:\786_2\WebRoot\WEB-INF\lib\jaxen-1.1-beta-7.jar;C:\786_2\WebRoot\WEB-INF\lib\jta.jar;C:\786_2\WebRoot\WEB-INF\lib\log4j-1.2.11.jar;C:\786_2\WebRoot\WEB-INF\lib\xerces-2.6.2.jar;C:\eclipse\plugins\org.junit_3.8.1\junit.jar, user.name=kimda, java.vm.specification.version=1.0, sun.arch.data.model=32, java.home=C:\Java\jdk1.5.0_01\jre, hibernate.connection.url=jdbc:mysql://localhost:3306/jhu786, hibernate.dialect=org.hibernate.dialect.MySQLDialect, java.specification.vendor=Sun Microsystems Inc., user.language=en, awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, hibernate.cglib.use_reflection_optimizer=true, java.version=1.5.0_01, java.ext.dirs=C:\Java\jdk1.5.0_01\jre\lib\ext, sun.boot.class.path=C:\Java\jdk1.5.0_01\jre\lib\rt.jar;C:\Java\jdk1.5.0_01\jre\lib\i18n.jar;C:\Java\jdk1.5.0_01\jre\lib\sunrsasign.jar;C:\Java\jdk1.5.0_01\jre\lib\jsse.jar;C:\Java\jdk1.5.0_01\jre\lib\jce.jar;C:\Java\jdk1.5.0_01\jre\lib\charsets.jar;C:\Java\jdk1.5.0_01\jre\classes;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\activation.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\javax.servlet.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\javax.servlet.jsp.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-j2ee.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-jaxrpc.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-jsr77.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\jboss-saaj.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\mail.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\namespace.jar;C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_5.1.0\data\libraryset\1.4\xml-apis.jar, java.vendor=Sun Microsystems Inc., file.separator=\, connection.driver_class=com.mysql.jdbc.Driver, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, sun.desktop=windows, connection.url=jdbc:mysql://localhost:3306/jhu786, sun.cpu.isalist=, dialect=org.hibernate.dialect.MySQLDialect}
[2007-03-16 17:23:52,021] DEBUG net.sf.ehcache.CacheManager Creating new CacheManager with default config
[2007-03-16 17:23:52,021] DEBUG net.sf.ehcache.CacheManager Configuring ehcache from classpath.
[2007-03-16 17:23:52,037] WARN  net.sf.ehcache.config.Configurator No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/786_2/WebRoot/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
[2007-03-16 17:23:52,037] DEBUG net.sf.ehcache.config.Configuration$DiskStore Disk Store Path: C:\DOCUME~1\kimda\LOCALS~1\Temp\
[2007-03-16 17:23:53,053] DEBUG org.hibernate.persister.entity.AbstractEntityPersister Static SQL for entity: edu.jhu.jhu786.hib.Person
[2007-03-16 17:23:53,053] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Version select: select id from jhu786.person where id =?
[2007-03-16 17:23:53,053] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Snapshot select: select person_.id, person_.version_num as version2_0_, person_.family_name as family3_0_, person_.given_name as given4_0_, person_.relocate as relocate0_ from jhu786.person person_ where person_.id=?
[2007-03-16 17:23:53,053] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Insert 0: insert into jhu786.person (version_num, family_name, given_name, relocate, id) values (?, ?, ?, ?, ?)
[2007-03-16 17:23:53,053] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Update 0: update jhu786.person set version_num=?, family_name=?, given_name=?, relocate=? where id=?
[2007-03-16 17:23:53,053] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Delete 0: delete from jhu786.person where id=?
[2007-03-16 17:23:53,100] DEBUG org.hibernate.persister.entity.AbstractEntityPersister Static SQL for entity: edu.jhu.jhu786.hib.PersonAddress
[2007-03-16 17:23:53,100] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Version select: select id from jhu786.person_address where id =?
[2007-03-16 17:23:53,100] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Snapshot select: select personaddr_.id, personaddr_.start_date as start2_3_, personaddr_.end_date as end3_3_ from jhu786.person_address personaddr_ where personaddr_.id=?
[2007-03-16 17:23:53,100] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Insert 0: insert into jhu786.person_address (start_date, end_date, id) values (?, ?, ?)
[2007-03-16 17:23:53,100] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Update 0: update jhu786.person_address set start_date=?, end_date=? where id=?
[2007-03-16 17:23:53,100] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Delete 0: delete from jhu786.person_address where id=?
[2007-03-16 17:23:53,162] DEBUG org.hibernate.persister.entity.AbstractEntityPersister Static SQL for entity: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:53,162] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Version select: select id from jhu786.address where id =?
[2007-03-16 17:23:53,162] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Snapshot select: select address_.id, address_.version_num as version2_2_, address_.street1 as street3_2_, address_.street2 as street4_2_, address_.city as city2_, address_.state as state2_, address_.zip as zip2_, address_.latitude as latitude2_, address_.longitude as longitude2_ from jhu786.address address_ where address_.id=?
[2007-03-16 17:23:53,162] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Insert 0: insert into jhu786.address (version_num, street1, street2, city, state, zip, latitude, longitude, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
[2007-03-16 17:23:53,162] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Update 0: update jhu786.address set version_num=?, street1=?, street2=?, city=?, state=?, zip=?, latitude=?, longitude=? where id=?
[2007-03-16 17:23:53,162] DEBUG org.hibernate.persister.entity.AbstractEntityPersister  Delete 0: delete from jhu786.address where id=?
[2007-03-16 17:23:53,209] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister Static SQL for collection: edu.jhu.jhu786.hib.Address.persons
[2007-03-16 17:23:53,209] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister  Row insert: insert into person_address (address_id, elt) values (?, ?)
[2007-03-16 17:23:53,209] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister  Row update: update person_address set elt=? where address_id=? and elt=?
[2007-03-16 17:23:53,209] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister  Row delete: delete from person_address where address_id=? and elt=?
[2007-03-16 17:23:53,209] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister  One-shot delete: delete from person_address where address_id=?
[2007-03-16 17:23:53,209] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister Static SQL for collection: edu.jhu.jhu786.hib.Person.addresses
[2007-03-16 17:23:53,209] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister  Row insert: insert into person_address (person_id, elt) values (?, ?)
[2007-03-16 17:23:53,209] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister  Row update: update person_address set elt=? where person_id=? and elt=?
[2007-03-16 17:23:53,209] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister  Row delete: delete from person_address where person_id=? and elt=?
[2007-03-16 17:23:53,209] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister  One-shot delete: delete from person_address where person_id=?
[2007-03-16 17:23:53,271] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.Person: select person0_.id as id0_0_, person0_.version_num as version2_0_0_, person0_.family_name as family3_0_0_, person0_.given_name as given4_0_0_, person0_.relocate as relocate0_0_ from jhu786.person person0_ where person0_.id=?
[2007-03-16 17:23:53,318] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.Person: select person0_.id as id0_0_, person0_.version_num as version2_0_0_, person0_.family_name as family3_0_0_, person0_.given_name as given4_0_0_, person0_.relocate as relocate0_0_ from jhu786.person person0_ where person0_.id=?
[2007-03-16 17:23:53,318] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.Person: select person0_.id as id0_0_, person0_.version_num as version2_0_0_, person0_.family_name as family3_0_0_, person0_.given_name as given4_0_0_, person0_.relocate as relocate0_0_ from jhu786.person person0_ where person0_.id=? for update
[2007-03-16 17:23:53,318] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.Person: select person0_.id as id0_0_, person0_.version_num as version2_0_0_, person0_.family_name as family3_0_0_, person0_.given_name as given4_0_0_, person0_.relocate as relocate0_0_ from jhu786.person person0_ where person0_.id=? for update
[2007-03-16 17:23:53,365] DEBUG org.hibernate.loader.entity.EntityLoader Static select for action ACTION_MERGE on entity edu.jhu.jhu786.hib.Person: select person0_.id as id0_1_, person0_.version_num as version2_0_1_, person0_.family_name as family3_0_1_, person0_.given_name as given4_0_1_, person0_.relocate as relocate0_1_, addresses1_.person_id as person1_3_, address2_.id as elt3_, address2_.id as id2_0_, address2_.version_num as version2_2_0_, address2_.street1 as street3_2_0_, address2_.street2 as street4_2_0_, address2_.city as city2_0_, address2_.state as state2_0_, address2_.zip as zip2_0_, address2_.latitude as latitude2_0_, address2_.longitude as longitude2_0_, persons3_.address_id as address3_4_, persons3_.elt as elt4_ from jhu786.person person0_ left outer join person_address addresses1_ on person0_.id=addresses1_.person_id left outer join jhu786.address address2_ on addresses1_.elt=address2_.id left outer join person_address persons3_ on address2_.id=persons3_.address_id where person0_.id=?
[2007-03-16 17:23:53,365] DEBUG org.hibernate.loader.entity.EntityLoader Static select for action ACTION_REFRESH on entity edu.jhu.jhu786.hib.Person: select person0_.id as id0_1_, person0_.version_num as version2_0_1_, person0_.family_name as family3_0_1_, person0_.given_name as given4_0_1_, person0_.relocate as relocate0_1_, addresses1_.person_id as person1_3_, address2_.id as elt3_, address2_.id as id2_0_, address2_.version_num as version2_2_0_, address2_.street1 as street3_2_0_, address2_.street2 as street4_2_0_, address2_.city as city2_0_, address2_.state as state2_0_, address2_.zip as zip2_0_, address2_.latitude as latitude2_0_, address2_.longitude as longitude2_0_, persons3_.address_id as address3_4_, persons3_.elt as elt4_ from jhu786.person person0_ left outer join person_address addresses1_ on person0_.id=addresses1_.person_id left outer join jhu786.address address2_ on addresses1_.elt=address2_.id left outer join person_address persons3_ on address2_.id=persons3_.address_id where person0_.id=?
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.PersonAddress: select personaddr0_.id as id3_0_, personaddr0_.start_date as start2_3_0_, personaddr0_.end_date as end3_3_0_ from jhu786.person_address personaddr0_ where personaddr0_.id=?
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.PersonAddress: select personaddr0_.id as id3_0_, personaddr0_.start_date as start2_3_0_, personaddr0_.end_date as end3_3_0_ from jhu786.person_address personaddr0_ where personaddr0_.id=?
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.PersonAddress: select personaddr0_.id as id3_0_, personaddr0_.start_date as start2_3_0_, personaddr0_.end_date as end3_3_0_ from jhu786.person_address personaddr0_ where personaddr0_.id=? for update
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.PersonAddress: select personaddr0_.id as id3_0_, personaddr0_.start_date as start2_3_0_, personaddr0_.end_date as end3_3_0_ from jhu786.person_address personaddr0_ where personaddr0_.id=? for update
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for action ACTION_MERGE on entity edu.jhu.jhu786.hib.PersonAddress: select personaddr0_.id as id3_0_, personaddr0_.start_date as start2_3_0_, personaddr0_.end_date as end3_3_0_ from jhu786.person_address personaddr0_ where personaddr0_.id=?
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for action ACTION_REFRESH on entity edu.jhu.jhu786.hib.PersonAddress: select personaddr0_.id as id3_0_, personaddr0_.start_date as start2_3_0_, personaddr0_.end_date as end3_3_0_ from jhu786.person_address personaddr0_ where personaddr0_.id=?
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.Address: select address0_.id as id2_0_, address0_.version_num as version2_2_0_, address0_.street1 as street3_2_0_, address0_.street2 as street4_2_0_, address0_.city as city2_0_, address0_.state as state2_0_, address0_.zip as zip2_0_, address0_.latitude as latitude2_0_, address0_.longitude as longitude2_0_ from jhu786.address address0_ where address0_.id=?
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.Address: select address0_.id as id2_0_, address0_.version_num as version2_2_0_, address0_.street1 as street3_2_0_, address0_.street2 as street4_2_0_, address0_.city as city2_0_, address0_.state as state2_0_, address0_.zip as zip2_0_, address0_.latitude as latitude2_0_, address0_.longitude as longitude2_0_ from jhu786.address address0_ where address0_.id=?
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.Address: select address0_.id as id2_0_, address0_.version_num as version2_2_0_, address0_.street1 as street3_2_0_, address0_.street2 as street4_2_0_, address0_.city as city2_0_, address0_.state as state2_0_, address0_.zip as zip2_0_, address0_.latitude as latitude2_0_, address0_.longitude as longitude2_0_ from jhu786.address address0_ where address0_.id=? for update
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for entity edu.jhu.jhu786.hib.Address: select address0_.id as id2_0_, address0_.version_num as version2_2_0_, address0_.street1 as street3_2_0_, address0_.street2 as street4_2_0_, address0_.city as city2_0_, address0_.state as state2_0_, address0_.zip as zip2_0_, address0_.latitude as latitude2_0_, address0_.longitude as longitude2_0_ from jhu786.address address0_ where address0_.id=? for update
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for action ACTION_MERGE on entity edu.jhu.jhu786.hib.Address: select address0_.id as id2_1_, address0_.version_num as version2_2_1_, address0_.street1 as street3_2_1_, address0_.street2 as street4_2_1_, address0_.city as city2_1_, address0_.state as state2_1_, address0_.zip as zip2_1_, address0_.latitude as latitude2_1_, address0_.longitude as longitude2_1_, persons1_.address_id as address3_3_, person2_.id as elt3_, person2_.id as id0_0_, person2_.version_num as version2_0_0_, person2_.family_name as family3_0_0_, person2_.given_name as given4_0_0_, person2_.relocate as relocate0_0_, addresses3_.person_id as person1_4_, addresses3_.elt as elt4_ from jhu786.address address0_ left outer join person_address persons1_ on address0_.id=persons1_.address_id left outer join jhu786.person person2_ on persons1_.elt=person2_.id left outer join person_address addresses3_ on person2_.id=addresses3_.person_id where address0_.id=?
[2007-03-16 17:23:53,381] DEBUG org.hibernate.loader.entity.EntityLoader Static select for action ACTION_REFRESH on entity edu.jhu.jhu786.hib.Address: select address0_.id as id2_1_, address0_.version_num as version2_2_1_, address0_.street1 as street3_2_1_, address0_.street2 as street4_2_1_, address0_.city as city2_1_, address0_.state as state2_1_, address0_.zip as zip2_1_, address0_.latitude as latitude2_1_, address0_.longitude as longitude2_1_, persons1_.address_id as address3_3_, person2_.id as elt3_, person2_.id as id0_0_, person2_.version_num as version2_0_0_, person2_.family_name as family3_0_0_, person2_.given_name as given4_0_0_, person2_.relocate as relocate0_0_, addresses3_.person_id as person1_4_, addresses3_.elt as elt4_ from jhu786.address address0_ left outer join person_address persons1_ on address0_.id=persons1_.address_id left outer join jhu786.person person2_ on persons1_.elt=person2_.id left outer join person_address addresses3_ on person2_.id=addresses3_.person_id where address0_.id=?
[2007-03-16 17:23:53,428] DEBUG org.hibernate.loader.collection.BasicCollectionLoader Static select for collection edu.jhu.jhu786.hib.Address.persons: select persons0_.address_id as address3_1_, persons0_.elt as elt1_, person1_.id as id0_0_, person1_.version_num as version2_0_0_, person1_.family_name as family3_0_0_, person1_.given_name as given4_0_0_, person1_.relocate as relocate0_0_ from person_address persons0_ left outer join jhu786.person person1_ on persons0_.elt=person1_.id where persons0_.address_id=?
[2007-03-16 17:23:53,428] DEBUG org.hibernate.loader.collection.BasicCollectionLoader Static select for collection edu.jhu.jhu786.hib.Person.addresses: select addresses0_.person_id as person1_1_, addresses0_.elt as elt1_, address1_.id as id2_0_, address1_.version_num as version2_2_0_, address1_.street1 as street3_2_0_, address1_.street2 as street4_2_0_, address1_.city as city2_0_, address1_.state as state2_0_, address1_.zip as zip2_0_, address1_.latitude as latitude2_0_, address1_.longitude as longitude2_0_ from person_address addresses0_ left outer join jhu786.address address1_ on addresses0_.elt=address1_.id where addresses0_.person_id=?
[2007-03-16 17:23:53,443] DEBUG org.hibernate.impl.SessionFactoryObjectFactory initializing class SessionFactoryObjectFactory
[2007-03-16 17:23:53,459] DEBUG org.hibernate.impl.SessionFactoryObjectFactory registered: 8a82b2dd115cd98801115cd98e540000 (unnamed)
[2007-03-16 17:23:53,459] INFO  org.hibernate.impl.SessionFactoryObjectFactory Not binding factory to JNDI, no JNDI name configured
[2007-03-16 17:23:53,459] DEBUG org.hibernate.impl.SessionFactoryImpl instantiated session factory
[2007-03-16 17:23:53,459] DEBUG org.hibernate.impl.SessionFactoryImpl Checking 0 named HQL queries
[2007-03-16 17:23:53,459] DEBUG org.hibernate.impl.SessionFactoryImpl Checking 0 named SQL queries
[2007-03-16 17:23:53,709] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader Loading XML bean definitions from class path resource [applicationContext.xml]
[2007-03-16 17:23:53,881] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader Loading XML bean definitions from class path resource [applicationContext.xml]
address1: edu.jhu.jhu786.hib.Address@10e35d5
insertPerson
[2007-03-16 17:23:54,022] DEBUG org.hibernate.impl.SessionImpl opened session at timestamp: 4809047383703552
[2007-03-16 17:23:54,022] DEBUG org.hibernate.transaction.JDBCTransaction begin
[2007-03-16 17:23:54,037] DEBUG org.hibernate.jdbc.ConnectionManager opening JDBC connection
[2007-03-16 17:23:54,037] DEBUG org.hibernate.connection.DriverManagerConnectionProvider total checked-out connections: 0
[2007-03-16 17:23:54,037] DEBUG org.hibernate.connection.DriverManagerConnectionProvider using pooled JDBC connection, pool size: 0
[2007-03-16 17:23:54,037] DEBUG org.hibernate.transaction.JDBCTransaction current autocommit status: false
[2007-03-16 17:23:54,037] DEBUG org.hibernate.jdbc.JDBCContext after transaction begin
[2007-03-16 17:23:54,037] DEBUG org.hibernate.event.def.DefaultSaveOrUpdateEventListener saving transient instance
[2007-03-16 17:23:54,037] DEBUG org.hibernate.event.def.AbstractSaveEventListener generated identifier: 0, using strategy: org.hibernate.id.Assigned
[2007-03-16 17:23:54,037] DEBUG org.hibernate.event.def.AbstractSaveEventListener saving [edu.jhu.jhu786.hib.Address#0]
[2007-03-16 17:23:54,053] DEBUG org.hibernate.engine.Cascade processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,053] DEBUG org.hibernate.engine.Cascade done processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,100] DEBUG org.hibernate.engine.Cascade processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,100] DEBUG org.hibernate.engine.Cascade done processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,100] DEBUG org.hibernate.transaction.JDBCTransaction commit
[2007-03-16 17:23:54,100] DEBUG org.hibernate.impl.SessionImpl automatically flushing session
[2007-03-16 17:23:54,100] DEBUG org.hibernate.event.def.AbstractFlushingEventListener flushing session
[2007-03-16 17:23:54,100] DEBUG org.hibernate.event.def.AbstractFlushingEventListener processing flush-time cascades
[2007-03-16 17:23:54,100] DEBUG org.hibernate.engine.Cascade processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,100] DEBUG org.hibernate.engine.Cascade done processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,100] DEBUG org.hibernate.event.def.AbstractFlushingEventListener dirty checking collections
[2007-03-16 17:23:54,100] DEBUG org.hibernate.event.def.AbstractFlushingEventListener Flushing entities and processing referenced collections
[2007-03-16 17:23:54,115] DEBUG org.hibernate.event.def.AbstractFlushingEventListener Processing unreferenced collections
[2007-03-16 17:23:54,115] DEBUG org.hibernate.event.def.AbstractFlushingEventListener Scheduling collection removes/(re)creates/updates
[2007-03-16 17:23:54,115] DEBUG org.hibernate.event.def.AbstractFlushingEventListener Flushed: 1 insertions, 0 updates, 0 deletions to 1 objects
[2007-03-16 17:23:54,115] DEBUG org.hibernate.event.def.AbstractFlushingEventListener Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
[2007-03-16 17:23:54,115] DEBUG org.hibernate.pretty.Printer listing entities:
[2007-03-16 17:23:54,115] DEBUG org.hibernate.pretty.Printer edu.jhu.jhu786.hib.Address{street2=APT 111, longitude=null, versionNum=1, street1=1234 Main St, persons=null, state=MD, latitude=null, zip=22222, city=Baltimore, id=0}
[2007-03-16 17:23:54,115] DEBUG org.hibernate.event.def.AbstractFlushingEventListener executing flush
[2007-03-16 17:23:54,115] DEBUG org.hibernate.jdbc.ConnectionManager registering flush begin
[2007-03-16 17:23:54,115] DEBUG org.hibernate.persister.entity.AbstractEntityPersister Inserting entity: [edu.jhu.jhu786.hib.Address#0]
[2007-03-16 17:23:54,115] DEBUG org.hibernate.jdbc.AbstractBatcher about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
[2007-03-16 17:23:54,115] DEBUG org.hibernate.SQL insert into jhu786.address (version_num, street1, street2, city, state, zip, latitude, longitude, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
[2007-03-16 17:23:54,115] DEBUG org.hibernate.jdbc.AbstractBatcher preparing statement
[2007-03-16 17:23:54,225] DEBUG org.hibernate.persister.entity.AbstractEntityPersister Dehydrating entity: [edu.jhu.jhu786.hib.Address#0]
[2007-03-16 17:23:54,225] DEBUG org.hibernate.type.IntegerType binding '1' to parameter: 1
[2007-03-16 17:23:54,225] DEBUG org.hibernate.type.StringType binding '1234 Main St' to parameter: 2
[2007-03-16 17:23:54,225] DEBUG org.hibernate.type.StringType binding 'APT 111' to parameter: 3
[2007-03-16 17:23:54,225] DEBUG org.hibernate.type.StringType binding 'Baltimore' to parameter: 4
[2007-03-16 17:23:54,225] DEBUG org.hibernate.type.StringType binding 'MD' to parameter: 5
[2007-03-16 17:23:54,225] DEBUG org.hibernate.type.StringType binding '22222' to parameter: 6
[2007-03-16 17:23:54,225] DEBUG org.hibernate.type.FloatType binding null to parameter: 7
[2007-03-16 17:23:54,225] DEBUG org.hibernate.type.FloatType binding null to parameter: 8
[2007-03-16 17:23:54,225] DEBUG org.hibernate.type.IntegerType binding '0' to parameter: 9
[2007-03-16 17:23:54,225] DEBUG org.hibernate.jdbc.AbstractBatcher Adding to batch
[2007-03-16 17:23:54,272] DEBUG org.hibernate.jdbc.AbstractBatcher Executing batch size: 1
[2007-03-16 17:23:54,272] DEBUG org.hibernate.jdbc.AbstractBatcher about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
[2007-03-16 17:23:54,287] DEBUG org.hibernate.jdbc.AbstractBatcher closing statement
[2007-03-16 17:23:54,287] DEBUG org.hibernate.jdbc.ConnectionManager registering flush end
[2007-03-16 17:23:54,287] DEBUG org.hibernate.event.def.AbstractFlushingEventListener post flush
[2007-03-16 17:23:54,287] DEBUG org.hibernate.jdbc.JDBCContext before transaction completion
[2007-03-16 17:23:54,287] DEBUG org.hibernate.impl.SessionImpl before transaction completion
[2007-03-16 17:23:54,381] DEBUG org.hibernate.transaction.JDBCTransaction committed JDBC Connection
[2007-03-16 17:23:54,381] DEBUG org.hibernate.jdbc.JDBCContext after transaction completion
[2007-03-16 17:23:54,381] DEBUG org.hibernate.jdbc.ConnectionManager aggressively releasing JDBC connection
[2007-03-16 17:23:54,381] DEBUG org.hibernate.jdbc.ConnectionManager releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
[2007-03-16 17:23:54,381] DEBUG org.hibernate.connection.DriverManagerConnectionProvider returning connection to pool, pool size: 1
[2007-03-16 17:23:54,381] DEBUG org.hibernate.impl.SessionImpl after transaction completion
[2007-03-16 17:23:54,381] INFO  org.hibernate.impl.SessionFactoryImpl closing
[2007-03-16 17:23:54,381] INFO  org.hibernate.connection.DriverManagerConnectionProvider cleaning up connection pool: jdbc:mysql://localhost:3306/jhu786
[2007-03-16 17:23:54,397] DEBUG org.hibernate.impl.SessionImpl opened session at timestamp: 4809047385690112
[2007-03-16 17:23:54,397] DEBUG org.hibernate.transaction.JDBCTransaction begin
[2007-03-16 17:23:54,397] DEBUG org.hibernate.jdbc.ConnectionManager opening JDBC connection
[2007-03-16 17:23:54,397] DEBUG org.hibernate.connection.DriverManagerConnectionProvider total checked-out connections: 0
[2007-03-16 17:23:54,397] DEBUG org.hibernate.connection.DriverManagerConnectionProvider opening new JDBC connection
[2007-03-16 17:23:54,490] DEBUG org.hibernate.connection.DriverManagerConnectionProvider created connection to: jdbc:mysql://localhost:3306/jhu786, Isolation Level: 4
[2007-03-16 17:23:54,490] DEBUG org.hibernate.transaction.JDBCTransaction current autocommit status: false
[2007-03-16 17:23:54,490] DEBUG org.hibernate.jdbc.JDBCContext after transaction begin
[2007-03-16 17:23:54,490] DEBUG org.hibernate.event.def.DefaultSaveOrUpdateEventListener saving transient instance
[2007-03-16 17:23:54,490] DEBUG org.hibernate.event.def.AbstractSaveEventListener generated identifier: 0, using strategy: org.hibernate.id.Assigned
[2007-03-16 17:23:54,490] DEBUG org.hibernate.event.def.AbstractSaveEventListener saving [edu.jhu.jhu786.hib.Person#0]
[2007-03-16 17:23:54,490] DEBUG org.hibernate.engine.Cascade processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Person
[2007-03-16 17:23:54,506] DEBUG org.hibernate.engine.Cascade done processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Person
[2007-03-16 17:23:54,506] DEBUG org.hibernate.event.def.WrapVisitor Wrapped collection in role: edu.jhu.jhu786.hib.Person.addresses
[2007-03-16 17:23:54,506] DEBUG org.hibernate.engine.Cascade processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Person
[2007-03-16 17:23:54,506] DEBUG org.hibernate.engine.Cascade cascade ACTION_SAVE_UPDATE for collection: edu.jhu.jhu786.hib.Person.addresses
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.CascadingAction cascading to saveOrUpdate: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.IdentifierValue id unsaved-value strategy UNDEFINED
[2007-03-16 17:23:54,522] DEBUG org.hibernate.persister.entity.AbstractEntityPersister Getting current persistent state for: [edu.jhu.jhu786.hib.Address#0]
[2007-03-16 17:23:54,522] DEBUG org.hibernate.jdbc.AbstractBatcher about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
[2007-03-16 17:23:54,522] DEBUG org.hibernate.SQL select address_.id, address_.version_num as version2_2_, address_.street1 as street3_2_, address_.street2 as street4_2_, address_.city as city2_, address_.state as state2_, address_.zip as zip2_, address_.latitude as latitude2_, address_.longitude as longitude2_ from jhu786.address address_ where address_.id=?
[2007-03-16 17:23:54,522] DEBUG org.hibernate.jdbc.AbstractBatcher preparing statement
[2007-03-16 17:23:54,522] DEBUG org.hibernate.type.IntegerType binding '0' to parameter: 1
[2007-03-16 17:23:54,522] DEBUG org.hibernate.jdbc.AbstractBatcher about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
[2007-03-16 17:23:54,522] DEBUG org.hibernate.jdbc.AbstractBatcher closing statement
[2007-03-16 17:23:54,522] DEBUG org.hibernate.event.def.AbstractSaveEventListener transient instance of: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,522] DEBUG org.hibernate.event.def.DefaultSaveOrUpdateEventListener saving transient instance
[2007-03-16 17:23:54,522] DEBUG org.hibernate.event.def.AbstractSaveEventListener generated identifier: 0, using strategy: org.hibernate.id.Assigned
[2007-03-16 17:23:54,522] DEBUG org.hibernate.event.def.AbstractSaveEventListener saving [edu.jhu.jhu786.hib.Address#0]
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade done processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade done processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade done cascade ACTION_SAVE_UPDATE for collection: edu.jhu.jhu786.hib.Person.addresses
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade done processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Person
[2007-03-16 17:23:54,522] DEBUG org.hibernate.transaction.JDBCTransaction commit
[2007-03-16 17:23:54,522] DEBUG org.hibernate.impl.SessionImpl automatically flushing session
[2007-03-16 17:23:54,522] DEBUG org.hibernate.event.def.AbstractFlushingEventListener flushing session
[2007-03-16 17:23:54,522] DEBUG org.hibernate.event.def.AbstractFlushingEventListener processing flush-time cascades
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Person
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade cascade ACTION_SAVE_UPDATE for collection: edu.jhu.jhu786.hib.Person.addresses
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.CascadingAction cascading to saveOrUpdate: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,522] DEBUG org.hibernate.event.def.AbstractSaveEventListener persistent instance of: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,522] DEBUG org.hibernate.event.def.DefaultSaveOrUpdateEventListener ignoring persistent instance
[2007-03-16 17:23:54,522] DEBUG org.hibernate.event.def.DefaultSaveOrUpdateEventListener object already associated with session: [edu.jhu.jhu786.hib.Address#0]
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade done cascade ACTION_SAVE_UPDATE for collection: edu.jhu.jhu786.hib.Person.addresses
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade done processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Person
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,522] DEBUG org.hibernate.engine.Cascade done processing cascade ACTION_SAVE_UPDATE for: edu.jhu.jhu786.hib.Address
[2007-03-16 17:23:54,522] DEBUG org.hibernate.event.def.AbstractFlushingEventListener dirty checking collections
[2007-03-16 17:23:54,522] DEBUG org.hibernate.event.def.AbstractFlushingEventListener Flushing entities and processing referenced collections
[2007-03-16 17:23:54,537] DEBUG org.hibernate.engine.Collections Collection found: [edu.jhu.jhu786.hib.Person.addresses#0], was: [<unreferenced>] (initialized)
[2007-03-16 17:23:54,537] DEBUG org.hibernate.event.def.AbstractFlushingEventListener Processing unreferenced collections
[2007-03-16 17:23:54,537] DEBUG org.hibernate.event.def.AbstractFlushingEventListener Scheduling collection removes/(re)creates/updates
[2007-03-16 17:23:54,537] DEBUG org.hibernate.event.def.AbstractFlushingEventListener Flushed: 2 insertions, 0 updates, 0 deletions to 2 objects
[2007-03-16 17:23:54,537] DEBUG org.hibernate.event.def.AbstractFlushingEventListener Flushed: 1 (re)creations, 0 updates, 0 removals to 1 collections
[2007-03-16 17:23:54,537] DEBUG org.hibernate.pretty.Printer listing entities:
[2007-03-16 17:23:54,537] DEBUG org.hibernate.pretty.Printer edu.jhu.jhu786.hib.Person{addresses=[edu.jhu.jhu786.hib.Address#0], versionNum=0, relocate=null, givenName=null, id=0, familyName=null}
[2007-03-16 17:23:54,537] DEBUG org.hibernate.pretty.Printer edu.jhu.jhu786.hib.Address{street2=APT 111, longitude=null, versionNum=1, street1=1234 Main St, persons=null, state=MD, latitude=null, zip=22222, city=Baltimore, id=0}
[2007-03-16 17:23:54,537] DEBUG org.hibernate.event.def.AbstractFlushingEventListener executing flush
[2007-03-16 17:23:54,537] DEBUG org.hibernate.jdbc.ConnectionManager registering flush begin
[2007-03-16 17:23:54,537] DEBUG org.hibernate.persister.entity.AbstractEntityPersister Inserting entity: [edu.jhu.jhu786.hib.Person#0]
[2007-03-16 17:23:54,537] DEBUG org.hibernate.jdbc.AbstractBatcher about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
[2007-03-16 17:23:54,537] DEBUG org.hibernate.SQL insert into jhu786.person (version_num, family_name, given_name, relocate, id) values (?, ?, ?, ?, ?)
[2007-03-16 17:23:54,537] DEBUG org.hibernate.jdbc.AbstractBatcher preparing statement
[2007-03-16 17:23:54,568] DEBUG org.hibernate.persister.entity.AbstractEntityPersister Dehydrating entity: [edu.jhu.jhu786.hib.Person#0]
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.IntegerType binding '0' to parameter: 1
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.StringType binding null to parameter: 2
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.StringType binding null to parameter: 3
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.StringType binding null to parameter: 4
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.IntegerType binding '0' to parameter: 5
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher Adding to batch
[2007-03-16 17:23:54,568] DEBUG org.hibernate.persister.entity.AbstractEntityPersister Inserting entity: [edu.jhu.jhu786.hib.Address#0]
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher Executing batch size: 1
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher closing statement
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
[2007-03-16 17:23:54,568] DEBUG org.hibernate.SQL insert into jhu786.address (version_num, street1, street2, city, state, zip, latitude, longitude, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher preparing statement
[2007-03-16 17:23:54,568] DEBUG org.hibernate.persister.entity.AbstractEntityPersister Dehydrating entity: [edu.jhu.jhu786.hib.Address#0]
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.IntegerType binding '1' to parameter: 1
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.StringType binding '1234 Main St' to parameter: 2
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.StringType binding 'APT 111' to parameter: 3
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.StringType binding 'Baltimore' to parameter: 4
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.StringType binding 'MD' to parameter: 5
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.StringType binding '22222' to parameter: 6
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.FloatType binding null to parameter: 7
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.FloatType binding null to parameter: 8
[2007-03-16 17:23:54,568] DEBUG org.hibernate.type.IntegerType binding '0' to parameter: 9
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher Adding to batch
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher Executing batch size: 1
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher closing statement
[2007-03-16 17:23:54,568] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister Inserting collection: [edu.jhu.jhu786.hib.Person.addresses#0]
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
[2007-03-16 17:23:54,568] DEBUG org.hibernate.SQL insert into person_address (person_id, elt) values (?, ?)
[2007-03-16 17:23:54,568] DEBUG org.hibernate.jdbc.AbstractBatcher preparing statement
[2007-03-16 17:23:54,662] DEBUG org.hibernate.type.IntegerType binding '0' to parameter: 1
[2007-03-16 17:23:54,662] DEBUG org.hibernate.type.IntegerType binding '0' to parameter: 2
[2007-03-16 17:23:54,662] DEBUG org.hibernate.jdbc.AbstractBatcher Adding to batch
[2007-03-16 17:23:54,662] DEBUG org.hibernate.persister.collection.AbstractCollectionPersister done inserting collection: 1 rows inserted
[2007-03-16 17:23:54,662] DEBUG org.hibernate.jdbc.AbstractBatcher Executing batch size: 1
[2007-03-16 17:23:54,662] DEBUG org.hibernate.jdbc.AbstractBatcher about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
[2007-03-16 17:23:54,662] DEBUG org.hibernate.jdbc.AbstractBatcher closing statement
[2007-03-16 17:23:54,693] DEBUG org.hibernate.util.JDBCExceptionReporter Could not execute JDBC batch update [insert into person_address (person_id, elt) values (?, ?)]
java.sql.BatchUpdateException: Unknown column 'elt' in 'field list'
0
CEHJCommented:
I think this could be a MySql/Hibernate issue but don't know the details
0
objectsCommented:
try specifying the column name for your many to many relationship
0
Mayank SAssociate Director - Product EngineeringCommented:
I too think its on Hibernate - have you made any DB changes after compiling the classes?
0
Ajay-SinghCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dkim18Author Commented:
I did made DB changes after compiling the classes, so I performed clean and rebuild, but still same errors. BTW, I am using MyEclipse.
0
Mayank SAssociate Director - Product EngineeringCommented:
Thought so. You might need to regenerate some of the class descriptors after making the DB changes.
0
dkim18Author Commented:
well..I modified all related files including hibernate pojo object.
0
Mayank SAssociate Director - Product EngineeringCommented:
I think there has been a mistake in that modification.
0
dkim18Author Commented:
Ok, I was having so much trouble many to many last night so, I am starting from one to many and still have problem.
Please take a look this and see if there is anything wrong.
++++++++
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
      
    <class name="edu.jhu.jhu786.hib.Address" table="address" catalog="jhu786_1">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="assigned" />
        </id>
     
        <property name="versionNum" type="java.lang.Integer">
            <column name="version_num" not-null="true" />
        </property>
     
        <property name="street1" type="java.lang.String">
            <column name="street1" length="50" />
        </property>
        <property name="street2" type="java.lang.String">
            <column name="street2" length="50" />
        </property>
        <property name="city" type="java.lang.String">
            <column name="city" length="50" />
        </property>
        <property name="state" type="java.lang.String">
            <column name="state" length="2" />
        </property>
        <property name="zip" type="java.lang.String">
            <column name="zip" length="10" />
        </property>
        <property name="latitude" type="java.lang.Float">
            <column name="latitude" precision="4" />
        </property>
        <property name="longitude" type="java.lang.Float">
            <column name="longitude" precision="4" />
        </property>
     
    </class>
</hibernate-mapping>
+++++++++++++++++++
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
    Mapping file autogenerated by MyEclipse - Hibernate Tools
-->
<hibernate-mapping>
    <class name="edu.jhu.jhu786.hib.Person" table="person" catalog="jhu786_1">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="assigned" />
        </id>
        <property name="versionNum" type="java.lang.Integer">
            <column name="version_num" not-null="true" />
        </property>
        <property name="familyName" type="java.lang.String">
            <column name="family_name" length="20" />
        </property>
        <property name="givenName" type="java.lang.String">
            <column name="given_name" length="20" />
        </property>
        <property name="relocate" type="java.lang.String">
            <column name="relocate" length="20" />
        </property>
        <set name="addresses" inverse="true">
            <key>
                <column name="person_id" not-null="true" />
            </key>
            <one-to-many class="edu.jhu.jhu786.hib.Address" />
        </set>
    </class>
</hibernate-mapping>
++++++++++++++
public class Address  extends BaseModel implements java.io.Serializable {


    // Fields    

     //private Integer id;
     //private Person person;
  //  private Integer personId;
     //private Integer versionNum;
     private String street1;
     private String street2;
     private String city;
     private String state;
     private String zip;
     private Float latitude;
     private Float longitude;
     //private Set persons;

    // Constructors

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

      /** minimal constructor */
    public Address(Integer id, /*Person person,*/ Integer versionNum) {
        this.id = id;
       // this.person = person;
        this.versionNum = versionNum;
    }
   
    /** full constructor */
    public Address( Integer versionNum, String street1, String street2, String city, String state, String zip/*, Float latitude, Float longitude*/) {
       
        //this.person = person;
        this.versionNum = versionNum;
        this.street1 = street1;
        this.street2 = street2;
        this.city = city;
        this.state = state;
        this.zip = zip;
        //this.latitude = latitude;
        //this.longitude = longitude;
    }
...
...
++++++++++++++
public class Person extends BaseModel implements java.io.Serializable {


    // Fields    

    // private Integer id;
     //private Integer versionNum;
     private String familyName;
     private String givenName;
     private String relocate;
     private Set addresses;


    // Constructors

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

      /** minimal constructor */
    public Person(Integer id, Integer versionNum) {
        this.id = id;
        this.versionNum = versionNum;
    }
   
    /** full constructor */
    public Person(Integer versionNum, String familyName, String givenName, String relocate) {

        this.versionNum = versionNum;
        this.familyName = familyName;
        this.givenName = givenName;
        this.relocate = relocate;
     
    }
...
...
...
++++++++++++++=
public static void main(String[] args) {
       ...
       
        TestDriver testDriver = new TestDriver();
     
        Person person = new Person(1, "Smith", "John",  null /*relocate*/ );
        Address address1 = new Address( 1, "1234 Main St", "APT 111", "Baltimore", "MD", "22222");
   
        person.setAddresses(new HashSet());
        person.getAddresses().add(address1);
     
        testDriver.insertAddress(address1, addressDAO);
        testDriver.insertPerson(person, personDAO);
...
+++++++++++
and I have this error.
...
...
[2007-03-17 15:08:49,448] DEBUG org.hibernate.util.JDBCExceptionReporter Could not execute JDBC batch update [insert into jhu786_1.address (version_num, street1, street2, city, state, zip, latitude, longitude, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?)]
java.sql.BatchUpdateException: Field 'person_id' doesn't have a default value
      at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:665)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:985)
      at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:333)
      at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
      at edu.jhu.jhu786.hib.AddressDAOImpl.insert(AddressDAOImpl.java:33)
      at edu.jhu.jhu786.hib.TestDriver.insertAddress(TestDriver.java:128)
      at edu.jhu.jhu786.hib.TestDriver.main(TestDriver.java:59)
[2007-03-17 15:08:49,448] WARN  org.hibernate.util.JDBCExceptionReporter SQL Error: 1364, SQLState: HY000
[2007-03-17 15:08:49,448] ERROR org.hibernate.util.JDBCExceptionReporter Field 'person_id' doesn't have a default value
[2007-03-17 15:08:49,448] ERROR org.hibernate.event.def.AbstractFlushingEventListener Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
      at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
      at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:202)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
      at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
      at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
      at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:985)
      at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:333)
      at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
      at edu.jhu.jhu786.hib.AddressDAOImpl.insert(AddressDAOImpl.java:33)
      at edu.jhu.jhu786.hib.TestDriver.insertAddress(TestDriver.java:128)
      at edu.jhu.jhu786.hib.TestDriver.main(TestDriver.java:59)
Caused by: java.sql.BatchUpdateException: Field 'person_id' doesn't have a default value

...
...

0
dkim18Author Commented:
Of course, I changed DB tables and things are working except this error message because it gives me different error message if I change something.
0
objectsCommented:
looks like person_id is still in your database schema
0
CEHJCommented:
Check the foreign key in Address is specified properly
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.