腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Spring
Data
Jpa
-
cache
、
、
、
、
我在
Spring
Boot 1.5.4中使用
Spring
Data
Jpa
@Modifying(clearAutomatically = true)@Transactional
浏览 14
提问于2017-06-20
得票数 0
回答已采纳
2
回答
实体间的优化关系
、
、
、
我有这样的实体:@Table(name = "test")@Column(name = "record_type_id", nullable = false)private Set<RecordType>
浏览 9
提问于2020-12-15
得票数 3
回答已采纳
1
回答
@Cacheable用于默认的
spring
data
jpa
方法,而不覆盖它们
、
、
Sry,如果我的问题不是新的,但我找不到答案,我使用
Spring
Data
JPA
和
Spring
Cache
。有没有一种方法可以缓存默认的
spring
jpa
方法而不覆盖它们,或者没有这种方法?
浏览 52
提问于2020-01-21
得票数 0
回答已采纳
1
回答
有可能用MockMvc进行
JPA
测试吗?
、
、
、
、
我正在尝试使用
spring
测试来测试rest应用程序。--这是我的测试场景。(测试代码)
jpa
: hibernate: naming-strategy: org.hibern
浏览 2
提问于2016-02-05
得票数 1
1
回答
spring
有L2缓存实现吗?
、
、
我从使用maven的
spring
-boot-sample
jpa
原型项目开始。我已经删除了HSQL,并创建了一个连接到postgresql的DataSource bean。
Spring
数据有自己的实现吗?
浏览 0
提问于2018-04-10
得票数 4
回答已采纳
1
回答
当我们使用redis并在Hibernate中使用延迟加载时,我们可能会遇到异常,说@ManyToMany关系没有会话、ebean缓存问题。
、
、
、
、
在Hibernate中使用延迟加载时,我们可能会遇到异常,说没有会话。
浏览 4
提问于2022-04-23
得票数 0
1
回答
Spring
Data
JPA
设置:匹配的通配符是严格的,但是元素‘
jpa
:存储库’找不到任何声明。
、
/
data
/
jpa
" xsi/schema/
cache
/
spring
-
cache
-3.2.xsd http://www.springframew
浏览 2
提问于2014-08-06
得票数 1
1
回答
用DBUnit进行Dao测试:方法抛出`org.dbunit.
data
et.NoSuchTableException
、
、
我想使用
spring
管理的实例。
浏览 3
提问于2016-01-29
得票数 0
回答已采纳
1
回答
Ehcache3 defaultCache-配置等效
、
schemaLocation=" <expiry> </expiry> <hea
浏览 6
提问于2019-12-10
得票数 1
1
回答
Spring
Boot
JPA
- EntityManager将ID字段转换为大写
、
、
、
、
spring
.
jpa
.properties.hibernate.show_sql=false
spring
.
jpa
.properties.hibernate.
cache
.use_second_level_
cache
浏览 1
提问于2015-01-27
得票数 0
1
回答
spring
-
data
-
jpa
:-非托管类型错误
、
、
、
Spring
数据
JPA
在运行测试时没有识别我的实体。请在下面找到密码。我们不使用
Spring
引导。<?http://www.springframework.org/schema/
data
/
jpa
/
spring
-
jpa
.xsd"> <!(JpaEntityInformatio
浏览 0
提问于2016-04-26
得票数 2
回答已采纳
1
回答
hibernate二级缓存的应用属性
、
、
、
、
spring
.
jpa
.show-sql=true
spring
.
jpa
.properties.hibernate.id.new_generator_mappings=false
spring
.
jpa
.
浏览 1
提问于2018-11-05
得票数 0
回答已采纳
2
回答
Hibernate中的断路L2缓存,以防redis连接出现问题
、
、
、
、
我使用redisson-hibernate作为Hibernate二级缓存提供程序。如果redis服务器变得不可用,而应用程序正在运行,整个应用程序就会宕机。在这种情况下,我正在尝试找到一种方法来中断L2缓存。如果没有,我如何构建这样的机制?我可以尝试运行quartz作业,该作业通过修改应用程序配置来检查redis连接、终止并重新启动应用程序。但是这种方法很复杂,也不是很干净。请提个建议。
浏览 2
提问于2019-08-27
得票数 0
1
回答
Spring
/
Spring
:在java代码中读取的属性"
spring
.
jpa
.properties.hibernate.generate_statistics“在哪里?
、
、
、
因此,为了探索和了解约定,关于如何在java代码中声明(读取)上述道具的方式和位置,我开始搜索代码中与
spring
-
data
-
jpa
相关的属性。从这个中,我可以看到
spring
.datasource.driverClassName属性位于org.springframework.boot.autoconfigure.jdbc.DataSourceProperties,也就是说在 类似地,我希望找到其他属性的代码,如-
spring
.
jpa
.properties.hibernate.
浏览 6
提问于2022-10-29
得票数 0
回答已采纳
1
回答
Spring
配置问题
、
、
我已经浏览了几乎所有关于
Spring
配置的文章。基本上,我希望在我的项目中实现
JPA
分页,为此,我需要
spring
支持。但是,当我在我的项目中包括
spring
-
data
-
jpa
.jar时,我会得到以下异常。"> <exclude-unlisted-cl
浏览 2
提问于2015-11-19
得票数 0
1
回答
容器内的弹簧启动测试
、
、
、
、
=org.hibernate.dialect.SQLServer2008Dialect
spring
.
jpa
.properties.hibernate.
cache
.infinispan.cachemanager=org.hiber
浏览 2
提问于2015-02-15
得票数 2
回答已采纳
2
回答
如何使用
Spring
和Maven在数据库中为实体创建表?
、
、
、
、
public class Employee { @Column(name = "id")}
spring
.
jpa
.properties.hibernate.
cache
.use_second_level_
cache
=true
spring
.
jpa
.properties.hibernate.
cache
.region.factory_class=or
浏览 2
提问于2022-03-11
得票数 0
1
回答
脱机时找不到元素'beans‘的声明
嗨,我一直在用
Spring
framework 3.2离线处理这个老项目,一切都很好。="http://www.springframework.org/schema/
data
/
jpa
" http:&
浏览 0
提问于2015-09-25
得票数 0
1
回答
为什么
spring
引导不连接本地mysql服务器?
、
、
=off
spring
.freemarker.
cache
=false
spring
.datasource.urlautoReconnect=true&useSSL=false
spring
.datasource
浏览 0
提问于2016-10-18
得票数 5
回答已采纳
2
回答
Hibernate二级缓存在运行两个
spring
测试时关闭
、
、
当我执行一批设置了
spring
上下文并试图更新一些
JPA
实体的测试时,在某个时刻得到了这样的异常:at org.springframework.
data
.
jpa
.repository.support
浏览 6
提问于2019-06-11
得票数 5
点击加载更多
相关
资讯
Spring Data JPA入门
SpringBoot(四)_Spring Data JPA的使用
JPA、Hibernate、Spring data jpa之间的关系,终于明白了
Spring Boot使用spring-data-jpa快速访问数据库
SpringBoot2.0之三 优雅整合Spring Data JPA
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券