diff --git a/pom.xml b/pom.xml index cb34bbb..71ffe3a 100644 --- a/pom.xml +++ b/pom.xml @@ -1,68 +1,75 @@ - - 4.0.0 + + 4.0.0 - com.codenotfound - jsf-primefaces-datatable - 0.0.1-SNAPSHOT - jar + com.mousetech.gourmet + jsf-primefaces-datatable + 0.0.1-SNAPSHOT + jar - jsf-primefaces-datatable - JSF PrimeFaces DataTable Example - https://codenotfound.com/jsf-primefaces-datatable-example.html + jsf-primefaces-datatable + JSF PrimeFaces DataTable Example + https://codenotfound.com/jsf-primefaces-datatable-example.html - - org.springframework.boot - spring-boot-starter-parent - 2.1.0.RELEASE - - + + org.springframework.boot + spring-boot-starter-parent + 2.1.0.RELEASE + + + + + UTF-8 + UTF-8 + 11 + 3.3.0-rc2 + - - UTF-8 - UTF-8 - 1.8 - 3.3.0-rc2 - + + + + org.joinfaces + joinfaces-dependencies + ${joinfaces.version} + pom + import + + + - - - org.joinfaces - joinfaces-dependencies - ${joinfaces.version} - pom - import - + + org.joinfaces + primefaces-spring-boot-starter + + + javax.enterprise + cdi-api + + + org.springframework.boot + spring-boot-starter-data-jpa + + + org.xerial + sqlite-jdbc + + + com.github.gwenn + sqlite-dialect + 0.1.2 + - - - - org.joinfaces - primefaces-spring-boot-starter - - - javax.enterprise - cdi-api - - - org.springframework.boot - spring-boot-starter-data-jpa - - - com.h2database - h2 - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - - + + + + org.springframework.boot + spring-boot-maven-plugin + + + diff --git a/src/main/java/com/codenotfound/SpringPrimeFacesApplication.java b/src/main/java/com/codenotfound/SpringPrimeFacesApplication.java index 8bca1aa..8603c46 100644 --- a/src/main/java/com/codenotfound/SpringPrimeFacesApplication.java +++ b/src/main/java/com/codenotfound/SpringPrimeFacesApplication.java @@ -2,8 +2,10 @@ package com.codenotfound; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.autoconfigure.domain.EntityScan; @SpringBootApplication +@EntityScan(value = {"com.mousetech.gourmetj.persistence.model", "com.codenotfound.primefaces"}) public class SpringPrimeFacesApplication { public static void main(String[] args) { diff --git a/src/main/resources/data.sql b/src/main/resources/data.sql deleted file mode 100644 index cb6b1aa..0000000 --- a/src/main/resources/data.sql +++ /dev/null @@ -1,11 +0,0 @@ -INSERT INTO car (brand, year, color) VALUES - ('Audi', 1992, 'Red'), - ('Fiat', 2001, 'Red'), - ('Mercedes', 1991, 'Brown'), - ('Fiat', 1962, 'Black'), - ('Renault', 1997, 'Brown'), - ('Renault', 1967, 'Maroon'), - ('Renault', 1986, 'Yellow'), - ('BMW', 1970, 'Maroon'), - ('Fiat', 1990, 'Silver'), - ('Renault', 1972, 'Black');