@Configuration
@EnableAutoConfiguration(exclude={org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration.class,org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration.class,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration.class})
@ComponentScan(value="com.sdl.odata.controller")
public class ODataServiceContainer
extends Object
This is the main entry point to the OData Web Service.
Exclude automatic Hibernate configuration; we use the configuration of the CD data layer instead of the Spring automatic configuration.
| Constructor and Description |
|---|
ODataServiceContainer() |
public static void main(String[] args)
Copyright © 2014–2019 SDL. All rights reserved.