// Path: src/main/java/org/nextrtc/examples/videochat_with_rest/repo/ConversationRepository.java
// @Repository
// @Transactional
// public interface ConversationRepository extends JpaRepository<Conversation, Integer> {
// 
//     @Query("select c from Conversation c where c.destroyed is null and c.conversationName = :conversationName")
//     Conversation getByConversationName(@Param("conversationName") String conversationName);
// }


import org.nextrtc.examples.videochat_with_rest.repo.ConversationRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
package org.nextrtc.examples.videochat_with_rest.service;


@Service
@Transactional
public class DestroyConversationService {

    @Autowired
// Path: src/main/java/org/nextrtc/examples/videochat_with_rest/repo/ConversationRepository.java
// @Repository
// @Transactional
// public interface ConversationRepository extends JpaRepository<Conversation, Integer> {
// 
//     @Query("select c from Conversation c where c.destroyed is null and c.conversationName = :conversationName")
//     Conversation getByConversationName(@Param("conversationName") String conversationName);
// }


// Path: src/main/java/org/nextrtc/examples/videochat_with_rest/service/DestroyConversationService.java
import org.nextrtc.examples.videochat_with_rest.repo.ConversationRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

package org.nextrtc.examples.videochat_with_rest.service;


@Service
@Transactional
public class DestroyConversationService {

    @Autowired
    private ConversationRepository conversationRepository;