- 博客(7)
- 问答 (1)
- 收藏
- 关注
原创 Spring+CXF的POM
这是CXF一部分,而且json支持由jackson来提供。properties <cxf.version>3.2.6</cxf.version> <jaxb.version>2.2.11</jaxb.version> &
2018-11-18 22:47:02
1449
原创 Hibernate MySQL方言配置遇到的坑
环境 hibernate5.2.17、MySQL5.5,采用JPA注解配置1. The First配置文件:peresistence.xml//...其它略...<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/><property name="hiber...
2018-09-15 17:42:06
7058
2
原创 Spring 配置context:component-scan产生的错误
在使用注解的方式配置bean遇到如下问题。Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.3.xsd). For more information, right click on the message in the Problems View an...
2018-09-13 20:06:00
9207
原创 Hibernate JPA整合C3P0的配置文件
注意路径 src/META-INF/persistence.xml&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://ww
2018-09-09 22:46:41
847
原创 Hibernate 封装一个可变字段查询方法
这里采用的是JPA的方式,普通方式的也是一样的原理。 Brand.java @Entity@Table(name = "brand")public class Brand { @Id @Column(name = "brand_id") @GeneratedValue(strategy = GenerationType.AUTO) private In...
2018-09-09 22:26:17
357
原创 Hibernate JPA初探的坑
异常javax.persistence.PersistenceException: No Persistence provider for EntityManager named jpa at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:61) at javax.persis...
2018-09-07 18:01:21
2199
原创 Hibernate 5.2.17 二级缓存配置异常
异常 org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.cache.spi.RegionFactory] Caused by: org.hibernate.boot.registry.selector.spi.StrategySele...
2018-09-07 11:13:58
1682
3
空空如也
pom.xml报错 Problems提示Unknown?
2018-09-24
TA创建的收藏夹 TA关注的收藏夹
TA关注的人