V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  cway  ›  全部回复第 3 页 / 共 9 页
回复总数  164
1  2  3  4  5  6  7  8  9  
2020-02-21 18:56:51 +08:00
回复了 qiumaoyuan 创建的主题 Google 有人在国内导航用 Google 地图吗?
不行,导航跟国内导航路线有点不一致,我感觉可能是某些路线未更新。
2020-01-15 14:51:50 +08:00
回复了 cking 创建的主题 Java 外包了一个商城后台管理系统,请问一下 v2er 这个报价多少适合啊
国企的话,报 500w
私企的话,顶多 20w
2020-01-14 10:17:46 +08:00
回复了 Sor 创建的主题 Android 一加 3T
年后千万不要换机!至少要等到中旬,现在换机半年后铁定降千元
今年是 5G 第二年,并且 5G 手机价格会越来越便宜,另外骁龙 865 发布
何不在等等
告诉别人自己是打字员
2020-01-13 10:39:30 +08:00
回复了 freelancher 创建的主题 程序员 现学一门编程语言例如 Java 或者 GO。要多久?
一周吧,有基础
2020-01-11 12:43:37 +08:00
回复了 Lancerer 创建的主题 程序员 2020 年了,还有人用 WebService 吗?
很多 SAP ERP 系统都还是用 WebService 呢
国企最多
2019-09-23 15:58:05 +08:00
回复了 ckizey 创建的主题 程序员 转让一台阿里云的服务器
两年,你知道猪肉涨到多少钱了么?
2019-08-08 10:37:42 +08:00
回复了 cway 创建的主题 程序员 MyBatis 有问<if test="param!=null">问题
加了几个条件又进去了,晚上下班回去研究下这个问题
2019-08-08 10:30:01 +08:00
回复了 cway 创建的主题 程序员 MyBatis 有问<if test="param!=null">问题
@mosesyou 如果空格不是 null 应该会进去以上这个条件呀!

然后我又发现如果 if test="param!=null||param!=‘’ " 。

这个条件反而能进来,这样就奇怪了,空格是区别于 null 的单独的存在嘛,空格虽然不是 null 但也不会进!=null 的条件
2019-07-17 18:11:34 +08:00
回复了 cway 创建的主题 程序员 关于 ssm 框架 mybatis 更新数据库出错问题,大佬们帮解答下
@msaionyc
java.sql.SQLException: 内部错误
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2921)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2151)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3280)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:2931)
org.springframework.jdbc.UncategorizedSQLException:
at com.alibaba.druid.filter.FilterAdapter.preparedStatement_execute(FilterAdapter.java:1058)
### Error updating database. Cause: java.sql.SQLException: 内部错误
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:2929)
### The error may involve defaultParameterMap
at com.alibaba.druid.filter.FilterEventAdapter.preparedStatement_execute(FilterEventAdapter.java:440)
### The error occurred while setting parameters
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:2929)
### SQL: update BIAO set A= ? where ID=?
at com.alibaba.druid.filter.FilterEventAdapter.preparedStatement_execute(FilterEventAdapter.java:440)
### Cause: java.sql.SQLException: 内部错误
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:2929)
; uncategorized SQLException for SQL []; SQL state [null]; error code [17089]; 内部错误; nested exception is java.sql.SQLException: 内部错误
at com.alibaba.druid.proxy.jdbc.PreparedStatementProxyImpl.execute(PreparedStatementProxyImpl.java:131)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:84)
at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:493)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.proxy.$Proxy19.update(Unknown Source)
at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:62)
at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:254)
at com.sun.proxy.$Proxy134.execute(Unknown Source)
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:54)
at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:44)
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:69)
at com.sun.proxy.$Proxy39.changePlant(Unknown Source)
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:48)

at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:105)

at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:152)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:175)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
at com.sun.proxy.$Proxy19.update(Unknown Source)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)
at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:254)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:54)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)
at com.sun.proxy.$Proxy39.changePlant(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:175)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.tomcat.util.net.AprEndpoint$Soc
2019-07-17 17:42:59 +08:00
回复了 cway 创建的主题 程序员 关于 ssm 框架 mybatis 更新数据库出错问题,大佬们帮解答下
@brucewuio 之后传正确值也都报内部错误

java.sql.SQLException: 内部错误
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2921)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2151)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3280)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:2931)
at com.alibaba.druid.filter.FilterAdapter.preparedStatement_execute(FilterAdapter.java:1058)
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:2929)
org.springframework.jdbc.UncategorizedSQLException:
at com.alibaba.druid.filter.FilterEventAdapter.preparedStatement_execute(FilterEventAdapter.java:440)
2019-07-17 17:40:27 +08:00
回复了 cway 创建的主题 程序员 关于 ssm 框架 mybatis 更新数据库出错问题,大佬们帮解答下
@brucewuio 2019-07-17 17:38:31,867 ERROR [druid.sql.Statement] - {conn-10001, pstmt-20001} execute error. update biao
set a = ?
where
id=?
java.sql.SQLException: ORA-12899: 列 "biao.a" 的值太大 (实际值: 5, 最大值: 4)
2019-07-17 16:58:13 +08:00
回复了 cway 创建的主题 程序员 一个炒鸡简单的 SQL 为什么执行没返回结果??
首先感谢大家 回去我测试了下 @az402
@Coande
@congeec 跟条件貌似没关系,单引号也是没影响,只是发现用非日期字符串例如非 yyyy-MM-dd 之类的字符串识别不了,虽然<=2012 但是返回值把所有记录全返回了。但是<='2012-12-31'就没问题
@watzds 也不是瞎写的,去掉转义符跟外面引号肯定可以,mybatis plus 中 gt 条件传 Date 类型数据会自动转成这种带转义的形式,后来我直接传字符串了
@tomczhen
@Juszoe 亲自试验下会发现 time <= '2018-02-01' 这种也是可以的 之前我也怀疑,
@skull @littlewing 感谢
技校毕业在富士康干了两年……
2019-07-05 08:40:42 +08:00
回复了 cway 创建的主题 Java mybatis plus 报错求助 百度没百到求助
@jinue9900 明显不是,是导 jar 包的 ssm 工程,虽然落后了点但是只能这样
@MotherShip 所以不知道什么问题呀
2019-07-03 17:18:58 +08:00
回复了 cway 创建的主题 Java mybatis plus 报错求助 百度没百到求助
@dovme 都加了,Mapper 中也加了 @Mapper 注解

@fooving baseMapper 是 mybatis plus 自己的代码吧

@wc951 就是不知道哪里出错了呀

发现个奇怪的问题,我用 SpringBoot 用之前代码没问题,,但是我换成普通 lib 中放 jar 形式的项目就不行,同样的代码。
2019-07-02 08:46:32 +08:00
回复了 cway 创建的主题 程序员 Mybatis Plus 可以不用 maven 用普通 jar 包形式使用么?
@shangfabao 但是为什么我看别人依赖只导入了 mybatis-plus 的依赖,其他的都没导,是有什么神奇的操作么
1  2  3  4  5  6  7  8  9  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2854 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 12:17 · PVG 20:17 · LAX 04:17 · JFK 07:17
Developed with CodeLauncher
♥ Do have faith in what you're doing.