-->
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.  [ 6 posts ] 
Author Message
 Post subject: problem when adding/removing a mapping property
PostPosted: Mon Jun 27, 2005 3:17 am 
Beginner
Beginner

Joined: Mon Jun 06, 2005 4:23 am
Posts: 41
Location: Hagenberg, AUSTRIA
regarding to my posting http://forum.hibernate.org/viewtopic.php?t=943739&highlight= hibernate is not able to reverse engineer my database tables from ingres database.

so i decided to write a mapping document on my own for testing purposes if hibernate basically works with ingres in my case.

but there are two problems i have to face with:
1. when adding or removing a property from the mapping document and creating a session factory to retrieve the database content, the hibernate tools stuck. it looks like an infinite loop, nothing happens anymore and i have to "kill" eclipse via task manager. after restarting eclipse the retrieval of the database content works.
for example i add or remove the following:
Code:
<property name="lfdnr" type="java.lang.Integer">
            <column name="LFDNR" not-null="true" />
        </property>


2. when adding a <one-to-one> mapping to the mapping document the tools stuck as well after creating a session factory and retrieving the database content. restarting eclipse won't help to fix this.
that's the code of the one-to-one mapping:
Code:
<one-to-one name="ident" class="ams.ingres.PvFamip"/>

the PvFamip mapping document is exactly the same as the one posted below (it's a copy with changes made in the
Code:
<class name="ams.ingres.PvFamip" table="PV_FAMIP">
tag and the one-to-one-mapping:
Code:
<one-to-one name="ident" class="ams.ingres.PvStamp"/>


both problems occur when double-clicking on one of the mapped entities in the hibernate configuration view from the hibernate console perspective.
unfortunately no errors were written to the logs.
what can i do to solve my two problems?
thanks in advance!
patrik

my config:
Hibernate version:
3.0.5, Tools: alpha4a

Mapping documents:
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<!--
        Auto-generated mapping file from
        the hibernate.org cfg2hbm engine
-->
    <class name="ams.ingres.PvStamp" table="PV_STAMP">
        <id name="ident" type="java.lang.Integer">
            <column name="IDENT" precision="12" scale="0" />
            <generator class="assigned" />
        </id>
        <property name="lfdnr" type="java.lang.Integer">
            <column name="LFDNR" not-null="true" />
        </property>
        <property name="kennung" type="java.lang.String">
            <column name="KENNUNG" length="1" not-null="true" />
        </property>
        <property name="kennungIdent" type="java.lang.Integer">
            <column name="KENNUNG_IDENT" not-null="true" />
        </property>
        <property name="referenz" type="java.lang.String">
            <column name="REFERENZ" length="40" not-null="true" />
        </property>
        <property name="land" type="java.lang.String">
            <column name="LAND" length="40" not-null="true" />
        </property>
        <property name="landIdent" type="java.lang.Integer">
            <column name="LAND_IDENT" not-null="true" />
        </property>
        <property name="prz" type="java.lang.String">
            <column name="PRZ" length="40" not-null="true" />
        </property>
        <property name="przIdent" type="java.lang.Integer">
            <column name="PRZ_IDENT" not-null="true" />
        </property>
        <property name="schlagwort" type="java.lang.String">
            <column name="SCHLAGWORT" length="40" not-null="true" />
        </property>
        <property name="aufrecht" type="java.lang.String">
            <column name="AUFRECHT" length="40" not-null="true" />
        </property>
        <property name="status" type="java.lang.Integer">
            <column name="STATUS" not-null="true" />
        </property>
        <property name="aktenzeichen" type="java.lang.String">
            <column name="AKTENZEICHEN" length="40" not-null="true" />
        </property>
        <property name="anmeldung" type="java.sql.Date">
            <column name="ANMELDUNG" not-null="true" />
        </property>
        <property name="bekanntmachung" type="java.sql.Date">
            <column name="BEKANNTMACHUNG" not-null="true" />
        </property>
        <property name="offenlegung" type="java.sql.Date">
            <column name="OFFENLEGUNG" not-null="true" />
        </property>
        <property name="erteilung" type="java.sql.Date">
            <column name="ERTEILUNG" not-null="true" />
        </property>
        <property name="ausgabe" type="java.sql.Date">
            <column name="AUSGABE" not-null="true" />
        </property>
        <property name="beschluss51" type="java.sql.Date">
            <column name="BESCHLUSS_51" not-null="true" />
        </property>
        <property name="natAnmeldung" type="java.sql.Date">
            <column name="NAT_ANMELDUNG" not-null="true" />
        </property>
        <property name="pruefungsfrist" type="java.sql.Date">
            <column name="PRUEFUNGSFRIST" not-null="true" />
        </property>
        <property name="frist1" type="java.sql.Date">
            <column name="FRIST1" not-null="true" />
        </property>
        <property name="frist2" type="java.sql.Date">
            <column name="FRIST2" not-null="true" />
        </property>
        <property name="frist3" type="java.sql.Date">
            <column name="FRIST3" not-null="true" />
        </property>
        <property name="offenlegungNummer" type="java.lang.String">
            <column name="OFFENLEGUNG_NUMMER" length="40" not-null="true" />
        </property>
        <property name="offenlegungArt" type="java.lang.String">
            <column name="OFFENLEGUNG_ART" length="40" not-null="true" />
        </property>
        <property name="patentNummer" type="java.lang.String">
            <column name="PATENT_NUMMER" length="40" not-null="true" />
        </property>
        <property name="patentArt" type="java.lang.String">
            <column name="PATENT_ART" length="40" not-null="true" />
        </property>
        <property name="bekanntmachungNummer" type="java.lang.String">
            <column name="BEKANNTMACHUNG_NUMMER" length="40" not-null="true" />
        </property>
        <property name="bekanntmachungArt" type="java.lang.String">
            <column name="BEKANNTMACHUNG_ART" length="40" not-null="true" />
        </property>
        <property name="uebersetzungNummer" type="java.lang.String">
            <column name="UEBERSETZUNG_NUMMER" length="40" not-null="true" />
        </property>
        <property name="uebersetzungArt" type="java.lang.String">
            <column name="UEBERSETZUNG_ART" length="40" not-null="true" />
        </property>
        <property name="pruefungsAntrag" type="java.lang.String">
            <column name="PRUEFUNGSANTRAG" length="40" not-null="true" />
        </property>
        <property name="technischeAbteilung" type="java.lang.String">
            <column name="TECHNISCHE_ABTEILUNG" length="40" not-null="true" />
        </property>
        <property name="pctAktenzeichen" type="java.lang.String">
            <column name="PCT_AKTENZEICHEN" length="40" not-null="true" />
        </property>
        <property name="stammanmeldung" type="java.lang.String">
            <column name="STAMMANMELDUNG" length="40" not-null="true" />
        </property>
        <property name="prioritaet" type="java.lang.String">
            <column name="PRIORITAET" length="40" not-null="true" />
        </property>
        <property name="kategorie1" type="java.lang.String">
            <column name="KATEGORIE_1" length="40" not-null="true" />
        </property>
        <property name="kategorie2" type="java.lang.String">
            <column name="KATEGORIE_2" length="40" not-null="true" />
        </property>
        <property name="kategorie3" type="java.lang.String">
            <column name="KATEGORIE_3" length="40" not-null="true" />
        </property>
        <property name="kategorie4" type="java.lang.String">
            <column name="KATEGORIE_4" length="40" not-null="true" />
        </property>
        <property name="freigabe" type="java.lang.String">
            <column name="FREIGABE" length="40" not-null="true" />
        </property>
        <property name="nationalePhase" type="java.lang.String">
            <column name="NATIONALE_PHASE" length="40" not-null="true" />
        </property>
        <property name="identNatph" type="java.lang.Integer">
            <column name="IDENT_NATPH" not-null="true" />
        </property>
        <property name="regPatNummer" type="java.lang.String">
            <column name="REG_PAT_NUMMER" length="40" not-null="true" />
        </property>
        <property name="reg516Erteilung" type="java.sql.Date">
            <column name="REG_51_6_ERTEILUNG" not-null="true" />
        </property>
        <property name="regPatAn" type="java.lang.String">
            <column name="REG_PAT_AN" length="40" not-null="true" />
        </property>
        <property name="anzahlStaemme" type="java.lang.Integer">
            <column name="ANZAHL_STAEMME" not-null="true" />
        </property>
        <property name="anzahlFamilien" type="java.lang.Integer">
            <column name="ANZAHL_FAMILIEN" not-null="true" />
        </property>
        <property name="anzahlFristen" type="java.lang.Integer">
            <column name="ANZAHL_FRISTEN" not-null="true" />
        </property>
        <property name="jgEintrag" type="java.lang.String">
            <column name="JG_EINTRAG" length="40" not-null="true" />
        </property>
        <property name="revision" type="java.lang.Integer">
            <column name="REVISION" not-null="true" />
        </property>
        <property name="modulIdent" type="java.lang.Integer">
            <column name="MODUL_IDENT" not-null="true" />
        </property>
        <property name="sessionIdent" type="java.lang.Integer">
            <column name="SESSION_IDENT" not-null="true" />
        </property>
        <property name="erfassDatum" type="java.sql.Date">
            <column name="ERFASS_DATUM" not-null="true" />
        </property>
        <property name="erfassName" type="java.lang.String">
            <column name="ERFASS_NAME" length="40" not-null="true" />
        </property>
        <property name="aenderDatum" type="java.sql.Date">
            <column name="AENDER_DATUM" not-null="true" />
        </property>
        <property name="aenderName" type="java.lang.String">
            <column name="AENDER_NAME" length="40" not-null="true" />
        </property>
    </class>
</hibernate-mapping>


Hibernate Configuration:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
      "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
      "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
    <session-factory>
        <property name="hibernate.connection.username">ingres</property>
        <property name="hibernate.connection.password">******</property>
        <property name="hibernate.dialect">org.hibernate.dialect.IngresDialect</property>
        <property name="hibernate.connection.url">jdbc:edbc://192.***.193.***:21071/dipasdem</property>
        <property name="hibernate.connection.driver_class">ca.edbc.jdbc.EdbcDriver</property>
        <mapping resource="ams/ingres/PvStamp.hbm.xml" />
        <mapping resource="ams/ingres/PvFamip.hbm.xml" />
    </session-factory>
</hibernate-configuration>


Code between sessionFactory.openSession() and session.close():
none

Full stack trace of any exception that occurs:
no exception occurs, the hibernate tools seems to stuck

Name and version of the database you are using:
CA Ingres 2.6

The generated SQL (show_sql=true):
none

Debug level Hibernate log excerpt:
none

Eclipse Version
3.1RC3


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 27, 2005 6:25 am 
Beginner
Beginner

Joined: Mon Jun 06, 2005 4:23 am
Posts: 41
Location: Hagenberg, AUSTRIA
the following debug info may help to solve my problems:
i appreciate any useful hint...
regards, patrik

ps.: wherever you find ## some text ## i shortened the debug output because of better reading.

pps.: now, here's the console output

Code:
11:41:49,471  INFO Environment:464 - Hibernate 3.0.5
11:41:49,471  INFO Environment:477 - hibernate.properties not found
11:41:49,471  INFO Environment:510 - using CGLIB reflection optimizer
11:41:49,471  INFO Environment:540 - using JDK 1.4 java.sql.Timestamp handling
11:41:49,561  INFO Configuration:1110 - configuring from resource: /hibernate.cfg.xml
11:41:49,561  INFO Configuration:1081 - Configuration resource: /hibernate.cfg.xml
11:41:49,831 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath under org/hibernate/
11:41:49,831 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath
11:41:49,891 DEBUG Configuration:1067 - hibernate.connection.username=ingres
11:41:49,891 DEBUG Configuration:1067 - hibernate.connection.password=ingres
11:41:49,891 DEBUG Configuration:1067 - hibernate.dialect=org.hibernate.dialect.IngresDialect
11:41:49,891 DEBUG Configuration:1067 - hibernate.connection.url=jdbc:edbc://192.168.193.132:21071/dipasdem
11:41:49,891 DEBUG Configuration:1067 - hibernate.connection.driver_class=ca.edbc.jdbc.EdbcDriver
11:41:49,891 DEBUG Configuration:1262 - null<-org.dom4j.tree.DefaultAttribute@1aaa14a [Attribute: name resource value "ams/ingres/PvStamp.hbm.xml"]
11:41:49,891  INFO Configuration:444 - Mapping resource: ams/ingres/PvStamp.hbm.xml
11:41:49,901 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
11:41:49,901 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath
11:41:50,162  INFO HbmBinder:260 - Mapping class: ams.ingres.PvStamp -> PV_STAMP
11:41:50,162 DEBUG HbmBinder:1099 - Mapped property: ident -> IDENT
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: lfdnr -> LFDNR
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: kennung -> KENNUNG
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: kennungIdent -> KENNUNG_IDENT
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: referenz -> REFERENZ
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: land -> LAND
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: landIdent -> LAND_IDENT
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: prz -> PRZ
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: przIdent -> PRZ_IDENT
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: schlagwort -> SCHLAGWORT
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: aufrecht -> AUFRECHT
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: status -> STATUS
11:41:50,182 DEBUG HbmBinder:1099 - Mapped property: aktenzeichen -> AKTENZEICHEN
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: anmeldung -> ANMELDUNG
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: bekanntmachung -> BEKANNTMACHUNG
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: offenlegung -> OFFENLEGUNG
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: erteilung -> ERTEILUNG
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: ausgabe -> AUSGABE
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: beschluss51 -> BESCHLUSS_51
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: natAnmeldung -> NAT_ANMELDUNG
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: pruefungsfrist -> PRUEFUNGSFRIST
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: frist1 -> FRIST1
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: frist2 -> FRIST2
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: frist3 -> FRIST3
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: offenlegungNummer -> OFFENLEGUNG_NUMMER
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: offenlegungArt -> OFFENLEGUNG_ART
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: patentNummer -> PATENT_NUMMER
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: patentArt -> PATENT_ART
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: bekanntmachungNummer -> BEKANNTMACHUNG_NUMMER
11:41:50,192 DEBUG HbmBinder:1099 - Mapped property: bekanntmachungArt -> BEKANNTMACHUNG_ART
11:41:50,202 DEBUG HbmBinder:1099 - Mapped property: uebersetzungNummer -> UEBERSETZUNG_NUMMER
11:41:50,202 DEBUG HbmBinder:1099 - Mapped property: uebersetzungArt -> UEBERSETZUNG_ART
11:41:50,202 DEBUG HbmBinder:1099 - Mapped property: pruefungsAntrag -> PRUEFUNGSANTRAG
11:41:50,202 DEBUG HbmBinder:1099 - Mapped property: technischeAbteilung -> TECHNISCHE_ABTEILUNG
11:41:50,202 DEBUG HbmBinder:1099 - Mapped property: pctAktenzeichen -> PCT_AKTENZEICHEN
11:41:50,202 DEBUG HbmBinder:1099 - Mapped property: stammanmeldung -> STAMMANMELDUNG
11:41:50,202 DEBUG HbmBinder:1099 - Mapped property: prioritaet -> PRIORITAET
11:41:50,202 DEBUG HbmBinder:1099 - Mapped property: kategorie1 -> KATEGORIE_1
11:41:50,202 DEBUG HbmBinder:1099 - Mapped property: kategorie2 -> KATEGORIE_2
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: kategorie3 -> KATEGORIE_3
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: kategorie4 -> KATEGORIE_4
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: freigabe -> FREIGABE
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: nationalePhase -> NATIONALE_PHASE
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: identNatph -> IDENT_NATPH
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: regPatNummer -> REG_PAT_NUMMER
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: reg516Erteilung -> REG_51_6_ERTEILUNG
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: regPatAn -> REG_PAT_AN
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: anzahlStaemme -> ANZAHL_STAEMME
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: anzahlFamilien -> ANZAHL_FAMILIEN
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: anzahlFristen -> ANZAHL_FRISTEN
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: jgEintrag -> JG_EINTRAG
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: revision -> REVISION
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: modulIdent -> MODUL_IDENT
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: sessionIdent -> SESSION_IDENT
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: erfassDatum -> ERFASS_DATUM
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: erfassName -> ERFASS_NAME
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: aenderDatum -> AENDER_DATUM
11:41:50,212 DEBUG HbmBinder:1099 - Mapped property: aenderName -> AENDER_NAME
11:41:50,212 DEBUG Configuration:1262 - null<-org.dom4j.tree.DefaultAttribute@17f1ba3 [Attribute: name resource value "ams/ingres/PvFamip.hbm.xml"]
11:41:50,212  INFO Configuration:444 - Mapping resource: ams/ingres/PvFamip.hbm.xml
11:41:50,222 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
11:41:50,222 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath
11:41:50,322  INFO HbmBinder:260 - Mapping class: ams.ingres.PvFamip -> PV_FAMIP
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: ident -> IDENT
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: lfdnr -> LFDNR
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: kennung -> KENNUNG
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: kennungIdent -> KENNUNG_IDENT
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: referenz -> REFERENZ
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: land -> LAND
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: landIdent -> LAND_IDENT
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: prz -> PRZ
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: przIdent -> PRZ_IDENT
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: schlagwort -> SCHLAGWORT
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: aufrecht -> AUFRECHT
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: status -> STATUS
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: aktenzeichen -> AKTENZEICHEN
11:41:50,322 DEBUG HbmBinder:1099 - Mapped property: anmeldung -> ANMELDUNG
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: bekanntmachung -> BEKANNTMACHUNG
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: offenlegung -> OFFENLEGUNG
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: erteilung -> ERTEILUNG
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: ausgabe -> AUSGABE
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: beschluss51 -> BESCHLUSS_51
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: natAnmeldung -> NAT_ANMELDUNG
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: pruefungsfrist -> PRUEFUNGSFRIST
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: frist1 -> FRIST1
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: frist2 -> FRIST2
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: frist3 -> FRIST3
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: offenlegungNummer -> OFFENLEGUNG_NUMMER
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: offenlegungArt -> OFFENLEGUNG_ART
11:41:50,332 DEBUG HbmBinder:1099 - Mapped property: patentNummer -> PATENT_NUMMER
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: patentArt -> PATENT_ART
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: bekanntmachungNummer -> BEKANNTMACHUNG_NUMMER
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: bekanntmachungArt -> BEKANNTMACHUNG_ART
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: uebersetzungNummer -> UEBERSETZUNG_NUMMER
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: uebersetzungArt -> UEBERSETZUNG_ART
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: pruefungsAntrag -> PRUEFUNGSANTRAG
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: technischeAbteilung -> TECHNISCHE_ABTEILUNG
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: pctAktenzeichen -> PCT_AKTENZEICHEN
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: stammanmeldung -> STAMMANMELDUNG
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: prioritaet -> PRIORITAET
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: kategorie1 -> KATEGORIE_1
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: kategorie2 -> KATEGORIE_2
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: kategorie3 -> KATEGORIE_3
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: kategorie4 -> KATEGORIE_4
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: freigabe -> FREIGABE
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: nationalePhase -> NATIONALE_PHASE
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: identNatph -> IDENT_NATPH
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: regPatNummer -> REG_PAT_NUMMER
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: reg516Erteilung -> REG_51_6_ERTEILUNG
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: regPatAn -> REG_PAT_AN
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: anzahlStaemme -> ANZAHL_STAEMME
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: anzahlFamilien -> ANZAHL_FAMILIEN
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: anzahlFristen -> ANZAHL_FRISTEN
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: jgEintrag -> JG_EINTRAG
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: revision -> REVISION
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: modulIdent -> MODUL_IDENT
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: sessionIdent -> SESSION_IDENT
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: erfassDatum -> ERFASS_DATUM
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: erfassName -> ERFASS_NAME
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: aenderDatum -> AENDER_DATUM
11:41:50,362 DEBUG HbmBinder:1099 - Mapped property: aenderName -> AENDER_NAME
11:41:50,362  INFO Configuration:1222 - Configured SessionFactory: null
11:41:50,362 DEBUG Configuration:1223 - properties: ## some properties ##

11:41:50,362 DEBUG Configuration:998 - Preparing to build session factory with filters : {}
11:41:50,362  INFO Configuration:875 - processing extends queue
11:41:50,362  INFO Configuration:879 - processing collection mappings
11:41:50,362  INFO Configuration:888 - processing association property references
11:41:50,362  INFO Configuration:917 - processing foreign key constraints
11:41:50,482  INFO DriverManagerConnectionProvider:41 - Using Hibernate built-in connection pool (not for production use!)
11:41:50,482  INFO DriverManagerConnectionProvider:42 - Hibernate connection pool size: 20
11:41:50,482  INFO DriverManagerConnectionProvider:45 - autocommit mode: false
11:41:50,482  INFO DriverManagerConnectionProvider:80 - using driver: ca.edbc.jdbc.EdbcDriver at URL: jdbc:edbc://192.168.193.132:21071/dipasdem
11:41:50,482  INFO DriverManagerConnectionProvider:83 - connection properties: {user=ingres, password=ingres}
11:41:50,482 DEBUG DriverManagerConnectionProvider:93 - total checked-out connections: 0
11:41:50,482 DEBUG DriverManagerConnectionProvider:109 - opening new JDBC connection
11:41:50,672 DEBUG DriverManagerConnectionProvider:115 - created connection to: jdbc:edbc://192.168.193.132:21071/dipasdem, Isolation Level: 8
11:41:50,692 DEBUG SettingsFactory:295 - could not get database version from JDBC metadata
11:41:50,702  INFO SettingsFactory:77 - RDBMS: INGRES, version: II 2.6/0207 (int.w32/02)
11:41:50,702  INFO SettingsFactory:78 - JDBC driver: CA-EDBC JDBC Driver, version: 1.3
11:41:50,702 DEBUG DriverManagerConnectionProvider:129 - returning connection to pool, pool size: 1
11:41:50,732  INFO Dialect:92 - Using dialect: org.hibernate.dialect.IngresDialect
11:41:50,732  INFO TransactionFactoryFactory:31 - Using default transaction strategy (direct JDBC transactions)
11:41:50,742  INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
11:41:50,742  INFO SettingsFactory:125 - Automatic flush during beforeCompletion(): disabled
11:41:50,742  INFO SettingsFactory:129 - Automatic session close at end of transaction: disabled
11:41:50,742  INFO SettingsFactory:144 - Scrollable result sets: disabled
11:41:50,742 DEBUG SettingsFactory:148 - Wrap result sets: disabled
11:41:50,742  INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): disabled
11:41:50,742  INFO SettingsFactory:160 - Connection release mode: null
11:41:50,742  INFO SettingsFactory:187 - Default batch fetch size: 1
11:41:50,742  INFO SettingsFactory:191 - Generate SQL with comments: disabled
11:41:50,742  INFO SettingsFactory:195 - Order SQL updates by primary key: disabled
11:41:50,742  INFO SettingsFactory:334 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
11:41:50,742  INFO ASTQueryTranslatorFactory:21 - Using ASTQueryTranslatorFactory
11:41:50,752  INFO SettingsFactory:203 - Query language substitutions: {}
11:41:50,752  INFO SettingsFactory:209 - Second-level cache: enabled
11:41:50,752  INFO SettingsFactory:213 - Query cache: disabled
11:41:50,752  INFO SettingsFactory:321 - Cache provider: org.hibernate.cache.EhCacheProvider
11:41:50,752  INFO SettingsFactory:228 - Optimize cache for minimal puts: disabled
11:41:50,752  INFO SettingsFactory:237 - Structured second-level cache entries: disabled
11:41:50,752 DEBUG SQLExceptionConverterFactory:52 - Using dialect defined converter
11:41:50,762  INFO SettingsFactory:261 - Statistics: disabled
11:41:50,762  INFO SettingsFactory:265 - Deleted entity synthetic identifier rollback: disabled
11:41:50,762  INFO SettingsFactory:279 - Default entity-mode: pojo
11:41:50,903  INFO SessionFactoryImpl:152 - building session factory
11:41:50,913 DEBUG SessionFactoryImpl:161 - Session factory constructed with filter configurations : {}
11:41:50,913 DEBUG SessionFactoryImpl:164 - instantiating session factory with properties: ## some properties
11:41:50,973  WARN Configurator:126 - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/D:/Eclipses/eclipse-SDK-3.1RC3-win32/workspace/Ingres/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
11:41:51,574 DEBUG BasicEntityPersister:2220 - Static SQL for entity: ams.ingres.PvFamip
## some sql-statements ##

11:41:52,665 DEBUG SessionFactoryObjectFactory:39 - initializing class SessionFactoryObjectFactory
11:41:52,665 DEBUG SessionFactoryObjectFactory:76 - registered: 402841d604bd2c8e0104bd2c958f0000 (unnamed)
11:41:52,665  INFO SessionFactoryObjectFactory:82 - Not binding factory to JNDI, no JNDI name configured
11:41:52,665 DEBUG SessionFactoryImpl:262 - instantiated session factory
11:41:52,665  INFO SessionFactoryImpl:379 - Checking 0 named queries
11:41:52,775 DEBUG SessionImpl:250 - opened session at timestamp: 4586968320675840
11:41:52,775 DEBUG JDBCTransaction:46 - begin
11:41:52,775 DEBUG ConnectionManager:296 - opening JDBC connection
11:41:52,775 DEBUG DriverManagerConnectionProvider:93 - total checked-out connections: 0
11:41:52,775 DEBUG DriverManagerConnectionProvider:99 - using pooled JDBC connection, pool size: 0
11:41:52,775 DEBUG JDBCTransaction:50 - current autocommit status: false
11:41:52,785 DEBUG Cascades:588 - id unsaved-value strategy UNDEFINED
11:41:52,785 DEBUG BasicEntityPersister:860 - Getting current persistent state for: [ams.ingres.PvStamp#1]
11:41:52,815 DEBUG AbstractBatcher:290 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
11:41:52,815 DEBUG SQL:324 - select pvstamp_.IDENT, pvstamp_.LFDNR as LFDNR0_, pvstamp_.KENNUNG as KENNUNG0_, pvstamp_.KENNUNG_IDENT as KENNUNG4_0_, pvstamp_.REFERENZ as REFERENZ0_, pvstamp_.LAND as LAND0_, pvstamp_.LAND_IDENT as LAND7_0_, pvstamp_.PRZ as PRZ0_, pvstamp_.PRZ_IDENT as PRZ9_0_, pvstamp_.SCHLAGWORT as SCHLAGWORT0_, pvstamp_.AUFRECHT as AUFRECHT0_, pvstamp_.STATUS as STATUS0_, pvstamp_.AKTENZEICHEN as AKTENZE13_0_, pvstamp_.ANMELDUNG as ANMELDUNG0_, pvstamp_.BEKANNTMACHUNG as BEKANNT15_0_, pvstamp_.OFFENLEGUNG as OFFENLE16_0_, pvstamp_.ERTEILUNG as ERTEILUNG0_, pvstamp_.AUSGABE as AUSGABE0_, pvstamp_.BESCHLUSS_51 as BESCHLUSS19_0_, pvstamp_.NAT_ANMELDUNG as NAT20_0_, pvstamp_.PRUEFUNGSFRIST as PRUEFUN21_0_, pvstamp_.FRIST1 as FRIST22_0_, pvstamp_.FRIST2 as FRIST23_0_, pvstamp_.FRIST3 as FRIST24_0_, pvstamp_.OFFENLEGUNG_NUMMER as OFFENLE25_0_, pvstamp_.OFFENLEGUNG_ART as OFFENLE26_0_, pvstamp_.PATENT_NUMMER as PATENT27_0_, pvstamp_.PATENT_ART as PATENT28_0_, pvstamp_.BEKANNTMACHUNG_NUMMER as BEKANNT29_0_, pvstamp_.BEKANNTMACHUNG_ART as BEKANNT30_0_, pvstamp_.UEBERSETZUNG_NUMMER as UEBERSE31_0_, pvstamp_.UEBERSETZUNG_ART as UEBERSE32_0_, pvstamp_.PRUEFUNGSANTRAG as PRUEFUN33_0_, pvstamp_.TECHNISCHE_ABTEILUNG as TECHNISCHE34_0_, pvstamp_.PCT_AKTENZEICHEN as PCT35_0_, pvstamp_.STAMMANMELDUNG as STAMMAN36_0_, pvstamp_.PRIORITAET as PRIORITAET0_, pvstamp_.KATEGORIE_1 as KATEGORIE38_0_, pvstamp_.KATEGORIE_2 as KATEGORIE39_0_, pvstamp_.KATEGORIE_3 as KATEGORIE40_0_, pvstamp_.KATEGORIE_4 as KATEGORIE41_0_, pvstamp_.FREIGABE as FREIGABE0_, pvstamp_.NATIONALE_PHASE as NATIONALE43_0_, pvstamp_.IDENT_NATPH as IDENT44_0_, pvstamp_.REG_PAT_NUMMER as REG45_0_, pvstamp_.REG_51_6_ERTEILUNG as REG46_0_, pvstamp_.REG_PAT_AN as REG47_0_, pvstamp_.ANZAHL_STAEMME as ANZAHL48_0_, pvstamp_.ANZAHL_FAMILIEN as ANZAHL49_0_, pvstamp_.ANZAHL_FRISTEN as ANZAHL50_0_, pvstamp_.JG_EINTRAG as JG51_0_, pvstamp_.REVISION as REVISION0_, pvstamp_.MODUL_IDENT as MODUL53_0_, pvstamp_.SESSION_IDENT as SESSION54_0_, pvstamp_.ERFASS_DATUM as ERFASS55_0_, pvstamp_.ERFASS_NAME as ERFASS56_0_, pvstamp_.AENDER_DATUM as AENDER57_0_, pvstamp_.AENDER_NAME as AENDER58_0_ from PV_STAMP pvstamp_ where pvstamp_.IDENT=?
11:41:52,815 DEBUG AbstractBatcher:378 - preparing statement
11:41:52,875 DEBUG IntegerType:59 - binding '1' to parameter: 1


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 27, 2005 7:55 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
write down the *exact* steps you do to reproduce this and put it in jira.

When i say *exact* I mean it ;) - like did you or did you not rebuild the session factory etc. etc.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 27, 2005 8:12 am 
Beginner
Beginner

Joined: Mon Jun 06, 2005 4:23 am
Posts: 41
Location: Hagenberg, AUSTRIA
ok.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 27, 2005 8:15 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
and optimally reduce the mapping files to a minimum ,)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 27, 2005 9:17 am 
Beginner
Beginner

Joined: Mon Jun 06, 2005 4:23 am
Posts: 41
Location: Hagenberg, AUSTRIA
i have already posted it to the jira without the mapping file, because i figured out that it does not depend on a specific mapping-file. it's more on adding/removing properties in any mapping-file i'm using.


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