diff --git a/archetypes/database-mp/src/main/resources/pom.xml.mustache b/archetypes/database-mp/src/main/resources/pom.xml.mustache
index 3b7a7d28d..55e5722f9 100644
--- a/archetypes/database-mp/src/main/resources/pom.xml.mustache
+++ b/archetypes/database-mp/src/main/resources/pom.xml.mustache
@@ -43,9 +43,28 @@
jakarta.transaction
jakarta.transaction-api
+
+ io.helidon.common
+ helidon-common
+
+
+ jakarta.xml.bind
+ jakarta.xml.bind-api
+
+
+
+ io.helidon.microprofile.server
+ helidon-microprofile-server
+
+
+ io.helidon.microprofile.bundles
+ helidon-microprofile
+ runtime
+
com.h2database
@@ -76,28 +95,12 @@
org.jboss
jandex
runtime
- true
-
-
- io.helidon.microprofile.server
- helidon-microprofile-server
- runtime
org.glassfish.jersey.media
jersey-media-json-binding
runtime
-
- io.helidon.microprofile.config
- helidon-microprofile-config
- runtime
-
-
- org.eclipse.microprofile.config
- microprofile-config-api
- runtime
-
org.junit.jupiter
junit-jupiter-api
@@ -131,21 +134,45 @@
- com.ethlo.persistence.tools
- eclipselink-maven-plugin
+ org.jvnet.jaxb2.maven2
+ maven-jaxb2-plugin
+ 0.14.0
- weave
- process-classes
+ Generate persistence.xml Java objects
- weave
+ generate
+
+ io.helidon.archetypes.tests.jaxb
+ true
+
+
+
+ jakarta.persistence
+ jakarta.persistence-api
+ javax/persistence/persistence_2_2.xsd
+
+
+
+ false
+
+
+
+
+ org.hibernate.orm.tooling
+ hibernate-enhance-maven-plugin
+ 5.4.6.Final
+
- modelgen
- generate-sources
+
+ true
+ true
+ true
+
- modelgen
+ enhance
diff --git a/archetypes/database-mp/src/main/resources/src/main/resources/hibernate.properties b/archetypes/database-mp/src/main/resources/src/main/resources/hibernate.properties
new file mode 100644
index 000000000..5d0d4b0e1
--- /dev/null
+++ b/archetypes/database-mp/src/main/resources/src/main/resources/hibernate.properties
@@ -0,0 +1,20 @@
+#
+# Copyright (c) 2020 Oracle and/or its affiliates.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Byte code for JPA must be generated at compile time.
+# This is a limitation of native image
+hibernate.bytecode.provider=none
+