All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tegrations.cdi.helidon-integrations-cdi-hibernate.4.0.3.source-code.module-info Maven / Gradle / Ivy

/*
 * Copyright (c) 2020, 2023 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.
 */

import io.helidon.common.features.api.Aot;
import io.helidon.common.features.api.Feature;
import io.helidon.common.features.api.HelidonFlavor;

/**
 * Provides classes and interfaces for working with Hibernate in
 * CDI.
 *
 * @see io.helidon.integrations.cdi.hibernate.CDISEJtaPlatformProvider
 *
 * @see io.helidon.integrations.cdi.hibernate.CDISEJtaPlatform
 */
@Feature(value = "Hibernate",
        description = "Hibernate support for Helidon MP",
        in = HelidonFlavor.MP,
        path = {"JPA", "Hibernate"}
)
@Aot(description = "Experimental support, tested on limited use cases")
@SuppressWarnings({ "requires-automatic", "requires-transitive-automatic" })
module io.helidon.integrations.cdi.hibernate {

    requires transitive jakarta.cdi;
    requires transitive jakarta.inject;
    requires jakarta.persistence;
    requires transitive jakarta.transaction;
    requires transitive org.hibernate.orm.core;

    requires static io.helidon.common.features.api;

    exports io.helidon.integrations.cdi.hibernate;

    provides org.hibernate.service.spi.ServiceContributor
            with io.helidon.integrations.cdi.hibernate.DataSourceBackedDialectFactory;
    
    provides org.hibernate.engine.transaction.jta.platform.spi.JtaPlatformProvider
            with io.helidon.integrations.cdi.hibernate.CDISEJtaPlatformProvider;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy