package com.jsc.oscm.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import com.jsc.oscm.entity.MetaData;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface MetaDataRepository extends JpaRepository<MetaData, Integer> {
    @Query(value = "SELECT DISTINCT table_name FROM meta_data", nativeQuery = true)
    List<Object> getTableNameList();

}
