我可以和我应该将嵌套的内部类设为@Entity吗?例如:
var postData = new FormData(this);
$.ajax({
type:"POST",
dataType: 'json',
url:"<?php echo base_url('administrator/add_school/'); ?>",
data: formData,
type: "POST",
data : postData,
processData: false,
contentType: false,
success: function(stream) {
console.log(stream.total);
}
});
或者:
spring:
activemq:
broker-url: tcp://someIP:61616
user: admin
password: admin
pooled: true
答案 0 :(得分:5)
JPA 2.1规范第2.1段第2.1页说:
实体类必须是顶级类。