Maurício, infelizmente o erro é o mesmo.
13:53:32,093 INFO Environment:464 - Hibernate 3.0.5
13:53:32,109 INFO Environment:477 - hibernate.properties not found
13:53:32,109 INFO Environment:510 - using CGLIB reflection optimizer
13:53:32,109 INFO Environment:540 - using JDK 1.4 java.sql.Timestamp handling
13:53:32,234 INFO Configuration:1110 - configuring from resource: /hibernate.cfg.xml
13:53:32,234 INFO Configuration:1081 - Configuration resource: /hibernate.cfg.xml
13:53:32,562 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath under org/hibernate/
13:53:32,562 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath
13:53:32,640 DEBUG Configuration:1067 - hibernate.dialect=org.hibernate.dialect.FirebirdDialect
13:53:32,640 DEBUG Configuration:1067 - hibernate.connection.driver_class=org.firebirdsql.jdbc.FBDriver
13:53:32,640 DEBUG Configuration:1067 - hibernate.connection.url=jdbc:firebirdsql:localhost/3050:C:\\Work\\labombonera\\db\\LA.FDB
13:53:32,640 DEBUG Configuration:1067 - hibernate.connection.username=SYSDBA
13:53:32,640 DEBUG Configuration:1067 - hibernate.connection.password=masterkey
13:53:32,640 DEBUG Configuration:1067 - hibernate.c3p0.max_size=10
13:53:32,640 DEBUG Configuration:1067 - hibernate.c3p0.min_size=2
13:53:32,656 DEBUG Configuration:1067 - hibernate.c3p0.timeout=5000
13:53:32,656 DEBUG Configuration:1067 - hibernate.c3p0.max_statements=10
13:53:32,656 DEBUG Configuration:1067 - hibernate.c3p0.idle_test_period=3000
13:53:32,656 DEBUG Configuration:1067 - hibernate.c3p0.acquire_increment=2
13:53:32,656 DEBUG Configuration:1067 - show_sql=true
13:53:32,656 DEBUG Configuration:1067 - hibernate.generate_statistics=true
13:53:32,656 DEBUG Configuration:1067 - hibernate.use_sql_comments=true
13:53:32,656 DEBUG Configuration:1262 - null<-org.dom4j.tree.DefaultAttribute@79717e [Attribute: name resource value "Curso.hbm.xml"]
13:53:32,656 INFO Configuration:444 - Mapping resource: Curso.hbm.xml
13:53:32,656 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
13:53:32,656 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath
13:53:32,828 INFO HbmBinder:260 - Mapping class: Curso -> Curso
13:53:32,843 DEBUG HbmBinder:1099 - Mapped property: id -> id
13:53:32,859 DEBUG HbmBinder:1099 - Mapped property: nome -> nome
13:53:32,859 DEBUG HbmBinder:1099 - Mapped property: descricao -> descricao
13:53:32,875 DEBUG HbmBinder:1099 - Mapped property: disciplinas
13:53:32,875 DEBUG Configuration:1262 - null<-org.dom4j.tree.DefaultAttribute@1c86be5 [Attribute: name resource value "Disciplina.hbm.xml"]
13:53:32,875 INFO Configuration:444 - Mapping resource: Disciplina.hbm.xml
13:53:32,875 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
13:53:32,875 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath
13:53:32,921 INFO HbmBinder:260 - Mapping class: Disciplina -> Disciplina
13:53:32,921 DEBUG HbmBinder:1099 - Mapped property: id -> id
13:53:32,921 DEBUG HbmBinder:1099 - Mapped property: ementa -> ementa
13:53:32,921 DEBUG HbmBinder:1099 - Mapped property: nome -> nome
13:53:32,921 DEBUG HbmBinder:1099 - Mapped property: turmas
13:53:33,031 DEBUG HbmBinder:1099 - Mapped property: curso -> CURSO_ID
13:53:33,031 DEBUG Configuration:1262 - null<-org.dom4j.tree.DefaultAttribute@c4fe76 [Attribute: name resource value "Turma.hbm.xml"]
13:53:33,031 INFO Configuration:444 - Mapping resource: Turma.hbm.xml
13:53:33,031 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
13:53:33,031 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath
13:53:33,093 INFO HbmBinder:260 - Mapping class: Turma -> Turma
13:53:33,093 DEBUG HbmBinder:1099 - Mapped property: id -> id
13:53:33,093 DEBUG HbmBinder:1099 - Mapped property: nome -> nome
13:53:33,093 DEBUG HbmBinder:1099 - Mapped property: professor -> PROFESSOR_ID
13:53:33,093 DEBUG HbmBinder:1099 - Mapped property: disciplina -> DISCIPLINA_ID
13:53:33,093 INFO HbmBinder:1218 - Mapping collection: Turma.alunos -> TURMA_ALUNO
13:53:33,093 DEBUG HbmBinder:1099 - Mapped property: alunos
13:53:33,093 DEBUG Configuration:1262 - null<-org.dom4j.tree.DefaultAttribute@18d9850 [Attribute: name resource value "Pessoa.hbm.xml"]
13:53:33,093 INFO Configuration:444 - Mapping resource: Pessoa.hbm.xml
13:53:33,109 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
13:53:33,109 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath
13:53:33,140 INFO HbmBinder:260 - Mapping class: Pessoa -> Pessoa
13:53:33,140 DEBUG HbmBinder:1099 - Mapped property: id -> PESSOA_ID
13:53:33,171 DEBUG HbmBinder:1099 - Mapped property: nome -> nome
13:53:33,171 DEBUG HbmBinder:1099 - Mapped property: telefone -> telefone
13:53:33,171 DEBUG HbmBinder:1099 - Mapped property: email -> email
13:53:33,171 DEBUG HbmBinder:1099 - Mapped property: endereco
13:53:33,171 DEBUG Configuration:1262 - null<-org.dom4j.tree.DefaultAttribute@ee22f7 [Attribute: name resource value "Aluno.hbm.xml"]
13:53:33,171 INFO Configuration:444 - Mapping resource: Aluno.hbm.xml
13:53:33,171 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
13:53:33,187 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath
13:53:33,234 INFO HbmBinder:784 - Mapping joined-subclass: Aluno -> Aluno
13:53:33,234 DEBUG HbmBinder:1099 - Mapped property: matricula -> matricula
13:53:33,250 INFO HbmBinder:1218 - Mapping collection: Aluno.turmas -> TURMA_ALUNO
13:53:33,250 DEBUG HbmBinder:1099 - Mapped property: turmas
13:53:33,250 DEBUG Configuration:1262 - null<-org.dom4j.tree.DefaultAttribute@9f5011 [Attribute: name resource value "Professor.hbm.xml"]
13:53:33,250 INFO Configuration:444 - Mapping resource: Professor.hbm.xml
13:53:33,250 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
13:53:33,250 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath
13:53:33,281 INFO HbmBinder:784 - Mapping joined-subclass: Professor -> Professor
13:53:33,281 DEBUG HbmBinder:1099 - Mapped property: titulo -> titulo
13:53:33,281 DEBUG HbmBinder:1099 - Mapped property: turmas
13:53:33,281 DEBUG Configuration:1262 - null<-org.dom4j.tree.DefaultAttribute@141b571 [Attribute: name resource value "Endereco.hbm.xml"]
13:53:33,281 INFO Configuration:444 - Mapping resource: Endereco.hbm.xml
13:53:33,281 DEBUG DTDEntityResolver:42 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
13:53:33,281 DEBUG DTDEntityResolver:53 - found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath
13:53:33,296 INFO HbmBinder:260 - Mapping class: Endereco -> Endereco
13:53:33,312 DEBUG HbmBinder:1099 - Mapped property: id -> PESSOA_ID
13:53:33,312 DEBUG HbmBinder:1099 - Mapped property: bairro -> bairro
13:53:33,312 DEBUG HbmBinder:1099 - Mapped property: cidade -> cidade
13:53:33,312 DEBUG HbmBinder:1099 - Mapped property: complemento -> complemento
13:53:33,312 DEBUG HbmBinder:1099 - Mapped property: estado -> estado
13:53:33,312 DEBUG HbmBinder:1099 - Mapped property: numero -> numero
13:53:33,312 DEBUG HbmBinder:1099 - Mapped property: rua -> rua
13:53:33,312 DEBUG HbmBinder:1099 - Mapped property: cep -> cep
13:53:33,312 DEBUG HbmBinder:1099 - Mapped property: pessoa
13:53:33,312 INFO Configuration:1222 - Configured SessionFactory: null
13:53:33,312 DEBUG Configuration:1223 - properties: {hibernate.connection.password=masterkey, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Java\jre\bin, java.vm.version=1.4.2_05-b04, hibernate.connection.username=SYSDBA, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=BR, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Work\labombonera, java.runtime.version=1.4.2_05-b04, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hibernate.c3p0.max_statements=10, java.endorsed.dirs=C:\Java\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\PROPRI~1\CONFIG~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, hibernate.c3p0.idle_test_period=3000, sun.java2d.fontpath=, hibernate.c3p0.timeout=5000, java.library.path=C:\Java\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Java\bin, hibernate.generate_statistics=true, java.specification.name=Java Platform API Specification, java.class.version=48.0, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, user.home=C:\Documents and Settings\Proprietário, user.timezone=America/Sao_Paulo, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4, hibernate.c3p0.min_size=2, hibernate.connection.driver_class=org.firebirdsql.jdbc.FBDriver, show_sql=true, user.name=Proprietário, java.class.path=C:\Work\labombonera\bin;C:\Work\labombonera\lib\antlr-2.7.5H3.jar;C:\Work\labombonera\lib\asm.jar;C:\Work\labombonera\lib\asm-attrs.jar;C:\Work\labombonera\lib\c3p0-0.8.5.2.jar;C:\Work\labombonera\lib\cglib-2.1.jar;C:\Work\labombonera\lib\commons-collections-2.1.1.jar;C:\Work\labombonera\lib\commons-logging-1.0.4.jar;C:\Work\labombonera\lib\dom4j-1.6.jar;C:\Work\labombonera\lib\ehcache-1.1.jar;C:\Work\labombonera\lib\firebirdsql.jar;C:\Work\labombonera\lib\hibernate3.jar;C:\Work\labombonera\lib\jaas.jar;C:\Work\labombonera\lib\jdbc2_0-stdext.jar;C:\Work\labombonera\lib\jta.jar;C:\Work\labombonera\lib\log4j-1.2.9.jar;C:\Work\labombonera\lib\log4j-core.jar;C:\Work\labombonera\lib\mini-concurrent.jar;C:\Work\labombonera\lib\mini-j2ee.jar;C:\Work\labombonera\lib\xerces-2.6.2.jar;C:\Work\labombonera\lib\xml-apis.jar, hibernate.use_sql_comments=true, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=C:\Java\jre, sun.arch.data.model=32, hibernate.connection.url=jdbc:firebirdsql:localhost/3050:C:\\Work\\labombonera\\db\\LA.FDB, hibernate.dialect=org.hibernate.dialect.FirebirdDialect, user.language=pt, java.specification.vendor=Sun Microsystems Inc., hibernate.c3p0.max_size=10, awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.4.2_05, java.ext.dirs=C:\Java\jre\lib\ext, sun.boot.class.path=C:\Java\jre\lib\rt.jar;C:\Java\jre\lib\i18n.jar;C:\Java\jre\lib\sunrsasign.jar;C:\Java\jre\lib\jsse.jar;C:\Java\jre\lib\jce.jar;C:\Java\jre\lib\charsets.jar;C:\Java\jre\classes, java.vendor=Sun Microsystems Inc., hibernate.c3p0.acquire_increment=2, file.separator=\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, sun.cpu.isalist=pentium i486 i386}
13:53:33,312 DEBUG Configuration:998 - Preparing to build session factory with filters : {}
13:53:33,312 INFO Configuration:875 - processing extends queue
13:53:33,312 INFO Configuration:879 - processing collection mappings
13:53:33,312 DEBUG HbmBinder:2466 - Second pass for collection: Curso.disciplinas
13:53:33,312 INFO HbmBinder:2041 - Mapping collection: Curso.disciplinas -> Disciplina
13:53:33,312 DEBUG HbmBinder:2482 - Mapped collection key: CURSO_ID, one-to-many: Disciplina
13:53:33,312 DEBUG HbmBinder:2466 - Second pass for collection: Disciplina.turmas
13:53:33,312 INFO HbmBinder:2041 - Mapping collection: Disciplina.turmas -> Turma
13:53:33,312 DEBUG HbmBinder:2482 - Mapped collection key: DISCIPLINA_ID, one-to-many: Turma
13:53:33,312 DEBUG HbmBinder:2466 - Second pass for collection: Turma.alunos
13:53:33,312 DEBUG HbmBinder:2482 - Mapped collection key: TURMA_ID, element: ALUNO_ID
13:53:33,312 DEBUG HbmBinder:2466 - Second pass for collection: Aluno.turmas
13:53:33,312 DEBUG HbmBinder:2482 - Mapped collection key: ALUNO_ID, element: TURMA_ID
13:53:33,312 DEBUG HbmBinder:2466 - Second pass for collection: Professor.turmas
13:53:33,312 INFO HbmBinder:2041 - Mapping collection: Professor.turmas -> Turma
13:53:33,328 DEBUG HbmBinder:2482 - Mapped collection key: PROFESSOR_ID, one-to-many: Turma
13:53:33,328 INFO Configuration:888 - processing association property references
13:53:33,328 INFO Configuration:917 - processing foreign key constraints
13:53:33,328 DEBUG Configuration:964 - resolving reference to class: Pessoa
13:53:33,328 DEBUG Configuration:964 - resolving reference to class: Curso
13:53:33,328 DEBUG Configuration:964 - resolving reference to class: Pessoa
13:53:33,328 DEBUG Configuration:964 - resolving reference to class: Pessoa
13:53:33,328 DEBUG Configuration:964 - resolving reference to class: Aluno
13:53:33,328 DEBUG Configuration:964 - resolving reference to class: Turma
13:53:33,328 DEBUG Configuration:964 - resolving reference to class: Disciplina
13:53:33,328 DEBUG Configuration:964 - resolving reference to class: Professor
13:53:33,343 INFO C3P0ConnectionProvider:50 - C3P0 using driver: org.firebirdsql.jdbc.FBDriver at URL: jdbc:firebirdsql:localhost/3050:C:\\Work\\labombonera\\db\\LA.FDB
13:53:33,343 INFO C3P0ConnectionProvider:51 - Connection properties: {user=SYSDBA, password=****}
13:53:33,343 INFO C3P0ConnectionProvider:54 - autocommit mode: false
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@1c80b01 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@ac6a45 [ acquireIncrement -> 2, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 3000, initialPoolSize -> 2, maxIdleTime -> 5000, maxPoolSize -> 10, maxStatements -> 10, maxStatementsPerConnection -> 0, minPoolSize -> 2, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@1bbd23f [ description -> null, driverClass -> null, factoryClassLocation -> null, jdbcUrl -> jdbc:firebirdsql:localhost/3050:C:\\Work\\labombonera\\db\\LA.FDB, properties -> {user=******, password=******} ] , preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ] , factoryClassLocation -> null, numHelperThreads -> 3, poolOwnerIdentityToken -> 1c80b01 ]
13:53:33,921 INFO SettingsFactory:77 - RDBMS: Firebird, version: WI-V6.3.2.4731 Firebird 1.5
13:53:33,921 INFO SettingsFactory:78 - JDBC driver: JayBird JCA/JDBC driver, version: 1.5
13:53:33,953 INFO Dialect:92 - Using dialect: org.hibernate.dialect.FirebirdDialect
13:53:33,953 INFO TransactionFactoryFactory:31 - Using default transaction strategy (direct JDBC transactions)
13:53:33,953 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
13:53:33,953 INFO SettingsFactory:125 - Automatic flush during beforeCompletion(): disabled
13:53:33,953 INFO SettingsFactory:129 - Automatic session close at end of transaction: disabled
13:53:33,968 INFO SettingsFactory:144 - Scrollable result sets: enabled
13:53:33,968 DEBUG SettingsFactory:148 - Wrap result sets: disabled
13:53:33,968 INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): disabled
13:53:33,968 INFO SettingsFactory:160 - Connection release mode: null
13:53:33,968 INFO SettingsFactory:187 - Default batch fetch size: 1
13:53:33,968 INFO SettingsFactory:191 - Generate SQL with comments: enabled
13:53:33,968 INFO SettingsFactory:195 - Order SQL updates by primary key: disabled
13:53:33,968 INFO SettingsFactory:334 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
13:53:33,968 INFO ASTQueryTranslatorFactory:21 - Using ASTQueryTranslatorFactory
13:53:33,968 INFO SettingsFactory:203 - Query language substitutions: {}
13:53:33,968 INFO SettingsFactory:209 - Second-level cache: enabled
13:53:33,968 INFO SettingsFactory:213 - Query cache: disabled
13:53:33,968 INFO SettingsFactory:321 - Cache provider: org.hibernate.cache.EhCacheProvider
13:53:33,984 INFO SettingsFactory:228 - Optimize cache for minimal puts: disabled
13:53:33,984 INFO SettingsFactory:237 - Structured second-level cache entries: disabled
13:53:33,984 DEBUG SQLExceptionConverterFactory:52 - Using dialect defined converter
13:53:33,984 INFO SettingsFactory:257 - Echoing all SQL to stdout
13:53:33,984 INFO SettingsFactory:261 - Statistics: enabled
13:53:33,984 INFO SettingsFactory:265 - Deleted entity synthetic identifier rollback: disabled
13:53:34,000 INFO SettingsFactory:279 - Default entity-mode: pojo
13:53:34,125 INFO SessionFactoryImpl:152 - building session factory
13:53:34,140 DEBUG SessionFactoryImpl:161 - Session factory constructed with filter configurations : {}
13:53:34,140 DEBUG SessionFactoryImpl:164 - instantiating session factory with properties: {hibernate.connection.password=masterkey, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Java\jre\bin, java.vm.version=1.4.2_05-b04, hibernate.connection.username=SYSDBA, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=BR, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Work\labombonera, java.runtime.version=1.4.2_05-b04, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hibernate.c3p0.max_statements=10, java.endorsed.dirs=C:\Java\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\PROPRI~1\CONFIG~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, hibernate.c3p0.idle_test_period=3000, sun.java2d.fontpath=, hibernate.c3p0.timeout=5000, java.library.path=C:\Java\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Java\bin, hibernate.generate_statistics=true, java.specification.name=Java Platform API Specification, java.class.version=48.0, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, user.home=C:\Documents and Settings\Proprietário, user.timezone=America/Sao_Paulo, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4, hibernate.c3p0.min_size=2, hibernate.connection.driver_class=org.firebirdsql.jdbc.FBDriver, show_sql=true, user.name=Proprietário, java.class.path=C:\Work\labombonera\bin;C:\Work\labombonera\lib\antlr-2.7.5H3.jar;C:\Work\labombonera\lib\asm.jar;C:\Work\labombonera\lib\asm-attrs.jar;C:\Work\labombonera\lib\c3p0-0.8.5.2.jar;C:\Work\labombonera\lib\cglib-2.1.jar;C:\Work\labombonera\lib\commons-collections-2.1.1.jar;C:\Work\labombonera\lib\commons-logging-1.0.4.jar;C:\Work\labombonera\lib\dom4j-1.6.jar;C:\Work\labombonera\lib\ehcache-1.1.jar;C:\Work\labombonera\lib\firebirdsql.jar;C:\Work\labombonera\lib\hibernate3.jar;C:\Work\labombonera\lib\jaas.jar;C:\Work\labombonera\lib\jdbc2_0-stdext.jar;C:\Work\labombonera\lib\jta.jar;C:\Work\labombonera\lib\log4j-1.2.9.jar;C:\Work\labombonera\lib\log4j-core.jar;C:\Work\labombonera\lib\mini-concurrent.jar;C:\Work\labombonera\lib\mini-j2ee.jar;C:\Work\labombonera\lib\xerces-2.6.2.jar;C:\Work\labombonera\lib\xml-apis.jar, hibernate.use_sql_comments=true, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=C:\Java\jre, sun.arch.data.model=32, hibernate.connection.url=jdbc:firebirdsql:localhost/3050:C:\\Work\\labombonera\\db\\LA.FDB, hibernate.dialect=org.hibernate.dialect.FirebirdDialect, user.language=pt, java.specification.vendor=Sun Microsystems Inc., hibernate.c3p0.max_size=10, awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.4.2_05, java.ext.dirs=C:\Java\jre\lib\ext, sun.boot.class.path=C:\Java\jre\lib\rt.jar;C:\Java\jre\lib\i18n.jar;C:\Java\jre\lib\sunrsasign.jar;C:\Java\jre\lib\jsse.jar;C:\Java\jre\lib\jce.jar;C:\Java\jre\lib\charsets.jar;C:\Java\jre\classes, java.vendor=Sun Microsystems Inc., hibernate.c3p0.acquire_increment=2, file.separator=\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, sun.cpu.isalist=pentium i486 i386}
13:53:34,187 WARN Configurator:126 - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Work/labombonera/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
13:53:34,500 DEBUG BasicEntityPersister:2220 - Static SQL for entity: Turma
13:53:34,500 DEBUG BasicEntityPersister:2222 - Version select: /* get version Turma */ select id from Turma where id =?
13:53:34,500 DEBUG BasicEntityPersister:2223 - Snapshot select: /* get current state Turma */ select turma_.id, turma_.nome as nome2_, turma_.PROFESSOR_ID as PROFESSOR3_2_, turma_.DISCIPLINA_ID as DISCIPLINA4_2_ from Turma turma_ where turma_.id=?
13:53:34,500 DEBUG BasicEntityPersister:2225 - Insert 0: /* insert Turma */ insert into Turma (nome, PROFESSOR_ID, DISCIPLINA_ID, id) values (?, ?, ?, ?)
13:53:34,515 DEBUG BasicEntityPersister:2226 - Update 0: /* update Turma */ update Turma set nome=?, PROFESSOR_ID=?, DISCIPLINA_ID=? where id=?
13:53:34,515 DEBUG BasicEntityPersister:2227 - Delete 0: /* delete Turma */ delete from Turma where id=?
13:53:34,515 ERROR BasicPropertyAccessor:115 - IllegalArgumentException in class: Pessoa, getter method of property: id
org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of Pessoa.id
at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:119)
at org.hibernate.engine.UnsavedValueFactory.getUnsavedIdentifierValue(UnsavedValueFactory.java:44)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:42)
at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:108)
at org.hibernate.persister.entity.BasicEntityPersister.<init>(BasicEntityPersister.java:400)
at org.hibernate.persister.entity.JoinedSubclassEntityPersister.<init>(JoinedSubclassEntityPersister.java:87)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:58)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:211)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1005)
at HibernateUtil.<clinit>(HibernateUtil.java:25)
at TestePessoa.testInserir(TestePessoa.java:21)
at TestePessoa.main(TestePessoa.java:39)
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:105)
... 11 more
java.lang.NullPointerException
at HibernateUtil.getSession(HibernateUtil.java:38)
at TestePessoa.testInserir(TestePessoa.java:21)
at TestePessoa.main(TestePessoa.java:39)
Exception in thread "main"
:mrgreen: Desde já, grato.