This is an automated email from the ASF dual-hosted git repository.
mariofusco pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git
The following commit(s) were added to refs/heads/main by this push:
new 63df462f70 remove leftover hibernate configuration files (#3425)
63df462f70 is described below
commit 63df462f70c82d757606797377ff24b1f17d70a8
Author: Mario Fusco <[email protected]>
AuthorDate: Tue Mar 5 16:43:43 2024 +0100
remove leftover hibernate configuration files (#3425)
---
.../filtered-resources/META-INF/persistence.xml | 36 -------------------
.../test/filtered-resources/datasource.properties | 41 ----------------------
2 files changed, 77 deletions(-)
diff --git
a/jbpm/jbpm-bpmn2/src/test/filtered-resources/META-INF/persistence.xml
b/jbpm/jbpm-bpmn2/src/test/filtered-resources/META-INF/persistence.xml
deleted file mode 100755
index f81811971d..0000000000
--- a/jbpm/jbpm-bpmn2/src/test/filtered-resources/META-INF/persistence.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<persistence version="3.0"
- xmlns="https://jakarta.ee/xml/ns/persistence"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence
https://jakarta.ee/xml/ns/persistence/persistence_3_0.xsd">
-
- <persistence-unit name="org.jbpm.persistence.jpa" transaction-type="JTA">
- <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
- <jta-data-source>jdbc/testDS1</jta-data-source>
- <mapping-file>META-INF/JBPMorm.xml</mapping-file>
-
- <class>org.drools.persistence.info.SessionInfo</class>
- <class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>
- <class>org.drools.persistence.info.WorkItemInfo</class>
-
- <class>org.jbpm.process.audit.ProcessInstanceLog</class>
- <class>org.jbpm.process.audit.NodeInstanceLog</class>
- <class>org.jbpm.process.audit.VariableInstanceLog</class>
-
- <class>org.jbpm.persistence.correlation.CorrelationKeyInfo</class>
- <class>org.jbpm.persistence.correlation.CorrelationPropertyInfo</class>
-
- <properties>
- <property name="hibernate.max_fetch_depth" value="3"/>
- <property name="hibernate.hbm2ddl.auto" value="create"/>
- <property name="hibernate.show_sql" value="false"/>
- <property name="hibernate.dialect" value="${maven.hibernate.dialect}"/>
- <property name="hibernate.default_schema" value="${maven.jdbc.schema}"/>
-
- <!-- BZ 841786: AS7/EAP 6/Hib 4 uses new (sequence) generators which
seem to cause problems -->
- <property name="hibernate.id.new_generator_mappings" value="false"/>
- <property name="hibernate.transaction.jta.platform"
value="org.hibernate.service.jta.platform.internal.JBossStandAloneJtaPlatform"/>
- <property name="hibernate.connection.handling_mode"
value="DELAYED_ACQUISITION_AND_RELEASE_AFTER_TRANSACTION"/>
- </properties>
- </persistence-unit>
-</persistence>
diff --git a/jbpm/jbpm-bpmn2/src/test/filtered-resources/datasource.properties
b/jbpm/jbpm-bpmn2/src/test/filtered-resources/datasource.properties
deleted file mode 100755
index a5b9204e7a..0000000000
--- a/jbpm/jbpm-bpmn2/src/test/filtered-resources/datasource.properties
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-#
-
-# BTM properties
-maxPoolSize=${maven.btm.maxPoolSize}
-allowLocalTransactions=true
-# JDBC/Database properties that are set in the maven pom
-#
-# the below variable names (i.e. "${maven.datasource.classname}) are
-# automagically replaced with their values (defined in the pom.xml)
-# because of the fact that <filtering> is set to true in for the
-# src/test/resources directory in the pom.
-#
-className=${maven.datasource.classname}
-driverClassName=${maven.jdbc.driver.class}
-user=${maven.jdbc.username}
-password=${maven.jdbc.password}
-url=${maven.jdbc.url}
-serverName=${maven.jdbc.db.server}
-portNumber=${maven.jdbc.db.port}
-databaseName=${maven.jdbc.db.name}
-defaultSchema=${maven.jdbc.schema}
-dbBaseDir=${basedir}
-makeBaseDb=false
-testMarshalling=false
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]