Cannot use table for entity type since it is being used for entity type
Solution 2: Using @Entity. Technologies used. Let's Get Started. No table will be created for this dummy entity as long as the JPA property spring.jpa.hibernate.ddl-auto is set to none or not set at all. It was a type mismatch on my target code base - timestamp and date. And indeed your code.