Skip to content

Commit 8b76fbf

Browse files
committed
Migrate to Spring Data JPA
1 parent 219cbfe commit 8b76fbf

173 files changed

Lines changed: 1212 additions & 749 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,12 @@
636636
<version>v2-rev57-1.17.0-rc</version>
637637
<type>jar</type>
638638
</dependency>
639+
<dependency>
640+
<groupId>org.springframework.data</groupId>
641+
<artifactId>spring-data-jpa</artifactId>
642+
<version>1.7.2.RELEASE</version>
643+
<type>jar</type>
644+
</dependency>
639645
<dependency>
640646
<groupId>com.google.code.gson</groupId>
641647
<artifactId>gson</artifactId>
@@ -710,6 +716,11 @@
710716
<artifactId>less4j</artifactId>
711717
<version>1.8.5</version>
712718
</dependency>
719+
<dependency>
720+
<groupId>org.springframework.cloud</groupId>
721+
<artifactId>spring-cloud-spring-service-connector</artifactId>
722+
<version>1.1.1.RELEASE</version>
723+
</dependency>
713724
</dependencies>
714725

715726
<inceptionYear>2010</inceptionYear>

src/main/java/com/devnexus/ting/core/applicationlistener/SecurityEventListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
import org.springframework.security.authentication.event.AuthenticationSuccessEvent;
2727
import org.springframework.security.authentication.event.InteractiveAuthenticationSuccessEvent;
2828

29-
import com.devnexus.ting.core.model.User;
3029
import com.devnexus.ting.core.service.UserService;
30+
import com.devnexus.ting.model.User;
3131

3232
public class SecurityEventListener implements
3333
ApplicationListener < AbstractAuthenticationEvent > {

src/main/java/com/devnexus/ting/core/dao/BackupDao.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import java.io.InputStream;
1919

20-
import com.devnexus.ting.core.model.Backup;
20+
import com.devnexus.ting.model.Backup;
2121

2222
/**
2323
* @author Gunnar Hillert

src/main/java/com/devnexus/ting/core/dao/UserCalendarDao.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/main/java/com/devnexus/ting/core/dao/jaxb/BackupDaoJaxb.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.springframework.stereotype.Repository;
2727

2828
import com.devnexus.ting.core.dao.BackupDao;
29-
import com.devnexus.ting.core.model.Backup;
29+
import com.devnexus.ting.model.Backup;
3030

3131
/**
3232
* @author Gunnar Hillert

src/main/java/com/devnexus/ting/core/dao/jpa/ApplicationCacheDaoJpa.java

Lines changed: 0 additions & 39 deletions
This file was deleted.

src/main/java/com/devnexus/ting/core/dao/jpa/SchemaMigrationDaoJpa.java

Lines changed: 0 additions & 40 deletions
This file was deleted.

src/main/java/com/devnexus/ting/core/dao/jpa/UserAuthorityDaoJpa.java

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/main/java/com/devnexus/ting/core/model/GooglePlusAccount.java

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/main/java/com/devnexus/ting/core/service/BusinessService.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@
1919
import java.util.Map;
2020
import java.util.Set;
2121

22-
import com.devnexus.ting.core.model.ApplicationCache;
23-
import com.devnexus.ting.core.model.CfpSubmission;
24-
import com.devnexus.ting.core.model.Evaluation;
25-
import com.devnexus.ting.core.model.Event;
26-
import com.devnexus.ting.core.model.FileData;
27-
import com.devnexus.ting.core.model.Organizer;
28-
import com.devnexus.ting.core.model.Presentation;
29-
import com.devnexus.ting.core.model.PresentationTag;
30-
import com.devnexus.ting.core.model.Room;
31-
import com.devnexus.ting.core.model.ScheduleItemList;
32-
import com.devnexus.ting.core.model.Speaker;
33-
import com.devnexus.ting.core.model.Sponsor;
34-
import com.devnexus.ting.core.model.SponsorList;
35-
import com.devnexus.ting.core.model.Track;
36-
import com.devnexus.ting.core.model.support.PresentationSearchQuery;
22+
import com.devnexus.ting.model.ApplicationCache;
23+
import com.devnexus.ting.model.CfpSubmission;
24+
import com.devnexus.ting.model.Evaluation;
25+
import com.devnexus.ting.model.Event;
26+
import com.devnexus.ting.model.FileData;
27+
import com.devnexus.ting.model.Organizer;
28+
import com.devnexus.ting.model.Presentation;
29+
import com.devnexus.ting.model.PresentationTag;
30+
import com.devnexus.ting.model.Room;
31+
import com.devnexus.ting.model.ScheduleItemList;
32+
import com.devnexus.ting.model.Speaker;
33+
import com.devnexus.ting.model.Sponsor;
34+
import com.devnexus.ting.model.SponsorList;
35+
import com.devnexus.ting.model.Track;
36+
import com.devnexus.ting.model.support.PresentationSearchQuery;
3737

3838
/**
3939
* The central service layer of Ting.

0 commit comments

Comments
 (0)