java下main,dao,model,service,impl,util包名含义

本文介绍了DAO层如何实现对数据库的基本操作,包括增删改查等,并解释了Model层作为JavaBean对象的作用,同时探讨了Service层如何对外提供统一的服务接口。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

dao 与数据库的操作,增删改查等方法
model 一般都是javabean对象,例如与数据库的某个表相关联。
service 供外部调用,等于对dao,model等进行了包装。
impl 定义的接口
util 通常都是工具类,如字符串处理、日期处理等
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.jdyx.xxl.job.core.common.dao.XxlJobHandlerDao.findByJobName at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:229) at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.<init>(MybatisMapperMethod.java:50) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.lambda$cachedInvoker$0(MybatisMapperProxy.java:111) at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708) at com.baomidou.mybatisplus.core.toolkit.CollectionUtils.computeIfAbsent(CollectionUtils.java:157) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.cachedInvoker(MybatisMapperProxy.java:98) at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89) at jdk.proxy2/jdk.proxy2.$Proxy443.findByJobName(Unknown Source) at com.jdyx.xxl.job.core.common.service.impl.XxlJobHandlerServiceImpl.saveOrUpdateJob(XxlJobHandlerServiceImpl.java:35) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at com.jdyx.xxl.job.core.common.service.impl.XxlJobHandlerServiceImpl.saveAllJobs(XxlJobHandlerServiceImpl.java:90) at com.jdyx.xxl.job.core.common.service.impl.XxlJobHandlerServiceImpl$$FastClassBySpringCGLIB$$199c5b82.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708) at com.jdyx.xxl.job.core.common.service.impl.XxlJobHandlerServiceImpl$$EnhancerBySpringCGLIB$$e53d3ef2.saveAllJobs(<generated>) at com.jdyx.xxl.job.core.config.XxlJobScanner.persistJobs(XxlJobScanner.java:76) at com.jdyx.xxl.job.core.config.XxlJobScanner.scanAndPrintJobs(XxlJobScanner.java:65) at com.jdyx.xxl.job.core.config.XxlJobScannerStarter.run(XxlJobScannerStarter.java:42) at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:759) at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:749) at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) at com.jdyx.PropertyInsuranceApplication.main(PropertyInsuranceApplication.java:23) 报错
最新发布
07-16
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值