I tried to migrate from 4.3.11 to 5.0.0 Final, but the time needed for mappings during start-up has dramatically increased. In 4.3.11 takes 2 seconds, and in 5.0.0 Final needs 8-9 seconds.
12:54:29,722 DEBUG logging:194 - Logging Provider: org.jboss.logging.Log4jLoggerProvider
12:54:29,941 INFO Version:66 - HCANN000001: Hibernate Commons Annotations {4.0.5.Final}
12:54:29,941 INFO Version:54 - HHH000412: Hibernate Core {4.3.11.Final}
12:54:29,941 INFO Environment:239 - HHH000206: hibernate.properties not found
12:54:29,957 INFO Environment:346 - HHH000021: Bytecode provider name : javassist
12:54:29,988 INFO Configuration:2075 - HHH000043: Configuring from resource: /hibernate.cfg.xml
12:54:29,988 INFO Configuration:2094 - HHH000040: Configuration resource: /hibernate.cfg.xml
12:54:30,050 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Rubro.hbm.xml
12:54:30,097 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/ComprobanteCliente.hbm.xml
12:54:30,144 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/TipoArticulo.hbm.xml
12:54:30,160 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/ArticuloXPrecio.hbm.xml
12:54:30,175 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Asiento.hbm.xml
12:54:30,191 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/ComprobanteProveedor.hbm.xml
12:54:30,207 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/ComprobanteXRecibo.hbm.xml
12:54:30,238 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/ArticuloXComprobante.hbm.xml
12:54:30,254 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/ConfiguracionConstantes.hbm.xml
12:54:30,285 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Comprobante.hbm.xml
12:54:30,316 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/ArticuloXFoto.hbm.xml
12:54:30,332 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Usuario.hbm.xml
12:54:30,363 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/BandejaXComprobante.hbm.xml
12:54:30,379 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/ConfiguracionEquipo.hbm.xml
12:54:30,394 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Sucursal.hbm.xml
12:54:30,410 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/ProveedorXTipoArticulo.hbm.xml
12:54:30,426 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Cheque.hbm.xml
12:54:30,445 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/CertificadoRetencion.hbm.xml
12:54:30,461 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/ComprobanteClienteXPedidoWeb.hbm.xml
12:54:30,483 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Articulo.hbm.xml
12:54:30,512 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/AsientoXCuentaContable.hbm.xml
12:54:30,531 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Configuracion.hbm.xml
12:54:30,557 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Cuenta.hbm.xml
12:54:30,574 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/BancoMovimiento.hbm.xml
12:54:30,587 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Vendedor.hbm.xml
12:54:30,601 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/CuentaContable.hbm.xml
12:54:30,614 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Banco.hbm.xml
12:54:30,626 INFO Configuration:759 - HHH000221: Reading mappings from resource: datos/Documento.hbm.xml
12:54:30,639 INFO Configuration:2216 - HHH000041: Configured SessionFactory: null
12:54:30,722 WARN DriverManagerConnectionProviderImpl:93 - HHH000402: Using Hibernate built-in connection pool (not for production use!)
12:54:30,730 INFO DriverManagerConnectionProviderImpl:166 - HHH000401: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql:12:54:30,737 INFO DriverManagerConnectionProviderImpl:175 - HHH000046: Connection properties: {user=****, password=****}
12:54:30,751 INFO DriverManagerConnectionProviderImpl:180 - HHH000006: Autocommit mode: false
12:54:30,768 INFO DriverManagerConnectionProviderImpl:102 - HHH000115: Hibernate connection pool size: 1 (min=1)
12:54:31,053 INFO Dialect:145 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
12:54:31,187 INFO TransactionFactoryInitiator:62 - HHH000399: Using default transaction strategy (direct JDBC transactions)
12:54:31,191 INFO ASTQueryTranslatorFactory:47 - HHH000397: Using ASTQueryTranslatorFactory
13:04:48,941 DEBUG logging:101 - Logging Provider: org.jboss.logging.Log4jLoggerProvider
13:04:49,149 INFO Version:37 - HHH000412: Hibernate Core {5.0.0.Final}
13:04:49,151 INFO Environment:213 - HHH000206: hibernate.properties not found
13:04:49,165 INFO Environment:317 - HHH000021: Bytecode provider name : javassist
13:04:49,185 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:49,185 DEBUG LocalXmlResourceResolver:85 - Recognized hibernate-configuration identifier; attempting to resolve on classpath under org/hibernate/
13:04:49,388 INFO Version:66 - HCANN000001: Hibernate Commons Annotations {5.0.0.Final}
13:04:49,388 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:49,404 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:49,435 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Rubro.hbm.xml,type=RESOURCE)
13:04:50,172 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:50,173 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:50,197 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/ComprobanteCliente.hbm.xml,type=RESOURCE)
13:04:50,415 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:50,416 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:50,438 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/TipoArticulo.hbm.xml,type=RESOURCE)
13:04:50,640 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:50,641 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:50,656 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/ArticuloXPrecio.hbm.xml,type=RESOURCE)
13:04:50,922 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:50,922 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:50,937 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Asiento.hbm.xml,type=RESOURCE)
13:04:51,306 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:51,319 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:51,335 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/ComprobanteProveedor.hbm.xml,type=RESOURCE)
13:04:51,678 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:51,679 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:51,698 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/ComprobanteXRecibo.hbm.xml,type=RESOURCE)
13:04:52,040 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:52,040 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:52,059 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/ArticuloXComprobante.hbm.xml,type=RESOURCE)
13:04:52,401 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:52,401 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:52,420 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/ConfiguracionConstantes.hbm.xml,type=RESOURCE)
13:04:52,733 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:52,733 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:52,764 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Comprobante.hbm.xml,type=RESOURCE)
13:04:53,077 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:53,077 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:53,096 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/ArticuloXFoto.hbm.xml,type=RESOURCE)
13:04:53,394 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:53,394 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:53,409 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Usuario.hbm.xml,type=RESOURCE)
13:04:53,721 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:53,721 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:53,737 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/BandejaXComprobante.hbm.xml,type=RESOURCE)
13:04:54,096 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:54,096 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:54,112 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/ConfiguracionEquipo.hbm.xml,type=RESOURCE)
13:04:54,440 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:54,444 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:54,462 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Sucursal.hbm.xml,type=RESOURCE)
13:04:54,743 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:54,743 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:54,758 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/ProveedorXTipoArticulo.hbm.xml,type=RESOURCE)
13:04:55,031 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:55,032 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:55,051 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Cheque.hbm.xml,type=RESOURCE)
13:04:55,321 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:55,322 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:55,332 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/CertificadoRetencion.hbm.xml,type=RESOURCE)
13:04:55,582 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:55,595 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:55,597 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/ComprobanteClienteXPedidoWeb.hbm.xml,type=RESOURCE)
13:04:55,891 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:55,891 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:55,908 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Articulo.hbm.xml,type=RESOURCE)
13:04:56,183 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:56,183 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:56,183 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/AsientoXCuentaContable.hbm.xml,type=RESOURCE)
13:04:56,449 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:56,449 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:56,465 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Configuracion.hbm.xml,type=RESOURCE)
13:04:56,730 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:56,741 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:56,756 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Cuenta.hbm.xml,type=RESOURCE)
13:04:57,025 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:57,026 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:57,041 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/BancoMovimiento.hbm.xml,type=RESOURCE)
13:04:57,304 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:57,305 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:57,319 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Vendedor.hbm.xml,type=RESOURCE)
13:04:57,570 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:57,570 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:57,586 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/CuentaContable.hbm.xml,type=RESOURCE)
13:04:57,836 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:57,850 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:57,851 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Banco.hbm.xml,type=RESOURCE)
13:04:58,117 DEBUG LocalXmlResourceResolver:57 - Interpreting public/system identifier : [-13:04:58,117 DEBUG LocalXmlResourceResolver:59 - Recognized hibernate-mapping identifier; attempting to resolve on classpath under org/hibernate/
13:04:58,132 DEBUG MappingBinder:54 - Performing JAXB binding of hbm.xml document : Origin(name=datos/Documento.hbm.xml,type=RESOURCE)
13:04:58,476 WARN DriverManagerConnectionProviderImpl:76 - HHH000402: Using Hibernate built-in connection pool (not for production use!)
13:04:58,485 INFO DriverManagerConnectionProviderImpl:149 - HHH000401: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql:13:04:58,492 INFO DriverManagerConnectionProviderImpl:158 - HHH000046: Connection properties: {user=****, password=****}
13:04:58,494 INFO DriverManagerConnectionProviderImpl:163 - HHH000006: Autocommit mode: false
13:04:58,510 INFO DriverManagerConnectionProviderImpl:85 - HHH000115: Hibernate connection pool size: 1 (min=1)
13:04:58,682 INFO Dialect:154 - HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
13:05:01,252 INFO QueryTranslatorFactoryInitiator:47 - HHH000397: Using ASTQueryTranslatorFactory
|