Hi Mauro, I had a quick look at your project. Any reason for choosing TomEE 7 / EE7? If not absolutly necessary, I would look at TomEE 8 in 2021.
I made some changes and the project is working fine (see my PR in your project). The following adjustments are necessary / were made: 1. "org.hibernate.ejb.HibernatePersistence" does not exist in the selected hibernate version (and the referenced library). 2. I would use a tomee.xml rather than using system.properties to configure the datasource. 3. The hsqldb version for the hsqldb server is too high compared to the version shipped with 7.0.4. You have to downgrade. 4. I updated your POM to use the maven war plugin and configured the plugin to automatically deploy your webapp. Gruss Richard Am Mittwoch, dem 27.10.2021 um 02:18 +0200 schrieb naciu: > please go at this web app created using the archetyoe for tomee7 and > hibernate 5.2.12. > > I setted the properties for create the tables from entity at > deployment > time ,but it not working. > > the table into hsqldb not are created. > > please the datasource is named ds . > > The jpa provider is hibernate 5.2.12 added with tomee maven plugin > and > removed openjpa . > > i setted into persistence.xml the properties: > > > <exclude-unlisted-classes>false</exclude-unlisted-classes> > <properties> > <property name="hibernate.dialect" > value="org.hibernate.dialect.HSQLDialect"/> > > <!-- 'update' is a nonstandard action, but Hibernate > supports it --> > <!-- <property > name="javax.persistence.schema-generation.database.action" > value="update"/> --> > <!-- <property name="hibernate.hbm2ddl.auto" > value="create-drop"/> --> > <property name="hibernate.show_sql" value="true"/> > <property name="hibernate.format_sql" value="true"/> > <property > name="javax.persistence.schema-generation.database.action" > value="drop-and-create"/> > </properties> > > my project is at my github > > https://github.com/maurojava/prova2.git > > -- Richard Zowalla, M.Sc. Research Associate, PhD Student | Medical Informatics Hochschule Heilbronn – University of Applied Sciences Max-Planck-Str. 39 D-74081 Heilbronn phone: +49 7131 504 6791 (zur Zeit nicht via Telefon erreichbar) mail: [email protected] web: https://www.mi.hs-heilbronn.de/
smime.p7s
Description: S/MIME cryptographic signature
