La ejecución del RegistroDeProducto, me ejecuta solo hasta una parte, del programa, no me salen los letreros que al profe le salen.
Sale en consola.
ago 28, 2023 11:24:10 A. M. org.hibernate.jpa.internal.util.LogHelper logPersistenceUnitInformation INFO: HHH000204: Processing PersistenceUnitInfo [name: tienda] ago 28, 2023 11:24:11 A. M. org.hibernate.Version logVersion INFO: HHH000412: Hibernate ORM core version 5.6.15.Final ago 28, 2023 11:24:12 A. M. org.hibernate.annotations.common.reflection.java.JavaReflectionManager INFO: HCANN000001: Hibernate Commons Annotations {5.1.2.Final} ago 28, 2023 11:24:13 A. M. org.hibernate.dialect.Dialect INFO: HHH000400: Using dialect: org.hibernate.dialect.H2Dialect ago 28, 2023 11:24:16 A. M. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!) ago 28, 2023 11:24:16 A. M. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator INFO: HHH10001005: using driver [org.h2.Driver] at URL [jdbc:h2:mem:test] ago 28, 2023 11:24:16 A. M. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator INFO: HHH10001001: Connection properties: {password=****, user=sa} ago 28, 2023 11:24:16 A. M. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl buildCreator INFO: HHH10001003: Autocommit mode: false ago 28, 2023 11:24:16 A. M. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl$PooledConnections INFO: HHH000115: Hibernate connection pool size: 20 (min=1) ago 28, 2023 11:24:17 A. M. org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl getIsolatedConnection INFO: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@5c60b0a0] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode. ago 28, 2023 11:24:17 A. M. org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl getIsolatedConnection INFO: HHH10001501: Connection obtained from JdbcConnectionAccess [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess@16c587de] for (non-JTA) DDL execution was not in auto-commit mode; the Connection 'local transaction' will be committed and the Connection will be set into auto-commit mode. ago 28, 2023 11:24:17 A. M. org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator initiateService INFO: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] Conexion EntityManager OK (este mensaje lo coloque en el codigo)
Tengo Windows 10 pro, Java: Eclipse IDE for Enterprise Java and Web Developers - 2022-12, con JSE-11, aunque lo cambio a JSE-17 y me sale lo mismo.
- Se asume que el h2 database, funciona en memoria, no se tiene que tener abierto mysql?
- Hay que montar algun .jar en el equipo de h2 database. Esta funcionalidad no la toma en persistence.xml.?
- Que pena que este un poco atrasado.
Envio link del repositorio, para su revisión. Gracias. https://github.com/ravila64/Tienda-JPA.git atte, Rene Avila Alonso. Bog, Col.