-->
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.  [ 4 posts ] 
Author Message
 Post subject: JDBC type conversion
PostPosted: Mon Nov 20, 2006 1:15 am 
Regular
Regular

Joined: Wed Mar 15, 2006 1:48 pm
Posts: 91
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

[b]Hibernate version:[/b] 3.2GA, 3.2beta8 for Hibernate Tool

[b]Mapping documents:[/b]

[b]Code between sessionFactory.openSession() and session.close():[/b]

[b]Full stack trace of any exception that occurs:[/b]

[b]Name and version of the database you are using:[/b] MySQL 5.0.24

[b]The generated SQL (show_sql=true):[/b]

[b]Debug level Hibernate log excerpt:[/b]

I have a field SiteId which is defined as smallint with length=5, and generated hbm type is Short. I need convert it into Integer. So I added my rev. eng. file as below,

<hibernate-reverse-engineering>
<schema-selection match-table="order_contact"/>
<type-mapping>
<!-- jdbc-type is name fom java.sql.Types -->
<sql-type jdbc-type="DECIMAL" precision="10" scale="0" hibernate-type="Long"/>
<sql-type jdbc-type="DECIMAL" precision="5" scale="0" hibernate-type="Integer"/>
<sql-type jdbc-type="CHAR" length="1" hibernate-type="yes_no"/>
<sql-type jdbc-type="DECIMAL" precision="1" scale="0" hibernate-type="yes_no"/>
<sql-type jdbc-type="DECIMAL" precision="19" scale="0" hibernate-type="Long"/>
<sql-type jdbc-type="DECIMAL" precision="5" scale="2" hibernate-type="Float"/>
</type-mapping>
<table name="order_contact">
<primary-key>
<generator class="native"/>
</primary-key>
</table>
</hibernate-reverse-engineering>

But generated hbm is still having Short type for SiteId as below,

<hibernate-mapping>
<class name="order.model.OrderContact" table="order_contact">
<comment></comment>
<id name="id" type="java.lang.Short">
<column name="id" />
<generator class="native"></generator>
</id>
<property name="email" type="string">
<column name="email" length="20" not-null="true">
<comment></comment>
</column>
</property>
<property name="siteId" type="java.lang.Short">
<column name="siteId">
<comment></comment>
</column>
</property>
</class>
</hibernate-mapping>

The log file is as below,

[hibernatetool] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)
[hibernatetool] 1. task: hbm2hbmxml (Generates a set of hbm.xml files)
[hibernatetool] (cfg.Environment 500 ) Hibernate 3.2.0
[hibernatetool] (cfg.Environment 533 ) hibernate.properties not found
[hibernatetool] (cfg.Environment 667 ) Bytecode provider name : cglib
[hibernatetool] (cfg.Environment 584 ) using JDK 1.4 java.sql.Timestamp handling
[hibernatetool] (reveng.OverrideRepository 100 ) Override file: C:\eclipse\workspace\appgen\complete.reveng.xml
[hibernatetool] (util.DTDEntityResolver 38 ) trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd]
[hibernatetool] (util.DTDEntityResolver 40 ) recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
[hibernatetool] (util.DTDEntityResolver 50 ) located [http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd] in classpath
[hibernatetool] (connection.DriverManagerConnectionProvider 41 ) Using Hibernate built-in connection pool (not for production use!)
[hibernatetool] (connection.DriverManagerConnectionProvider 42 ) Hibernate connection pool size: 20
[hibernatetool] (connection.DriverManagerConnectionProvider 45 ) autocommit mode: false
[hibernatetool] (connection.DriverManagerConnectionProvider 80 ) using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/fuel
[hibernatetool] (connection.DriverManagerConnectionProvider 83 ) connection properties: {user=fuel, password=fuel, show_sql=true}
[hibernatetool] (connection.DriverManagerConnectionProvider 93 ) total checked-out connections: 0
[hibernatetool] (connection.DriverManagerConnectionProvider 109 ) opening new JDBC connection
[hibernatetool] (connection.DriverManagerConnectionProvider 115 ) created connection to: jdbc:mysql://localhost/fuel, Isolation Level: 4
[hibernatetool] (cfg.SettingsFactory 81 ) RDBMS: MySQL, version: 5.0.24-community-nt
[hibernatetool] (cfg.SettingsFactory 82 ) JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.12 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 2005) $, $Revision$ )
[hibernatetool] (connection.DriverManagerConnectionProvider 129 ) returning connection to pool, pool size: 1
[hibernatetool] (dialect.Dialect 141 ) Using dialect: org.hibernate.dialect.MySQLInnoDBDialect
[hibernatetool] (transaction.TransactionFactoryFactory 31 ) Using default transaction strategy (direct JDBC transactions)
[hibernatetool] (transaction.TransactionManagerLookupFactory 33 ) No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
[hibernatetool] (cfg.SettingsFactory 134 ) Automatic flush during beforeCompletion(): disabled
[hibernatetool] (cfg.SettingsFactory 138 ) Automatic session close at end of transaction: disabled
[hibernatetool] (cfg.SettingsFactory 145 ) JDBC batch size: 15
[hibernatetool] (cfg.SettingsFactory 148 ) JDBC batch updates for versioned data: disabled
[hibernatetool] (cfg.SettingsFactory 153 ) Scrollable result sets: enabled
[hibernatetool] (cfg.SettingsFactory 157 ) Wrap result sets: disabled
[hibernatetool] (cfg.SettingsFactory 161 ) JDBC3 getGeneratedKeys(): enabled
[hibernatetool] (cfg.SettingsFactory 169 ) Connection release mode: auto
[hibernatetool] (cfg.SettingsFactory 188 ) Default catalog: fuel
[hibernatetool] (cfg.SettingsFactory 193 ) Maximum outer join fetch depth: 2
[hibernatetool] (cfg.SettingsFactory 196 ) Default batch fetch size: 1
[hibernatetool] (cfg.SettingsFactory 200 ) Generate SQL with comments: disabled
[hibernatetool] (cfg.SettingsFactory 204 ) Order SQL updates by primary key: disabled
[hibernatetool] (cfg.SettingsFactory 369 ) Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
[hibernatetool] (ast.ASTQueryTranslatorFactory 24 ) Using ASTQueryTranslatorFactory
[hibernatetool] (cfg.SettingsFactory 212 ) Query language substitutions: {}
[hibernatetool] (cfg.SettingsFactory 217 ) JPA-QL strict compliance: disabled
[hibernatetool] (cfg.SettingsFactory 222 ) Second-level cache: enabled
[hibernatetool] (cfg.SettingsFactory 226 ) Query cache: disabled
[hibernatetool] (cfg.SettingsFactory 356 ) Cache provider: org.hibernate.cache.NoCacheProvider
[hibernatetool] (cfg.SettingsFactory 241 ) Optimize cache for minimal puts: disabled
[hibernatetool] (cfg.SettingsFactory 250 ) Structured second-level cache entries: disabled
[hibernatetool] (exception.SQLExceptionConverterFactory 52 ) Using dialect defined converter
[hibernatetool] (cfg.SettingsFactory 277 ) Statistics: disabled
[hibernatetool] (cfg.SettingsFactory 281 ) Deleted entity synthetic identifier rollback: disabled
[hibernatetool] (cfg.SettingsFactory 296 ) Default entity-mode: pojo
[hibernatetool] (dialect.JDBCMetaDataDialect 23 ) getTables(null.null.order_contact)
[hibernatetool] (connection.DriverManagerConnectionProvider 93 ) total checked-out connections: 0
[hibernatetool] (connection.DriverManagerConnectionProvider 99 ) using pooled JDBC connection, pool size: 0
[hibernatetool] (reveng.JDBCReader 499 ) Adding table order_contact of type TABLE
[hibernatetool] (reveng.JDBCReader 523 ) Finding columns for order_contact
[hibernatetool] (dialect.JDBCMetaDataDialect 110 ) getColumns(fuel.null.order_contact.null)
[hibernatetool] (dialect.JDBCMetaDataDialect 139 ) getPrimaryKeys(fuel.null.order_contact)
[hibernatetool] (reveng.JDBCReader 404 ) primary key for org.hibernate.mapping.Table(order_contact) -> org.hibernate.mapping.PrimaryKey(order_contact[org.hibernate.mapping.Column(id)]) as PRIMARY
[hibernatetool] (dialect.JDBCMetaDataDialect 78 ) getIndexInfo(fuel.null.order_contact)
[hibernatetool] (reveng.JDBCReader 162 ) Calling getExportedKeys on org.hibernate.mapping.Table(order_contact)
[hibernatetool] (dialect.JDBCMetaDataDialect 164 ) getExportedKeys(fuel.null.order_contact)
[hibernatetool] (connection.DriverManagerConnectionProvider 129 ) returning connection to pool, pool size: 1
[hibernatetool] (cfg.JDBCBinder 803 ) Building property id
[hibernatetool] (cfg.JDBCBinder 542 ) Scanning org.hibernate.cfg.reveng.TableIdentifier(order_contact) for <version>/<timestamp> columns.
[hibernatetool] (cfg.JDBCBinder 552 ) No columns reported while scanning for <version>/<timestamp> columns in org.hibernate.cfg.reveng.TableIdentifier(order_contact)
[hibernatetool] (cfg.JDBCBinder 635 ) Sql type mismatch for Table: order_contact column: email between DB and wanted hibernate type. Sql type set to 1(CHAR) instead of 12(VARCHAR)
[hibernatetool] (cfg.JDBCBinder 803 ) Building property email
[hibernatetool] (cfg.JDBCBinder 803 ) Building property siteId
[hibernatetool] (connection.DriverManagerConnectionProvider 147 ) cleaning up connection pool: jdbc:mysql://localhost/fuel
[hibernatetool] (cfg.Configuration 1044) processing extends queue
[hibernatetool] (cfg.Configuration 1048) processing collection mappings
[hibernatetool] (cfg.Configuration 1059) processing native query and ResultSetMapping mappings
[hibernatetool] (cfg.Configuration 1067) processing association property references
[hibernatetool] (cfg.Configuration 1089) processing foreign key constraints
[hibernatetool] (hbm2x.HibernateMappingExporter 134 ) org.hibernate.tool.hbm2x.HibernateMappingExporter outputdir:C:\eclipse\workspace\appgen\build\merge\src path: []
[hibernatetool] (tool.Version 15 ) Hibernate Tools 3.2.0.beta8
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext exporter=org.hibernate.tool.hbm2x.HibernateMappingExporter@2016b0
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext c2h=org.hibernate.tool.hbm2x.Cfg2HbmTool@b1a4e2
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext c2j=org.hibernate.tool.hbm2x.Cfg2JavaTool@c00025
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext outputdir=C:\eclipse\workspace\appgen\build\merge\src
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext template_path=[Ljava.lang.String;@149a794
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext hibernate.connection.username=fuel
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext hibernate.connection.password=fuel
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext hibernate.connection.url=jdbc:mysql://localhost/fuel
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext hibernate.connection.show_sql=true
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext hibernate.connection.driver_class=com.mysql.jdbc.Driver
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext hibernate.default_catalog=fuel
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext artifacts=org.hibernate.tool.hbm2x.ArtifactCollector@9903f4
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext cfg=org.hibernate.cfg.JDBCMetaDataConfiguration@1d2b9b7
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext hmgs=org.hibernate.tool.hbm2x.HibernateMappingGlobalSettings@19ecd80
(connection.DriverManagerConnectionProvider 147 ) cleaning up connection pool: jdbc:mysql://localhost/fuel
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext pojo=org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(order.model.OrderContact)
[hibernatetool] (hbm2x.TemplateHelper 148 ) putInContext clazz=org.hibernate.mapping.RootClass(order.model.OrderContact)
[hibernatetool] (freemarker.cache 81 ) Could not find template in cache, creating new one; id=[hbm/hibernate-mapping.hbm.ftl[en_US,UTF-8,parsed] ]
[hibernatetool] (freemarker.cache 81 ) Compiling FreeMarker template hbm/hibernate-mapping.hbm.ftl[en_US,UTF-8,parsed] from jar:file:/C:/eclipse/workspace/appgen/lib/exclude/hibernate-tools.jar!/hbm/hibernate-mapping.hbm.ftl
[hibernatetool] (freemarker.cache 81 ) Could not find template in cache, creating new one; id=[hbm/persistentclass.hbm.ftl[en_US,UTF-8,parsed] ]
[hibernatetool] (freemarker.cache 81 ) Compiling FreeMarker template hbm/persistentclass.hbm.ftl[en_US,UTF-8,parsed] from jar:file:/C:/eclipse/workspace/appgen/lib/exclude/hibernate-tools.jar!/hbm/persistentclass.hbm.ftl
[hibernatetool] (freemarker.beans 81 ) Key 'abstract' was not found on instance of org.hibernate.mapping.RootClass. Introspection information for the class is: {getFilterMap=public java.util.Map org.hibernate.mapping.PersistentClass.getFilterMap(), isCustomUpdateCallable=public boolean org.hibernate.mapping.PersistentClass.isCustomUpdateCallable(), where=java.beans.PropertyDescriptor@a001b133, getPropertyClosureIterator=public java.util.Iterator org.hibernate.mapping.RootClass.getPropertyClosureIterator(), getTemporaryIdTableName=public java.lang.String org.hibernate.mapping.PersistentClass.getTemporaryIdTableName(), getTableClosureIterator=public java.util.Iterator org.hibernate.mapping.RootClass.getTableClosureIterator(), getRootTable=public org.hibernate.mapping.Table org.hibernate.mapping.RootClass.getRootTable(), getKey=public org.hibernate.mapping.KeyValue org.hibernate.mapping.RootClass.getKey(), nodeName=java.beans.PropertyDescriptor@86bb787f, validate=public void org.hibernate.mapping.RootClass.validate(org.hibernate.engine.Mapping) throws org.hibernate.MappingException, getCustomSQLDeleteCheckStyle=public org.hibernate.engine.ExecuteUpdateResultCheckStyle org.hibernate.mapping.PersistentClass.getCustomSQLDeleteCheckStyle(), getProxyInterface=public java.lang.Class org.hibernate.mapping.PersistentClass.getProxyInterface(), getEntityPersisterClass=public java.lang.Class org.hibernate.mapping.RootClass.getEntityPersisterClass(), rootClass=java.beans.PropertyDescriptor@166cc744, getJoinClosureSpan=public int org.hibernate.mapping.PersistentClass.getJoinClosureSpan(), version=java.beans.PropertyDescriptor@1e989f7a, propertyIterator=java.beans.PropertyDescriptor@8cc7f9d9, customUpdateCallable=java.beans.PropertyDescriptor@f627a565, getMetaAttribute=public org.hibernate.mapping.MetaAttribute org.hibernate.mapping.PersistentClass.getMetaAttribute(java.lang.String), getTuplizerImplClassName=public java.lang.String org.hibernate.mapping.PersistentClass.getTuplizerImplClassName(org.hibernate.EntityMode), explicitPolymorphism=java.beans.PropertyDescriptor@47d5dea3, setCacheRegionName=public void org.hibernate.mapping.RootClass.setCacheRegionName(java.lang.String), referenceablePropertyIterator=java.beans.PropertyDescriptor@23aa6426, setEmbeddedIdentifier=public void org.hibernate.mapping.RootClass.setEmbeddedIdentifier(boolean), addTuplizer=public void org.hibernate.mapping.PersistentClass.addTuplizer(org.hibernate.EntityMode,java.lang.String), setLazyPropertiesCacheable=public void org.hibernate.mapping.RootClass.setLazyPropertiesCacheable(boolean), getCustomSQLDelete=public java.lang.String org.hibernate.mapping.PersistentClass.getCustomSQLDelete(), subclassId=java.beans.PropertyDescriptor@68451d3e, rootTable=java.beans.PropertyDescriptor@b80fdc8f, setMutable=public void org.hibernate.mapping.RootClass.setMutable(boolean), metaAttributes=java.beans.PropertyDescriptor@5afa7bb3, getSubclassSpan=public int org.hibernate.mapping.PersistentClass.getSubclassSpan(), setSubselectLoadableCollections=public void org.hibernate.mapping.PersistentClass.setSubselectLoadableCollections(boolean), getTuplizerMap=public java.util.Map org.hibernate.mapping.PersistentClass.getTuplizerMap(), customSQLInsert=java.beans.PropertyDescriptor@ebc854bd, isCustomDeleteCallable=public boolean org.hibernate.mapping.PersistentClass.isCustomDeleteCallable(), getLoaderName=public java.lang.String org.hibernate.mapping.PersistentClass.getLoaderName(), getCustomSQLUpdate=public java.lang.String org.hibernate.mapping.PersistentClass.getCustomSQLUpdate(), setVersion=public void org.hibernate.mapping.RootClass.setVersion(org.hibernate.mapping.Property), setProxyInterfaceName=public void org.hibernate.mapping.PersistentClass.setProxyInterfaceName(java.lang.String), optimisticLockMode=java.beans.PropertyDescriptor@46e22059, setCustomSQLInsert=public void org.hibernate.mapping.PersistentClass.setCustomSQLInsert(java.lang.String,boolean,org.hibernate.engine.ExecuteUpdateResultCheckStyle), proxyInterfaceName=java.beans.PropertyDescriptor@33ac4158, identityTables=java.beans.PropertyDescriptor@3cd1ee5e, prepareTemporaryTables=public void org.hibernate.mapping.PersistentClass.prepareTemporaryTables(org.hibernate.engine.Mapping,org.hibernate.dialect.Dialect), identifier=java.beans.PropertyDescriptor@da21046c, useDynamicInsert=public boolean org.hibernate.mapping.PersistentClass.useDynamicInsert(), setForceDiscriminator=public void org.hibernate.mapping.RootClass.setForceDiscriminator(boolean), filterMap=java.beans.PropertyDescriptor@c3b0d358, isLazy=public boolean org.hibernate.mapping.PersistentClass.isLazy(), versioned=java.beans.PropertyDescriptor@833dfd2d, isDiscriminatorValueNull=public boolean org.hibernate.mapping.PersistentClass.isDiscriminatorValueNull(), getCacheRegionName=public java.lang.String org.hibernate.mapping.RootClass.getCacheRegionName(), getKeyClosureIterator=public java.util.Iterator org.hibernate.mapping.RootClass.getKeyClosureIterator(), setAbstract=public void org.hibernate.mapping.PersistentClass.setAbstract(java.lang.Boolean), addFilter=public void org.hibernate.mapping.PersistentClass.addFilter(java.lang.String,java.lang.String), getSuperclass=public org.hibernate.mapping.PersistentClass org.hibernate.mapping.RootClass.getSuperclass(), getBatchSize=public int org.hibernate.mapping.PersistentClass.getBatchSize(), isCustomInsertCallable=public boolean org.hibernate.mapping.PersistentClass.isCustomInsertCallable(), joinIterator=java.beans.PropertyDescriptor@53de2d5e, getDirectSubclasses=public java.util.Iterator org.hibernate.mapping.PersistentClass.getDirectSubclasses(), setOptimisticLockMode=public void org.hibernate.mapping.PersistentClass.setOptimisticLockMode(int), java.lang.Object@1546dbc=public org.hibernate.mapping.RootClass(), superclass=java.beans.PropertyDescriptor@91e14b91, getSubclassTableClosureIterator=public java.util.Iterator org.hibernate.mapping.PersistentClass.getSubclassTableClosureIterator(), polymorphic=java.beans.PropertyDescriptor@5b3e9c2, unjoinedPropertyIterator=java.beans.PropertyDescriptor@48c094eb, tuplizerMap=java.beans.PropertyDescriptor@4e91d635, isLazyPropertiesCacheable=public boolean org.hibernate.mapping.RootClass.isLazyPropertiesCacheable(), accept=public java.lang.Object org.hibernate.mapping.RootClass.accept(org.hibernate.mapping.PersistentClassVisitor), identifierProperty=java.beans.PropertyDescriptor@5374d648, getCustomSQLInsertCheckStyle=public org.hibernate.engine.ExecuteUpdateResultCheckStyle org.hibernate.mapping.PersistentClass.getCustomSQLInsertCheckStyle(), hasIdentifierProperty=public boolean org.hibernate.mapping.RootClass.hasIdentifierProperty(), isDiscriminatorInsertable=public boolean org.hibernate.mapping.RootClass.isDiscriminatorInsertable(), class=java.beans.PropertyDescriptor@3f06b5c8, isVersioned=public boolean org.hibernate.mapping.RootClass.isVersioned(), className=java.beans.PropertyDescriptor@b3c83895, isExplicitPolymorphism=public boolean org.hibernate.mapping.RootClass.isExplicitPolymorphism(), subclassIterator=java.beans.PropertyDescriptor@affc7b9c, isJoinedSubclass=public boolean org.hibernate.mapping.RootClass.isJoinedSubclass(), getJoinClosureIterator=public java.util.Iterator org.hibernate.mapping.PersistentClass.getJoinClosureIterator(), getMetaAttributes=public java.util.Map org.hibernate.mapping.PersistentClass.getMetaAttributes(), customSQLDeleteCheckStyle=java.beans.PropertyDescriptor@f7aebc5b, setIdentifier=public void org.hibernate.mapping.RootClass.setIdentifier(org.hibernate.mapping.KeyValue), getSubclassClosureIterator=public java.util.Iterator org.hibernate.mapping.PersistentClass.getSubclassClosureIterator(), batchSize=java.beans.PropertyDescriptor@66a8918e, getIdentifierMapper=public org.hibernate.mapping.Component org.hibernate.mapping.PersistentClass.getIdentifierMapper(), addSynchronizedTable=public void org.hibernate.mapping.PersistentClass.addSynchronizedTable(java.lang.String), setIdentifierProperty=public void org.hibernate.mapping.RootClass.setIdentifierProperty(org.hibernate.mapping.Property), discriminatorValue=java.beans.PropertyDescriptor@1a70c787, toString=public java.lang.String org.hibernate.mapping.PersistentClass.toString(), joinedSubclass=java.beans.PropertyDescriptor@7a6509f3, setEntityPersisterClass=public void org.hibernate.mapping.RootClass.setEntityPersisterClass(java.lang.Class), getClassName=public java.lang.String org.hibernate.mapping.PersistentClass.getClassName(), synchronizedTables=java.beans.PropertyDescriptor@bb29f500, discriminatorValueNull=java.beans.PropertyDescriptor@9c24adf, getReferenceablePropertyIterator=public java.util.Iterator org.hibernate.mapping.PersistentClass.getReferenceablePropertyIterator(), lazyPropertiesCacheable=java.beans.PropertyDescriptor@96dc40c5, getRecursiveProperty=public org.hibernate.mapping.Property org.hibernate.mapping.PersistentClass.getRecursiveProperty(java.lang.String) throws org.hibernate.MappingException, getUnjoinedPropertyIterator=public java.util.Iterator org.hibernate.mapping.PersistentClass.getUnjoinedPropertyIterator(), getPropertyClosureSpan=public int org.hibernate.mapping.PersistentClass.getPropertyClosureSpan(), getTable=public org.hibernate.mapping.Table org.hibernate.mapping.RootClass.getTable(), setEntityName=public void org.hibernate.mapping.PersistentClass.setEntityName(java.lang.String), joinClosureSpan=java.beans.PropertyDescriptor@cdbd2c93, getIdentityTables=public java.util.Set org.hibernate.mapping.RootClass.getIdentityTables(), setTable=public void org.hibernate.mapping.RootClass.setTable(org.hibernate.mapping.Table), entityPersisterClass=java.beans.PropertyDescriptor@75765d3b, customSQLInsertCheckStyle=java.beans.PropertyDescriptor@3ca9d219, hasSubselectLoadableCollections=public boolean org.hibernate.mapping.PersistentClass.hasSubselectLoadableCollections(), setDiscriminator=public void org.hibernate.mapping.RootClass.setDiscriminator(org.hibernate.mapping.Value), setCustomSQLDelete=public void org.hibernate.mapping.PersistentClass.setCustomSQLDelete(java.lang.String,boolean,org.hibernate.engine.ExecuteUpdateResultCheckStyle), setNodeName=public void org.hibernate.mapping.PersistentClass.setNodeName(java.lang.String), setExplicitPolymorphism=public void org.hibernate.mapping.RootClass.setExplicitPolymorphism(boolean), hasIdentifierMapper=public boolean org.hibernate.mapping.PersistentClass.hasIdentifierMapper(), hashCode=public native int java.lang.Object.hashCode(), subclassTableClosureIterator=java.beans.PropertyDescriptor@c8b9869, setIdentifierMapper=public void org.hibernate.mapping.PersistentClass.setIdentifierMapper(org.hibernate.mapping.Component), setLoaderName=public void org.hibernate.mapping.PersistentClass.setLoaderName(java.lang.String), getProperty=public org.hibernate.mapping.Property org.hibernate.mapping.PersistentClass.getProperty(java.lang.String) throws org.hibernate.MappingException, getSubclassPropertyClosureIterator=public java.util.Iterator org.hibernate.mapping.PersistentClass.getSubclassPropertyClosureIterator(), getRootClass=public org.hibernate.mapping.RootClass org.hibernate.mapping.RootClass.getRootClass(), discriminator=java.beans.PropertyDescriptor@1b4aa6e4, addJoin=public void org.hibernate.mapping.PersistentClass.addJoin(org.hibernate.mapping.Join), identityTable=java.beans.PropertyDescriptor@f9d787a6, subclassJoinClosureIterator=java.beans.PropertyDescriptor@f070ddbd, forceDiscriminator=java.beans.PropertyDescriptor@dcab0781, identifierMapper=java.beans.PropertyDescriptor@c6aa29d8, setLazy=public void org.hibernate.mapping.PersistentClass.setLazy(boolean), isMutable=public boolean org.hibernate.mapping.RootClass.isMutable(), isClassOrSuperclassJoin=public boolean org.hibernate.mapping.PersistentClass.isClassOrSuperclassJoin(org.hibernate.mapping.Join), getIdentifierProperty=public org.hibernate.mapping.Property org.hibernate.mapping.RootClass.getIdentifierProperty(), getCustomSQLUpdateCheckStyle=public org.hibernate.engine.ExecuteUpdateResultCheckStyle org.hibernate.mapping.PersistentClass.getCustomSQLUpdateCheckStyle(), wait=freemarker.ext.beans.MethodMap@719f1f, notify=public final native void java.lang.Object.notify(), setPolymorphic=public void org.hibernate.mapping.RootClass.setPolymorphic(boolean), loaderName=java.beans.PropertyDescriptor@f35ba800, hasDom4jRepresentation=public boolean org.hibernate.mapping.PersistentClass.hasDom4jRepresentation(), getTemporaryIdTableDDL=public java.lang.String org.hibernate.mapping.PersistentClass.getTemporaryIdTableDDL(), getEntityName=public java.lang.String org.hibernate.mapping.PersistentClass.getEntityName(), joinClosureIterator=java.beans.PropertyDescriptor@99d165d5, getJoinIterator=public java.util.Iterator org.hibernate.mapping.PersistentClass.getJoinIterator(), setDynamicUpdate=public void org.hibernate.mapping.PersistentClass.setDynamicUpdate(boolean), isForceDiscriminator=public boolean org.hibernate.mapping.RootClass.isForceDiscriminator(), hasNaturalId=public boolean org.hibernate.mapping.PersistentClass.hasNaturalId(), lazy=java.beans.PropertyDescriptor@28c8bfc2, isDiscriminatorValueNotNull=public boolean org.hibernate.mapping.PersistentClass.isDiscriminatorValueNotNull(), useDynamicUpdate=public boolean org.hibernate.mapping.PersistentClass.useDynamicUpdate(), propertyClosureIterator=java.beans.PropertyDescriptor@55af0ccf, discriminatorInsertable=java.beans.PropertyDescriptor@32c5d177, customSQLUpdateCheckStyle=java.beans.PropertyDescriptor@c9ebdaa9, mappedClass=java.beans.PropertyDescriptor@59c3adcd, setCacheConcurrencyStrategy=public void org.hibernate.mapping.RootClass.setCacheConcurrencyStrategy(java.lang.String), directSubclasses=java.beans.PropertyDescriptor@9c4170ed, setBatchSize=public void org.hibernate.mapping.PersistentClass.setBatchSize(int), isPolymorphic=public boolean org.hibernate.mapping.RootClass.isPolymorphic(), setClassName=public void org.hibernate.mapping.PersistentClass.setClassName(java.lang.String), propertyClosureSpan=java.beans.PropertyDescriptor@470fd2e8, getProxyInterfaceName=public java.lang.String org.hibernate.mapping.PersistentClass.getProxyInterfaceName(), getPropertyIterator=public java.util.Iterator org.hibernate.mapping.PersistentClass.getPropertyIterator(), getMappedClass=public java.lang.Class org.hibernate.mapping.PersistentClass.getMappedClass() throws org.hibernate.MappingException, getSubclassIterator=public java.util.Iterator org.hibernate.mapping.PersistentClass.getSubclassIterator(), customSQLUpdate=java.beans.PropertyDescriptor@d779194d, table=java.beans.PropertyDescriptor@b18053dd, getDiscriminatorValue=public java.lang.String org.hibernate.mapping.PersistentClass.getDiscriminatorValue(), getOptimisticLockMode=public int org.hibernate.mapping.RootClass.getOptimisticLockMode(), java.lang.Object@dc86eb={public void org.hibernate.mapping.PersistentClass.setDynamicUpdate(boolean)=[Ljava.lang.Class;@185ad79, public boolean org.hibernate.mapping.RootClass.isInherited()=[Ljava.lang.Class;@1401d28, public java.lang.String org.hibernate.mapping.PersistentClass.getTemporaryIdTableDDL()=[Ljava.lang.Class;@3a6e5c, public org.hibernate.mapping.Component org.hibernate.mapping.PersistentClass.getIdentifierMapper()=[Ljava.lang.Class;@238016, public boolean org.hibernate.mapping.PersistentClass.isCustomInsertCallable()=[Ljava.lang.Class;@ae4646, public boolean org.hibernate.mapping.PersistentClass.isDiscriminatorValueNull()=[Ljava.lang.Class;@187b287, public void org.hibernate.mapping.RootClass.setTable(org.hibernate.mapping.Table)=[Ljava.lang.Class;@1d9e2c7, public final native void java.lang.Object.notifyAll()=[Ljava.lang.Class;@1b7ae22, public org.hibernate.mapping.Property org.hibernate.mapping.PersistentClass.getRecursiveProperty(java.lang.String) throws org.hibernate.MappingException=[Ljava.lang.Class;@951a0, public boolean org.hibernate.mapping.PersistentClass.isLazy()=[Ljava.lang.Class;@1ce1bea, public java.util.Iterator org.hibernate.mapping.PersistentClass.getJoinClosureIterator()=[Ljava.lang.Class;@8acfc3, public void org.hibernate.mapping.PersistentClass.addSynchronizedTable(java.lang.String)=[Ljava.lang.Class;@14e0e90, public void org.hibernate.mapping.RootClass.setEmbeddedIdentifier(boolean)=[Ljava.lang.Class;@19e11a1, public java.util.Iterator org.hibernate.mapping.PersistentClass.getJoinIterator()=[Ljava.lang.Class;@979f67, public org.hibernate.mapping.Value org.hibernate.mapping.RootClass.getDiscriminator()=[Ljava.lang.Class;@62610b, public void org.hibernate.mapping.PersistentClass.setMetaAttributes(java.util.Map)=[Ljava.lang.Class;@d12eea, public org.hibernate.mapping.Property org.hibernate.mapping.RootClass.getIdentifierProperty()=[Ljava.lang.Class;@15f157b, public void org.hibernate.mapping.RootClass.setMutable(boolean)=[Ljava.lang.Class;@17b40fe, public void org.hibernate.mapping.RootClass.setWhere(java.lang.String)=[Ljava.lang.Class;@e7f6eb, public boolean org.hibernate.mapping.PersistentClass.hasDom4jRepresentation()=[Ljava.lang.Class;@103de90, public void org.hibernate.mapping.RootClass.setIdentifier(org.hibernate.mapping.KeyValue)=[Ljava.lang.Class;@108f8e0, public java.lang.String org.hibernate.mapping.PersistentClass.getCustomSQLInsert()=[Ljava.lang.Class;@b6ef8, public void org.hibernate.mapping.PersistentClass.setCustomSQLDelete(java.lang.String,boolean,org.hibernate.engine.ExecuteUpdateResultCheckStyle)=[Ljava.lang.Class;@a29c6e, public java.util.Iterator org.hibernate.mapping.RootClass.getKeyClosureIterator()=[Ljava.lang.Class;@1cc0a7f, public void org.hibernate.mapping.RootClass.setLazyPropertiesCacheable(boolean)=[Ljava.lang.Class;@c52200, public java.util.Set org.hibernate.mapping.RootClass.getSynchronizedTables()=[Ljava.lang.Class;@3b4b1e, public void org.hibernate.mapping.PersistentClass.setAbstract(java.lang.Boolean)=[Ljava.lang.Class;@c0a9f9, public java.lang.String org.hibernate.mapping.PersistentClass.getTemporaryIdTableName()=[Ljava.lang.Class;@d72200, public final native java.lang.Class java.lang.Object.getClass()=[Ljava.lang.Class;@1f9338f, public void org.hibernate.mapping.RootClass.setForceDiscriminator(boolean)=[Ljava.lang.Class;@1a80aea, public boolean org.hibernate.mapping.RootClass.isForceDiscriminator()=[Ljava.lang.Class;@164b9b6, public void org.hibernate.mapping.PersistentClass.setOptimisticLockMode(int)=[Ljava.lang.Class;@1dc64a5, public org.hibernate.engine.ExecuteUpdateResultCheckStyle org.hibernate.mapping.PersistentClass.getCustomSQLInsertCheckStyle()=[Ljava.lang.Class;@53c3f5, public int org.hibernate.mapping.PersistentClass.getJoinNumber(org.hibernate.mapping.Property)=[Ljava.lang.Class;@166340c, public org.hibernate.mapping.KeyValue org.hibernate.mapping.RootClass.getKey()=[Ljava.lang.Class;@e33e18, public void org.hibernate.mapping.PersistentClass.setEntityName(java.lang.String)=[Ljava.lang.Class;@101ac93, public java.util.Iterator org.hibernate.mapping.PersistentClass.getSubclassPropertyClosureIterator()=[Ljava.lang.Class;@e90943, public void org.hibernate.mapping.RootClass.setIdentifierProperty(org.hibernate.mapping.Property)=[Ljava.lang.Class;@15f1f9c, public boolean org.hibernate.mapping.PersistentClass.hasSubselectLoadableCollections()=[Ljava.lang.Class;@1474ea, public boolean org.hibernate.mapping.RootClass.isLazyPropertiesCacheable()=[Ljava.lang.Class;@107bd0d, public void org.hibernate.mapping.PersistentClass.addFilter(java.lang.String,java.lang.String)=[Ljava.lang.Class;@10ca208, public java.lang.String org.hibernate.mapping.PersistentClass.getNodeName()=[Ljava.lang.Class;@61f533, public boolean org.hibernate.mapping.RootClass.isJoinedSubclass()=[Ljava.lang.Class;@12922f6, public int org.hibernate.mapping.PersistentClass.getPropertyClosureSpan()=[Ljava.lang.Class;@1b66b06, public org.hibernate.mapping.Property org.hibernate.mapping.PersistentClass.getProperty(java.lang.String) throws org.hibernate.MappingException=[Ljava.lang.Class;@12c9557, public void org.hibernate.mapping.PersistentClass.setLoaderName(java.lang.String)=[Ljava.lang.Class;@9f0d, public void org.hibernate.mapping.RootClass.setCacheRegionName(java.lang.String)=[Ljava.lang.Class;@ca3783, public void org.hibernate.mapping.RootClass.addSubclass(org.hibernate.mapping.Subclass) throws org.hibernate.MappingException=[Ljava.lang.Class;@2a6ff, public org.hibernate.mapping.Table org.hibernate.mapping.RootClass.getRootTable()=[Ljava.lang.Class;@21d23b, public java.lang.Boolean org.hibernate.mapping.PersistentClass.isAbstract()=[Ljava.lang.Class;@7124af, public java.lang.String org.hibernate.mapping.PersistentClass.getClassName()=[Ljava.lang.Class;@1f7708, public boolean org.hibernate.mapping.RootClass.isDiscriminatorInsertable()=[Ljava.lang.Class;@1bfbfb8, public java.util.Iterator org.hibernate.mapping.RootClass.getPropertyClosureIterator()=[Ljava.lang.Class;@1c3e9ba, public boolean org.hibernate.mapping.PersistentClass.isDiscriminatorValueNotNull()=[Ljava.lang.Class;@125d61e, public void org.hibernate.mapping.RootClass.validate(org.hibernate.engine.Mapping) throws org.hibernate.MappingException=[Ljava.lang.Class;@10c6cfc, public int org.hibernate.mapping.RootClass.getSubclassId()=[Ljava.lang.Class;@c72243, public void org.hibernate.mapping.PersistentClass.setCustomSQLInsert(java.lang.String,boolean,org.hibernate.engine.ExecuteUpdateResultCheckStyle)=[Ljava.lang.Class;@19a8416, public org.hibernate.mapping.PersistentClass org.hibernate.mapping.RootClass.getSuperclass()=[Ljava.lang.Class;@155d3a3, public java.lang.Class org.hibernate.mapping.PersistentClass.getMappedClass() throws org.hibernate.MappingException=[Ljava.lang.Class;@1b994de, public java.util.Map org.hibernate.mapping.PersistentClass.getTuplizerMap()=[Ljava.lang.Class;@dc9766, public org.hibernate.mapping.RootClass()=[Ljava.lang.Class;@57e787, public java.util.Map org.hibernate.mapping.PersistentClass.getMetaAttributes()=[Ljava.lang.Class;@1217e67, public java.lang.String org.hibernate.mapping.RootClass.getCacheRegionName()=[Ljava.lang.Class;@1f1bd98, public java.lang.String org.hibernate.mapping.PersistentClass.getDiscriminatorValue()=[Ljava.lang.Class;@1d686c1, public void org.hibernate.mapping.RootClass.setPolymorphic(boolean)=[Ljava.lang.Class;@128edf2, public java.util.Iterator org.hibernate.mapping.PersistentClass.getSubclassTableClosureIterator()=[Ljava.lang.Class;@1dddba, public void org.hibernate.mapping.PersistentClass.setDynamicInsert(boolean)=[Ljava.lang.Class;@c7e8a7, public java.lang.String org.hibernate.mapping.PersistentClass.getCustomSQLDelete()=[Ljava.lang.Class;@7b4703, public int org.hibernate.mapping.PersistentClass.getSubclassSpan()=[Ljava.lang.Class;@1732ed2, public java.util.Iterator org.hibernate.mapping.PersistentClass.getSubclassClosureIterator()=[Ljava.lang.Class;@1071521, public void org.hibernate.mapping.PersistentClass.setNodeName(java.lang.String)=[Ljava.lang.Class;@1fc3c84, public void org.hibernate.mapping.PersistentClass.addTuplizer(org.hibernate.EntityMode,java.lang.String)=[Ljava.lang.Class;@e93999, public boolean org.hibernate.mapping.RootClass.isVersioned()=[Ljava.lang.Class;@1c486f2, public org.hibernate.mapping.Property org.hibernate.mapping.RootClass.getVersion()=[Ljava.lang.Class;@1779885, public void org.hibernate.mapping.PersistentClass.setClassName(java.lang.String)=[Ljava.lang.Class;@be76c7, public java.lang.String org.hibernate.mapping.PersistentClass.getCustomSQLUpdate()=[Ljava.lang.Class;@682406, public java.util.Map org.hibernate.mapping.PersistentClass.getFilterMap()=[Ljava.lang.Class;@115126e, public java.util.Iterator org.hibernate.mapping.PersistentClass.getDirectSubclasses()=[Ljava.lang.Class;@6d2380, public void org.hibernate.mapping.RootClass.setDiscriminatorInsertable(boolean)=[Ljava.lang.Class;@135b1f3, public boolean org.hibernate.mapping.PersistentClass.hasNaturalId()=[Ljava.lang.Class;@35e6e3, public java.lang.String org.hibernate.mapping.RootClass.getWhere()=[Ljava.lang.Class;@c9630a, public boolean org.hibernate.mapping.PersistentClass.hasSelectBeforeUpdate()=[Ljava.lang.Class;@185572a, public java.lang.String org.hibernate.mapping.PersistentClass.getTuplizerImplClassName(org.hibernate.EntityMode)=[Ljava.lang.Class;@11daa0e, public org.hibernate.mapping.MetaAttribute org.hibernate.mapping.PersistentClass.getMetaAttribute(java.lang.String)=[Ljava.lang.Class;@879860, public void org.hibernate.mapping.RootClass.setEntityPersisterClass(java.lang.Class)=[Ljava.lang.Class;@24de7d, public org.hibernate.mapping.Table org.hibernate.mapping.PersistentClass.getIdentityTable()=[Ljava.lang.Class;@8b058b, public java.lang.String org.hibernate.mapping.PersistentClass.getEntityName()=[Ljava.lang.Class;@1192059, public boolean org.hibernate.mapping.RootClass.hasIdentifierProperty()=[Ljava.lang.Class;@9ac0f5, public boolean org.hibernate.mapping.PersistentClass.isCustomDeleteCallable()=[Ljava.lang.Class;@1f21c50, public java.util.Iterator org.hibernate.mapping.PersistentClass.getSubclassJoinClosureIterator()=[Ljava.lang.Class;@20f237, public boolean java.lang.Object.equals(java.lang.Object)=[Ljava.lang.Class;@fe315d, public void org.hibernate.mapping.PersistentClass.setDiscriminatorValue(java.lang.String)=[Ljava.lang.Class;@5aebd9, public void org.hibernate.mapping.PersistentClass.setCustomSQLUpdate(java.lang.String,boolean,org.hibernate.engine.ExecuteUpdateResultCheckStyle)=[Ljava.lang.Class;@132021a, public java.lang.Class org.hibernate.mapping.PersistentClass.getProxyInterface()=[Ljava.lang.Class;@2803d5, public int org.hibernate.mapping.PersistentClass.getBatchSize()=[Ljava.lang.Class;@113981b, public org.hibernate.mapping.RootClass org.hibernate.mapping.RootClass.getRootClass()=[Ljava.lang.Class;@1672bbb, public boolean org.hibernate.mapping.RootClass.isMutable()=[Ljava.lang.Class;@6833f2, public java.util.Iterator org.hibernate.mapping.RootClass.getTableClosureIterator()=[Ljava.lang.Class;@12a73d9, public org.hibernate.engine.ExecuteUpdateResultCheckStyle org.hibernate.mapping.PersistentClass.getCustomSQLDeleteCheckStyle()=[Ljava.lang.Class;@1bdb58, public boolean org.hibernate.mapping.RootClass.isExplicitPolymorphism()=[Ljava.lang.Class;@dd75a4, public void org.hibernate.mapping.PersistentClass.setBatchSize(int)=[Ljava.lang.Class;@1568654, public java.lang.String org.hibernate.mapping.RootClass.getCacheConcurrencyStrategy()=[Ljava.lang.Class;@18d30fb, public java.lang.Object org.hibernate.mapping.RootClass.accept(org.hibernate.mapping.PersistentClassVisitor)=[Ljava.lang.Class;@8ab08f, public void org.hibernate.mapping.PersistentClass.addProperty(org.hibernate.mapping.Property)=[Ljava.lang.Class;@14d921a, public boolean org.hibernate.mapping.PersistentClass.isClassOrSuperclassJoin(org.hibernate.mapping.Join)=[Ljava.lang.Class;@1b32627, public void org.hibernate.mapping.PersistentClass.createPrimaryKey()=[Ljava.lang.Class;@8dcd5d, public void org.hibernate.mapping.PersistentClass.setIdentifierMapper(org.hibernate.mapping.Component)=[Ljava.lang.Class;@1a5af9f, public int org.hibernate.mapping.PersistentClass.getJoinClosureSpan()=[Ljava.lang.Class;@ad157f, public void org.hibernate.mapping.PersistentClass.setSelectBeforeUpdate(boolean)=[Ljava.lang.Class;@15e538e, public boolean org.hibernate.mapping.PersistentClass.isCustomUpdateCallable()=[Ljava.lang.Class;@1bfa3d3, public void org.hibernate.mapping.PersistentClass.setProxyInterfaceName(java.lang.String)=[Ljava.lang.Class;@9c82f4, public boolean org.hibernate.mapping.PersistentClass.hasSubclasses()=[Ljava.lang.Class;@159780d, public boolean org.hibernate.mapping.PersistentClass.useDynamicInsert()=[Ljava.lang.Class;@d8ca48, public boolean org.hibernate.mapping.RootClass.isPolymorphic()=[Ljava.lang.Class;@c8570c, public java.lang.Class org.hibernate.mapping.RootClass.getEntityPersisterClass()=[Ljava.lang.Class;@caf0ed, public java.util.Iterator org.hibernate.mapping.PersistentClass.getSubclassIterator()=[Ljava.lang.Class;@18f6559, public boolean org.hibernate.mapping.PersistentClass.hasPojoRepresentation()=[Ljava.lang.Class;@146b6db, public void org.hibernate.mapping.RootClass.setDiscriminator(org.hibernate.mapping.Value)=[Ljava.lang.Class;@18f1be9, public org.hibernate.mapping.Table org.hibernate.mapping.RootClass.getTable()=[Ljava.lang.Class;@717d91, public org.hibernate.mapping.KeyValue org.hibernate.mapping.RootClass.getIdentifier()=[Ljava.lang.Class;@eafb71, public void org.hibernate.mapping.PersistentClass.setLazy(boolean)=[Ljava.lang.Class;@121df2a, public java.util.Iterator org.hibernate.mapping.PersistentClass.getPropertyIterator()=[Ljava.lang.Class;@c26b16, public int org.hibernate.mapping.RootClass.getOptimisticLockMode()=[Ljava.lang.Class;@4ab2f, public org.hibernate.engine.ExecuteUpdateResultCheckStyle org.hibernate.mapping.PersistentClass.getCustomSQLUpdateCheckStyle()=[Ljava.lang.Class;@82d210, public boolean org.hibernate.mapping.PersistentClass.useDynamicUpdate()=[Ljava.lang.Class;@ad2c30, public java.lang.String org.hibernate.mapping.PersistentClass.toString()=[Ljava.lang.Class;@1302fc5, public void org.hibernate.mapping.RootClass.setExplicitPolymorphism(boolean)=[Ljava.lang.Class;@903025, public void org.hibernate.mapping.PersistentClass.addJoin(org.hibernate.mapping.Join)=[Ljava.lang.Class;@48f675, public java.util.Iterator org.hibernate.mapping.PersistentClass.getReferenceablePropertyIterator()=[Ljava.lang.Class;@2c9103, public java.lang.String org.hibernate.mapping.PersistentClass.getProxyInterfaceName()=[Ljava.lang.Class;@1e46a68, public final native void java.lang.Object.notify()=[Ljava.lang.Class;@105eb6f, public boolean org.hibernate.mapping.PersistentClass.isClassOrSuperclassTable(org.hibernate.mapping.Table)=[Ljava.lang.Class;@1a3ca10, public java.lang.String org.hibernate.mapping.PersistentClass.getLoaderName()=[Ljava.lang.Class;@26f9e5, public void org.hibernate.mapping.RootClass.setCacheConcurrencyStrategy(java.lang.String)=[Ljava.lang.Class;@e06703, public void org.hibernate.mapping.RootClass.setVersion(org.hibernate.mapping.Property)=[Ljava.lang.Class;@8b1a4f, public java.util.Iterator org.hibernate.mapping.PersistentClass.getUnjoinedPropertyIterator()=[Ljava.lang.Class;@6c5482, public boolean org.hibernate.mapping.PersistentClass.hasIdentifierMapper()=[Ljava.lang.Class;@205756, public native int java.lang.Object.hashCode()=[Ljava.lang.Class;@145f939, public void org.hibernate.mapping.PersistentClass.prepareTemporaryTables(org.hibernate.engine.Mapping,org.hibernate.dialect.Dialect)=[Ljava.lang.Class;@ed32c4, public void org.hibernate.mapping.PersistentClass.setSubselectLoadableCollections(boolean)=[Ljava.lang.Class;@9fea8a, public java.util.Set org.hibernate.mapping.RootClass.getIdentityTables()=[Ljava.lang.Class;@df2d38, public boolean org.hibernate.mapping.RootClass.hasEmbeddedIdentifier()=[Ljava.lang.Class;@11e831, public org.hibernate.mapping.Property org.hibernate.mapping.PersistentClass.getReferencedProperty(java.lang.String) throws org.hibernate.MappingException=[Ljava.lang.Class;@1a2f02e}, getCacheConcurrencyStrategy=public java.lang.String org.hibernate.mapping.RootClass.getCacheConcurrencyStrategy(), isAbstract=public java.lang.Boolean org.hibernate.mapping.PersistentClass.isAbstract(), temporaryIdTableName=java.beans.PropertyDescriptor@806c53ec, getSubclassId=public int org.hibernate.mapping.RootClass.getSubclassId(), subclassClosureIterator=java.beans.PropertyDescriptor@4bc5e1d7, addSubclass=public void org.hibernate.mapping.RootClass.addSubclass(org.hibernate.mapping.Subclass) throws org.hibernate.MappingException, cacheRegionName=java.beans.PropertyDescriptor@69d822a5, setDynamicInsert=public void org.hibernate.mapping.PersistentClass.setDynamicInsert(boolean), hasSelectBeforeUpdate=public boolean org.hibernate.mapping.PersistentClass.hasSelectBeforeUpdate(), keyClosureIterator=java.beans.PropertyDescriptor@8aad09c9, createPrimaryKey=public void org.hibernate.mapping.PersistentClass.createPrimaryKey(), getIdentifier=public org.hibernate.mapping.KeyValue org.hibernate.mapping.RootClass.getIdentifier(), getJoinNumber=public int org.hibernate.mapping.PersistentClass.getJoinNumber(org.hibernate.mapping.Property), setSelectBeforeUpdate=public void org.hibernate.mapping.PersistentClass.setSelectBeforeUpdate(boolean), getSynchronizedTables=public java.util.Set org.hibernate.mapping.RootClass.getSynchronizedTables(), inherited=java.beans.PropertyDescriptor@9f83ff76, customDeleteCallable=java.beans.PropertyDescriptor@b2ecdb97, entityName=java.beans.PropertyDescriptor@402a1050, getCustomSQLInsert=public java.lang.String org.hibernate.mapping.PersistentClass.getCustomSQLInsert(), getReferencedProperty=public org.hibernate.mapping.Property org.hibernate.mapping.PersistentClass.getReferencedProperty(java.lang.String) throws org.hibernate.MappingException, getIdentityTable=public org.hibernate.mapping.Table org.hibernate.mapping.PersistentClass.getIdentityTable(), getWhere=public java.lang.String org.hibernate.mapping.RootClass.getWhere(), equals=public boolean java.lang.Object.equals(java.lang.Object), getDiscriminator=public org.hibernate.mapping.Value org.hibernate.mapping.RootClass.getDiscriminator(), setDiscriminatorInsertable=public void org.hibernate.mapping.RootClass.setDiscriminatorInsertable(boolean), subclassPropertyClosureIterator=java.beans.PropertyDescriptor@ba78a62, customInsertCallable=java.beans.PropertyDescriptor@a3c2e8d5, customSQLDelete=java.beans.PropertyDescriptor@b3304fff, subclassSpan=java.beans.PropertyDescriptor@8d7fee8a, discriminatorValueNotNull=java.beans.PropertyDescriptor@231da6c8, getClass=public final native java.lang.Class java.lang.Object.getClass(), hasSubclasses=public boolean org.hibernate.mapping.PersistentClass.hasSubclasses(), isClassOrSuperclassTable=public boolean org.hibernate.mapping.PersistentClass.isClassOrSuperclassTable(org.hibernate.mapping.Table), isInherited=public boolean org.hibernate.mapping.RootClass.isInherited(), setMetaAttributes=public void org.hibernate.mapping.PersistentClass.setMetaAttributes(java.util.Map), temporaryIdTableDDL=java.beans.PropertyDescriptor@7af0f4b9, hasPojoRepresentation=public boolean org.hibernate.mapping.PersistentClass.hasPojoRepresentation(), setDiscriminatorValue=public void org.hibernate.mapping.PersistentClass.setDiscriminatorValue(java.lang.String), notifyAll=public final native void java.lang.Object.notifyAll(), addProperty=public void org.hibernate.mapping.PersistentClass.addProperty(org.hibernate.mapping.Property), getSubclassJoinClosureIterator=public java.util.Iterator org.hibernate.mapping.PersistentClass.getSubclassJoinClosureIterator(), setWhere=public void org.hibernate.mapping.RootClass.setWhere(java.lang.String), key=java.beans.PropertyDescriptor@d10e5ae8, cacheConcurrencyStrategy=java.beans.PropertyDescriptor@5b7fc13c, tableClosureIterator=java.beans.PropertyDescriptor@cec74cfc, hasEmbeddedIdentifier=public boolean org.hibernate.mapping.RootClass.hasEmbeddedIdentifier(), getVersion=public org.hibernate.mapping.Property org.hibernate.mapping.RootClass.getVersion(), setCustomSQLUpdate=public void org.hibernate.mapping.PersistentClass.setCustomSQLUpdate(java.lang.String,boolean,org.hibernate.engine.ExecuteUpdateResultCheckStyle), getNodeName=public java.lang.String org.hibernate.mapping.PersistentClass.getNodeName(), mutable=java.beans.PropertyDescriptor@5ec1dd52, proxyInterface=java.beans.PropertyDescriptor@6ae4f47b}
[hibernatetool] (freemarker.cache 81 ) Could not find template in cache, creating new one; id=[hbm/id.hbm.ftl[en_US,UTF-8,parsed] ]
[hibernatetool] (freemarker.cache 81 ) Compiling FreeMarker template hbm/id.hbm.ftl[en_US,UTF-8,parsed] from jar:file:/C:/eclipse/workspace/appgen/lib/exclude/hibernate-tools.jar!/hbm/id.hbm.ftl
[hibernatetool] (freemarker.cache 81 ) Could not find template in cache, creating new one; id=[hbm/pkcolumn.hbm.ftl[en_US,UTF-8,parsed] ]
[hibernatetool] (freemarker.cache 81 ) Compiling FreeMarker template hbm/pkcolumn.hbm.ftl[en_US,UTF-8,parsed] from jar:file:/C:/eclipse/workspace/appgen/lib/exclude/hibernate-tools.jar!/hbm/pkcolumn.hbm.ftl
[hibernatetool] (freemarker.cache 81 ) Could not find template in cache, creating new one; id=[hbm/property.hbm.ftl[en_US,UTF-8,parsed] ]
[hibernatetool] (freemarker.cache 81 ) Compiling FreeMarker template hbm/property.hbm.ftl[en_US,UTF-8,parsed] from jar:file:/C:/eclipse/workspace/appgen/lib/exclude/hibernate-tools.jar!/hbm/property.hbm.ftl
[hibernatetool] (freemarker.cache 81 ) Could not find template in cache, creating new one; id=[hbm/column.hbm.ftl[en_US,UTF-8,parsed] ]
[hibernatetool] (freemarker.cache 81 ) Compiling FreeMarker template hbm/column.hbm.ftl[en_US,UTF-8,parsed] from jar:file:/C:/eclipse/workspace/appgen/lib/exclude/hibernate-tools.jar!/hbm/column.hbm.ftl
[hibernatetool] (freemarker.cache 81 ) hbm/property.hbm.ftl[en_US,UTF-8,parsed] cached copy not yet stale; using cached.
[hibernatetool] (freemarker.cache 81 ) hbm/column.hbm.ftl[en_US,UTF-8,parsed] cached copy not yet stale; using cached.
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext pojo=org.hibernate.tool.hbm2x.pojo.EntityPOJOClass(order.model.OrderContact)
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext clazz=org.hibernate.mapping.RootClass(order.model.OrderContact)
[hibernatetool] (hbm2x.TemplateProducer 40 ) Writing hbm/hibernate-mapping.hbm.ftl to C:\eclipse\workspace\appgen\build\merge\src\order\model\OrderContact.hbm.xml
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext hibernate.connection.username=fuel
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext hibernate.connection.password=fuel
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext hibernate.connection.url=jdbc:mysql://localhost/fuel
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext hibernate.connection.show_sql=true
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext hibernate.connection.driver_class=com.mysql.jdbc.Driver
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext hibernate.default_catalog=fuel
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext outputdir=C:\eclipse\workspace\appgen\build\merge\src
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext template_path=[Ljava.lang.String;@149a794
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext exporter=org.hibernate.tool.hbm2x.HibernateMappingExporter@2016b0
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext artifacts=org.hibernate.tool.hbm2x.ArtifactCollector@9903f4
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext cfg=org.hibernate.cfg.JDBCMetaDataConfiguration@1d2b9b7
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext c2h=org.hibernate.tool.hbm2x.Cfg2HbmTool@b1a4e2
[hibernatetool] (hbm2x.TemplateHelper 157 ) removeFromContext c2j=org.hibernate.tool.hbm2x.Cfg2JavaTool@c00025
[hibernatetool] (hbm2x.XMLPrettyPrinter 89 ) XMLPrettyPrinting C:\eclipse\workspace\appgen\build\merge\src\order\model\OrderContact.hbm.xml
[hibernatetool] (hbm2x.XMLPrettyPrinter 139 ) XMLPrettyPrinting completed
BUILD SUCCESSFUL
Total time: 13 seconds

Can anyone help identify why my customized rev. eng. file isn't taken? Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 5:18 pm 
Regular
Regular

Joined: Wed Mar 15, 2006 1:48 pm
Posts: 91
See my simple test case at http://forum.hibernate.org/viewtopic.php?t=967518


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 22, 2006 11:06 am 
Expert
Expert

Joined: Tue Jul 11, 2006 10:21 am
Posts: 457
Location: Columbus, Ohio
From looking at the JDBC code for MySQL, I believe that the MySQL smallint type is mapped to Types.SMALLINT(5), not Types.DECIMAL(3). Try changing

Code:
<sql-type jdbc-type="DECIMAL" precision="5" scale="0" hibernate-type="Integer"/>

to

Code:
<sql-type jdbc-type="SMALLINT" precision="5" scale="0" hibernate-type="Integer"/>


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 22, 2006 11:34 am 
Regular
Regular

Joined: Wed Mar 15, 2006 1:48 pm
Posts: 91
I tried with SMALLINT and got the same result. See my updated link above which uses SMALLINT over there.


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