Class SourceData
- java.lang.Object
-
- idatt2106.group3.backend.Configuration.SourceData
-
@Configuration public class SourceData extends java.lang.Object
Configuration for Database
-
-
Constructor Summary
Constructors Constructor Description SourceData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.sql.DataSource
getDataSource()
Creates a MySQL datasource Reads url, password and username from config.properties file
-