我已经查看了这个主题的所有其他堆栈溢出,但没有一个得到答案。我在我的实体上得到了“非托管类型”。以下是类。(SpringApplication.java:397) [spring-boot-2.2.5.RELEASE.jar:2.2.5.RELEASE]
at org.springframework.boot.SpringApplication.run58 common frames omitted 如果有人需要任何其他代码,我可以添加任何代码,但我觉得这些是最重要
我试图在我的Spring应用程序中集成两个MySQL DB。: Not a managed type: class com.oxfordcaps.finance.entity.User]import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.jdbc.DataS
我习惯于使用Spring Roo生成我的实体,并让它通过AspectJ类处理注入entityManager、persist和其他方法。现在,我正在尝试使用SpringBoot做一些简单的事情,将内容写入数据库……@Table(name = "account")
public class Account {我已经看过了SpringBoot文档,它们非常简短地涵
我正在做一个springboot项目,其中我有@Entity Decorator的实体,没有@Id装饰器,因为它们是视图而不是表。这就是为什么我有一个persistence.xml文件,它表明在这里处理的类是hibernatepackage com.lma.flad; class ClassA://java.sun.com/xml/ns/persistence