`
zhangxiong0301
  • 浏览: 362307 次
社区版块
存档分类
最新评论

spring事务配置的几种方法

 
阅读更多

Spring配置文件中关于事务配置总是由三个组成部分,分别是DataSource、TransactionManager和代理机制这三部分,无论哪种配置方式,一般变化的只是代理机制这部分。

    DataSource、TransactionManager这两部分只是会根据数据访问方式有所变化,比如使用Hibernate进行数据访问时,DataSource实际为SessionFactory,TransactionManager的实现为HibernateTransactionManager。

具体如下图:

  根据代理机制的不同,总结了五种Spring事务的配置方式,配置文件如下:

    第一种方式:每个Bean都有一个代理

Xml代码  收藏代码
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <beans xmlns="http://www.springframework.org/schema/beans"  
  3.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  4.     xmlns:context="http://www.springframework.org/schema/context"  
  5.     xmlns:aop="http://www.springframework.org/schema/aop"  
  6.     xsi:schemaLocation="http://www.springframework.org/schema/beans   
  7.            http://www.springframework.org/schema/beans/spring-beans-2.5.xsd  
  8.            http://www.springframework.org/schema/context  
  9.            http://www.springframework.org/schema/context/spring-context-2.5.xsd  
  10.            http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">  
  11.   
  12.     <bean id="sessionFactory"    
  13.             class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">    
  14.         <property name="configLocation" value="classpath:hibernate.cfg.xml" />    
  15.         <property name="configurationClass" value="org.hibernate.cfg.AnnotationConfiguration" />  
  16.     </bean>    
  17.   
  18.     <!-- 定义事务管理器(声明式的事务) -->    
  19.     <bean id="transactionManager"  
  20.         class="org.springframework.orm.hibernate3.HibernateTransactionManager">  
  21.         <property name="sessionFactory" ref="sessionFactory" />  
  22.     </bean>  
  23.       
  24.     <!-- 配置DAO -->  
  25.     <bean id="userDaoTarget" class="com.bluesky.spring.dao.UserDaoImpl">  
  26.         <property name="sessionFactory" ref="sessionFactory" />  
  27.     </bean>  
  28.       
  29.     <bean id="userDao"    
  30.         class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">    
  31.            <!-- 配置事务管理器 -->    
  32.            <property name="transactionManager" ref="transactionManager" />       
  33.         <property name="target" ref="userDaoTarget" />    
  34.          <property name="proxyInterfaces" value="com.bluesky.spring.dao.GeneratorDao" />  
  35.         <!-- 配置事务属性 -->    
  36.         <property name="transactionAttributes">    
  37.             <props>    
  38.                 <prop key="*">PROPAGATION_REQUIRED</prop>  
  39.             </props>    
  40.         </property>    
  41.     </bean>    
  42. </beans>  

 第二种方式:所有Bean共享一个代理基类

Xml代码  收藏代码
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <beans xmlns="http://www.springframework.org/schema/beans"  
  3.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  4.     xmlns:context="http://www.springframework.org/schema/context"  
  5.     xmlns:aop="http://www.springframework.org/schema/aop"  
  6.     xsi:schemaLocation="http://www.springframework.org/schema/beans   
  7.            http://www.springframework.org/schema/beans/spring-beans-2.5.xsd  
  8.            http://www.springframework.org/schema/context  
  9.            http://www.springframework.org/schema/context/spring-context-2.5.xsd  
  10.            http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">  
  11.   
  12.     <bean id="sessionFactory"    
  13.             class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">    
  14.         <property name="configLocation" value="classpath:hibernate.cfg.xml" />    
  15.         <property name="configurationClass" value="org.hibernate.cfg.AnnotationConfiguration" />  
  16.     </bean>    
  17.   
  18.     <!-- 定义事务管理器(声明式的事务) -->    
  19.     <bean id="transactionManager"  
  20.         class="org.springframework.orm.hibernate3.HibernateTransactionManager">  
  21.         <property name="sessionFactory" ref="sessionFactory" />  
  22.     </bean>  
  23.       
  24.     <bean id="transactionBase"    
  25.             class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"    
  26.             lazy-init="true" abstract="true">    
  27.         <!-- 配置事务管理器 -->    
  28.         <property name="transactionManager" ref="transactionManager" />    
  29.         <!-- 配置事务属性 -->    
  30.         <property name="transactionAttributes">    
  31.             <props>    
  32.                 <prop key="*">PROPAGATION_REQUIRED</prop>    
  33.             </props>    
  34.         </property>    
  35.     </bean>      
  36.      
  37.     <!-- 配置DAO -->  
  38.     <bean id="userDaoTarget" class="com.bluesky.spring.dao.UserDaoImpl">  
  39.         <property name="sessionFactory" ref="sessionFactory" />  
  40.     </bean>  
  41.       
  42.     <bean id="userDao" parent="transactionBase" >    
  43.         <property name="target" ref="userDaoTarget" />     
  44.     </bean>  
  45. </beans>  

 

第三种方式:使用拦截器

Xml代码  收藏代码
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <beans xmlns="http://www.springframework.org/schema/beans"  
  3.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  4.     xmlns:context="http://www.springframework.org/schema/context"  
  5.     xmlns:aop="http://www.springframework.org/schema/aop"  
  6.     xsi:schemaLocation="http://www.springframework.org/schema/beans   
  7.            http://www.springframework.org/schema/beans/spring-beans-2.5.xsd  
  8.            http://www.springframework.org/schema/context  
  9.            http://www.springframework.org/schema/context/spring-context-2.5.xsd  
  10.            http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">  
  11.   
  12.     <bean id="sessionFactory"    
  13.             class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">    
  14.         <property name="configLocation" value="classpath:hibernate.cfg.xml" />    
  15.         <property name="configurationClass" value="org.hibernate.cfg.AnnotationConfiguration" />  
  16.     </bean>    
  17.   
  18.     <!-- 定义事务管理器(声明式的事务) -->    
  19.     <bean id="transactionManager"  
  20.         class="org.springframework.orm.hibernate3.HibernateTransactionManager">  
  21.         <property name="sessionFactory" ref="sessionFactory" />  
  22.     </bean>   
  23.      
  24.     <bean id="transactionInterceptor"    
  25.         class="org.springframework.transaction.interceptor.TransactionInterceptor">    
  26.         <property name="transactionManager" ref="transactionManager" />    
  27.         <!-- 配置事务属性 -->    
  28.         <property name="transactionAttributes">    
  29.             <props>    
  30.                 <prop key="*">PROPAGATION_REQUIRED</prop>    
  31.             </props>    
  32.         </property>    
  33.     </bean>  
  34.         
  35.     <bean class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">    
  36.         <property name="beanNames">    
  37.             <list>    
  38.                 <value>*Dao</value>  
  39.             </list>    
  40.         </property>    
  41.         <property name="interceptorNames">    
  42.             <list>    
  43.                 <value>transactionInterceptor</value>    
  44.             </list>    
  45.         </property>    
  46.     </bean>    
  47.     
  48.     <!-- 配置DAO -->  
  49.     <bean id="userDao" class="com.bluesky.spring.dao.UserDaoImpl">  
  50.         <property name="sessionFactory" ref="sessionFactory" />  
  51.     </bean>  
  52. </beans>  

 

第四种方式:使用tx标签配置的拦截器

Xml代码  收藏代码
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <beans xmlns="http://www.springframework.org/schema/beans"  
  3.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  4.     xmlns:context="http://www.springframework.org/schema/context"  
  5.     xmlns:aop="http://www.springframework.org/schema/aop"  
  6.     xmlns:tx="http://www.springframework.org/schema/tx"  
  7.     xsi:schemaLocation="http://www.springframework.org/schema/beans   
  8.            http://www.springframework.org/schema/beans/spring-beans-2.5.xsd  
  9.            http://www.springframework.org/schema/context  
  10.            http://www.springframework.org/schema/context/spring-context-2.5.xsd  
  11.            http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd  
  12.            http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">  
  13.   
  14.     <context:annotation-config />  
  15.     <context:component-scan base-package="com.bluesky" />  
  16.   
  17.     <bean id="sessionFactory"    
  18.             class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">    
  19.         <property name="configLocation" value="classpath:hibernate.cfg.xml" />    
  20.         <property name="configurationClass" value="org.hibernate.cfg.AnnotationConfiguration" />  
  21.     </bean>    
  22.   
  23.     <!-- 定义事务管理器(声明式的事务) -->    
  24.     <bean id="transactionManager"  
  25.         class="org.springframework.orm.hibernate3.HibernateTransactionManager">  
  26.         <property name="sessionFactory" ref="sessionFactory" />  
  27.     </bean>  
  28.   
  29.     <tx:advice id="txAdvice" transaction-manager="transactionManager">  
  30.         <tx:attributes>  
  31.             <tx:method name="*" propagation="REQUIRED" />  
  32.         </tx:attributes>  
  33.     </tx:advice>  
  34.       
  35.     <aop:config>  
  36.         <aop:pointcut id="interceptorPointCuts"  
  37.             expression="execution(* com.bluesky.spring.dao.*.*(..))" />  
  38.         <aop:advisor advice-ref="txAdvice"  
  39.             pointcut-ref="interceptorPointCuts" />          
  40.     </aop:config>        
  41. </beans>  

 

第五种方式:全注解

Xml代码  收藏代码
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <beans xmlns="http://www.springframework.org/schema/beans"  
  3.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
  4.     xmlns:context="http://www.springframework.org/schema/context"  
  5.     xmlns:aop="http://www.springframework.org/schema/aop"  
  6.     xmlns:tx="http://www.springframework.org/schema/tx"  
  7.     xsi:schemaLocation="http://www.springframework.org/schema/beans   
  8.            http://www.springframework.org/schema/beans/spring-beans-2.5.xsd  
  9.            http://www.springframework.org/schema/context  
  10.            http://www.springframework.org/schema/context/spring-context-2.5.xsd  
  11.            http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd  
  12.            http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">  
  13.   
  14.     <context:annotation-config />  
  15.     <context:component-scan base-package="com.bluesky" />  
  16.   
  17.     <tx:annotation-driven transaction-manager="transactionManager"/>  
  18.   
  19.     <bean id="sessionFactory"    
  20.             class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">    
  21.         <property name="configLocation" value="classpath:hibernate.cfg.xml" />    
  22.         <property name="configurationClass" value="org.hibernate.cfg.AnnotationConfiguration" />  
  23.     </bean>    
  24.   
  25.     <!-- 定义事务管理器(声明式的事务) -->    
  26.     <bean id="transactionManager"  
  27.         class="org.springframework.orm.hibernate3.HibernateTransactionManager">  
  28.         <property name="sessionFactory" ref="sessionFactory" />  
  29.     </bean>  
  30.       
  31. </beans>  

 

此时在DAO上需加上@Transactional注解,如下

Java代码  收藏代码
  1. package com.bluesky.spring.dao;  
  2.   
  3. import java.util.List;  
  4.   
  5. import org.hibernate.SessionFactory;  
  6. import org.springframework.beans.factory.annotation.Autowired;  
  7. import org.springframework.orm.hibernate3.support.HibernateDaoSupport;  
  8. import org.springframework.stereotype.Component;  
  9.   
  10. import com.bluesky.spring.domain.User;  
  11.   
  12. @Transactional  
  13. @Component("userDao")  
  14. public class UserDaoImpl extends HibernateDaoSupport implements UserDao {  
  15.   
  16.     public List<User> listUsers() {  
  17.         return this.getSession().createQuery("from User").list();  
  18.     }  
  19.       
  20.       
  21. }  
分享到:
评论

相关推荐

    实时监控体系:基于Prometheus的API性能指标可视化方案.pdf

    在日常的工作和学习中,你是否常常为处理复杂的数据、生成高质量的文本或者进行精准的图像识别而烦恼?DeepSeek 或许就是你一直在寻找的解决方案!它以其高效、智能的特点,在各个行业都展现出了巨大的应用价值。然而,想要充分发挥 DeepSeek 的优势,掌握从入门到精通的知识和技能至关重要。本文将从实际应用的角度出发,为你详细介绍 DeepSeek 的基本原理、操作方法以及高级技巧。通过系统的学习,你将能够轻松地运用 DeepSeek 解决实际问题,提升工作效率和质量,让自己在职场和学术领域脱颖而出。现在,就让我们一起开启这场实用又高效的学习之旅吧!

    5个提升DeepSeekAPI生成质量的调参技巧,开发者必看!.pdf

    在日常的工作和学习中,你是否常常为处理复杂的数据、生成高质量的文本或者进行精准的图像识别而烦恼?DeepSeek 或许就是你一直在寻找的解决方案!它以其高效、智能的特点,在各个行业都展现出了巨大的应用价值。然而,想要充分发挥 DeepSeek 的优势,掌握从入门到精通的知识和技能至关重要。本文将从实际应用的角度出发,为你详细介绍 DeepSeek 的基本原理、操作方法以及高级技巧。通过系统的学习,你将能够轻松地运用 DeepSeek 解决实际问题,提升工作效率和质量,让自己在职场和学术领域脱颖而出。现在,就让我们一起开启这场实用又高效的学习之旅吧!

    ACM动态规划模板-区间修改线段树问题模板

    ACM动态规划模板-区间修改线段树问题模板

    深度解析C语言调试技巧:VSCode+GDB实战排错指南.pdf

    # 踏入C语言的奇妙编程世界 在编程的广阔宇宙中,C语言宛如一颗璀璨恒星,以其独特魅力与强大功能,始终占据着不可替代的地位。无论你是编程小白,还是有一定基础想进一步提升的开发者,C语言都值得深入探索。 C语言的高效性与可移植性令人瞩目。它能直接操控硬件,执行速度快,是系统软件、嵌入式开发的首选。同时,代码可在不同操作系统和硬件平台间轻松移植,极大节省开发成本。 学习C语言,能让你深入理解计算机底层原理,培养逻辑思维和问题解决能力。掌握C语言后,再学习其他编程语言也会事半功倍。 现在,让我们一起开启C语言学习之旅。这里有丰富教程、实用案例、详细代码解析,助你逐步掌握C语言核心知识和编程技巧。别再犹豫,加入我们,在C语言的海洋中尽情遨游,挖掘无限可能,为未来的编程之路打下坚实基础!

    10个高效调用DeepSeekAPI的技巧:从请求优化到缓存策略.pdf

    在日常的工作和学习中,你是否常常为处理复杂的数据、生成高质量的文本或者进行精准的图像识别而烦恼?DeepSeek 或许就是你一直在寻找的解决方案!它以其高效、智能的特点,在各个行业都展现出了巨大的应用价值。然而,想要充分发挥 DeepSeek 的优势,掌握从入门到精通的知识和技能至关重要。本文将从实际应用的角度出发,为你详细介绍 DeepSeek 的基本原理、操作方法以及高级技巧。通过系统的学习,你将能够轻松地运用 DeepSeek 解决实际问题,提升工作效率和质量,让自己在职场和学术领域脱颖而出。现在,就让我们一起开启这场实用又高效的学习之旅吧!

    基于Python语言的PersonRelationKnowledgeGraph设计源码

    本项目为Python语言开发的PersonRelationKnowledgeGraph设计源码,总计包含49个文件,涵盖19个.pyc字节码文件、12个.py源代码文件、8个.txt文本文件、3个.xml配置文件、3个.png图片文件、2个.md标记文件、1个.iml项目配置文件、1个.cfg配置文件。该源码库旨在构建一个用于表示和查询人物关系的知识图谱系统。

    成本优化指南:通过Token计算模型将API费用降低57%的秘诀.pdf

    在日常的工作和学习中,你是否常常为处理复杂的数据、生成高质量的文本或者进行精准的图像识别而烦恼?DeepSeek 或许就是你一直在寻找的解决方案!它以其高效、智能的特点,在各个行业都展现出了巨大的应用价值。然而,想要充分发挥 DeepSeek 的优势,掌握从入门到精通的知识和技能至关重要。本文将从实际应用的角度出发,为你详细介绍 DeepSeek 的基本原理、操作方法以及高级技巧。通过系统的学习,你将能够轻松地运用 DeepSeek 解决实际问题,提升工作效率和质量,让自己在职场和学术领域脱颖而出。现在,就让我们一起开启这场实用又高效的学习之旅吧!

    大华智能物联平台,的对接其他接口的API,可以获得视频拉流的flv/hls/rstp 的拉流地址,demo项目为springBoot项目,可以通过摄像头的视频通道,获取到实时拉流的uRl

    rtsp实时预览接口URL:/evo-apigw/admin/API/MTS/Video/StartVideo HLS、FLV、RTMP实时预览接口方式 :接口URL/evo-apigw/admin/API/video/stream/realtime 参数名 必选 类型 说明 data true string Json串 +channelId true string 视频通道编码 +streamType true string 码流类型:1=主码流, 2=辅码流,3=辅码流2 +type true string 协议类型:hls,hlss,flv,flvs,ws_flv,wss_flv,rtmp hls:http协议,m3u8格式,端口7086; hlss:https协议,m3u8格式,端口是7096; flv:http协议,flv格式,端口7886; flvs:https协议,flv格式,端口是7896; ws_flv:ws协议,flv格式,端口是7886; wss_flv:wss协议,flv格式,端口是7896; rtmp:rtmp协议,端口是1975;

    Simulink永磁风机飞轮储能系统二次调频技术研究:频率特性分析与参数优化,Simulink永磁风机飞轮储能二次调频技术:系统频率特性详解及参数优化研究参考详实文献及两区域系统应用,simulink

    Simulink永磁风机飞轮储能系统二次调频技术研究:频率特性分析与参数优化,Simulink永磁风机飞轮储能二次调频技术:系统频率特性详解及参数优化研究参考详实文献及两区域系统应用,simulink永磁风机飞轮储能二次调频,系统频率特性如下,可改变调频参数改善频率。 参考文献详细,两区域系统二次调频。 ,核心关键词: 1. Simulink 2. 永磁风机 3. 飞轮储能 4. 二次调频 5. 系统频率特性 6. 调频参数 7. 改善频率 8. 参考文献 9. 两区域系统 以上关键词用分号(;)分隔,结果为:Simulink;永磁风机;飞轮储能;二次调频;系统频率特性;调频参数;改善频率;参考文献;两区域系统。,基于Simulink的永磁风机与飞轮储能系统二次调频研究:频率特性及调频参数优化

    MATLAB驱动的ASR防滑转模型:PID与对照控制算法对比,冰雪路面条件下滑移率与车速轮速对照展示,MATLAB驱动的ASR防滑转模型:PID与对照控制算法对比,冰雪路面条件下滑移率与车速轮速对照图

    MATLAB驱动的ASR防滑转模型:PID与对照控制算法对比,冰雪路面条件下滑移率与车速轮速对照展示,MATLAB驱动的ASR防滑转模型:PID与对照控制算法对比,冰雪路面条件下滑移率与车速轮速对照图展示,MATLAB驱动防滑转模型ASR模型 ASR模型驱动防滑转模型 ?牵引力控制系统模型 选择PID控制算法以及对照控制算法,共两种控制算法,可进行选择。 选择冰路面以及雪路面,共两种路面条件,可进行选择。 控制目标为滑移率0.2,出图显示车速以及轮速对照,出图显示车辆轮胎滑移率。 模型简单,仅供参考。 ,MATLAB; ASR模型; 防滑转模型; 牵引力控制系统模型; PID控制算法; 对照控制算法; 冰路面; 雪路面; 控制目标; 滑移率; 车速; 轮速。,MATLAB驱动的ASR模型:PID与对照算法在冰雪路面的滑移率控制研究

    芯片失效分析方法介绍 -深入解析芯片故障原因及预防措施.pptx

    芯片失效分析方法介绍 -深入解析芯片故障原因及预防措施.pptx

    4131_127989170.html

    4131_127989170.html

    PostgreSQL自动化部署与优化脚本:智能化安装、安全加固与监控集成

    内容概要:本文提供了一个全面的PostgreSQL自动化部署解决方案,涵盖智能环境适应、多平台支持、内存与性能优化以及安全性加强等重要方面。首先介绍了脚本的功能及其调用方法,随后详细阐述了操作系统和依赖软件包的准备过程、配置项的自动生成机制,还包括对实例的安全性和监控功能的强化措施。部署指南给出了具体的命令操作指导,便于新手理解和执行。最后强调了该工具对于不同硬件条件和服务需求的有效应对能力,特别是针对云计算环境下应用的支持特点。 适合人群:对PostgreSQL集群运维有一定基础并渴望提高效率和安全性的数据库管理员及工程师。 使用场景及目标:本脚本能够帮助企业在大规模部署时减少人工介入时间,确保系统的稳定性与高性能,适用于各类需要稳定可靠的数据库解决方案的企业或机构,特别是在大数据量和高并发事务处理场合。 其他说明:文中还提及了一些高级功能如自动备份、流复制等设置步骤,使得该方案不仅可以快速上线而且能满足后续维护和发展阶段的要求。同时提到的技术性能数据也为用户评估其能否满足业务需求提供了直观参考。

    房地产开发合同[示范文本].doc

    房地产开发合同[示范文本].doc

    成本优化实战:DeepSeekAPI的Tokens计算与计费策略拆解.pdf

    在日常的工作和学习中,你是否常常为处理复杂的数据、生成高质量的文本或者进行精准的图像识别而烦恼?DeepSeek 或许就是你一直在寻找的解决方案!它以其高效、智能的特点,在各个行业都展现出了巨大的应用价值。然而,想要充分发挥 DeepSeek 的优势,掌握从入门到精通的知识和技能至关重要。本文将从实际应用的角度出发,为你详细介绍 DeepSeek 的基本原理、操作方法以及高级技巧。通过系统的学习,你将能够轻松地运用 DeepSeek 解决实际问题,提升工作效率和质量,让自己在职场和学术领域脱颖而出。现在,就让我们一起开启这场实用又高效的学习之旅吧!

    安全必读:DeepSeek接口调用中的数据加密与合规实践.pdf

    在日常的工作和学习中,你是否常常为处理复杂的数据、生成高质量的文本或者进行精准的图像识别而烦恼?DeepSeek 或许就是你一直在寻找的解决方案!它以其高效、智能的特点,在各个行业都展现出了巨大的应用价值。然而,想要充分发挥 DeepSeek 的优势,掌握从入门到精通的知识和技能至关重要。本文将从实际应用的角度出发,为你详细介绍 DeepSeek 的基本原理、操作方法以及高级技巧。通过系统的学习,你将能够轻松地运用 DeepSeek 解决实际问题,提升工作效率和质量,让自己在职场和学术领域脱颖而出。现在,就让我们一起开启这场实用又高效的学习之旅吧!

    工程技术承包合同[示范文本].doc

    工程技术承包合同[示范文本].doc

    蓝桥杯开发赛作品源码【基于C语言】

    蓝桥杯开发赛【作品源码】

    深度解析DeepSeek语义分析API:实现情感分析与意图识别的进阶技巧.pdf

    在日常的工作和学习中,你是否常常为处理复杂的数据、生成高质量的文本或者进行精准的图像识别而烦恼?DeepSeek 或许就是你一直在寻找的解决方案!它以其高效、智能的特点,在各个行业都展现出了巨大的应用价值。然而,想要充分发挥 DeepSeek 的优势,掌握从入门到精通的知识和技能至关重要。本文将从实际应用的角度出发,为你详细介绍 DeepSeek 的基本原理、操作方法以及高级技巧。通过系统的学习,你将能够轻松地运用 DeepSeek 解决实际问题,提升工作效率和质量,让自己在职场和学术领域脱颖而出。现在,就让我们一起开启这场实用又高效的学习之旅吧!

    CVPR2023复现技术:多数据集验证下的YOLOX、YOLOv5及YOLOV7检测涨点助力器,CVPR2023复现实验助力检测涨点,验证了YOLOX、YOLOv5及YOLOV7在多个数据集上的有效性

    CVPR2023复现技术:多数据集验证下的YOLOX、YOLOv5及YOLOV7检测涨点助力器,CVPR2023复现实验助力检测涨点,验证了YOLOX、YOLOv5及YOLOV7在多个数据集上的有效性,cvpr2023复现,助力检测涨点,YOLOX YOLOv5 YOLOV7均有效,再多个数据集验证有效 ,cvpr2023复现; 助力检测涨点; YOLOX有效; YOLOv5有效; YOLOV7有效; 多数据集验证有效,CVPR2023复现成功:多模型检测涨点验证有效

Global site tag (gtag.js) - Google Analytics