You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/03/12 09:22:13 UTC

[GitHub] [incubator-shardingsphere] phoema opened a new issue #4728: select * from ACT_GE_PROPERTY where NAME_ = ? have

phoema opened a new issue #4728: select * from ACT_GE_PROPERTY where NAME_ = ?  have 
URL: https://github.com/apache/incubator-shardingsphere/issues/4728
 
 
   ## Bug Report
   newest of branch master
   5.0.0-RC1-SNAPSHOT
   
   I get the newest source code of master branch
   and get a error like this:
   
   
   2020-03-12 16:41:14,171 DEBUG (BaseJdbcLogger.java:143)- ==>  Preparing: select * from ACT_GE_PROPERTY where NAME_ = ? 
   2020-03-12 16:41:14,171 DEBUG (BaseJdbcLogger.java:143)- ==> Parameters: cfg.execution-related-entities-count(String)
   2020-03-12 16:41:14,172 DEBUG (HintShardingStrategy.java:15)- shardingValue=HintShardingValue(logicTableName=ACT_GE_PROPERTY, columnName=, values=[master])
   2020-03-12 16:41:14,172 DEBUG (HintShardingStrategy.java:16)- availableTargetNames=[master]
   2020-03-12 16:41:14,173 DEBUG (HintShardingStrategy.java:27)- doSharding=[master]
   2020-03-12 16:41:14,173 INFO (ShardingSQLLogger.java:75)- Rule Type: sharding
   2020-03-12 16:41:14,173 INFO (ShardingSQLLogger.java:75)- Logic SQL: select * from ACT_GE_PROPERTY where NAME_ = ?
   2020-03-12 16:41:14,173 INFO (ShardingSQLLogger.java:75)- SQLStatement: SelectStatementContext(super=CommonSQLStatementContext(sqlStatement=org.apache.shardingsphere.sql.parser.sql.statement.dml.SelectStatement@c1bcea1, tablesContext=org.apache.shardingsphere.sql.parser.binder.segment.table.TablesContext@7bbab46e), tablesContext=org.apache.shardingsphere.sql.parser.binder.segment.table.TablesContext@7bbab46e, projectionsContext=ProjectionsContext(startIndex=7, stopIndex=7, distinctRow=false, projections=[ShorthandProjection(owner=Optional.empty, actualColumns=[])]), groupByContext=org.apache.shardingsphere.sql.parser.binder.segment.select.groupby.GroupByContext@4beec7a1, orderByContext=org.apache.shardingsphere.sql.parser.binder.segment.select.orderby.OrderByContext@71cdde0c, paginationContext=org.apache.shardingsphere.sql.parser.binder.segment.select.pagination.PaginationContext@23f16852, containsSubquery=false)
   2020-03-12 16:41:14,173 INFO (ShardingSQLLogger.java:75)- Actual SQL: master ::: select * from ACT_GE_PROPERTY where NAME_ = ? ::: [cfg.execution-related-entities-count]
   
    [cfg.execution-related-entities-count] is Array Mode?
   in mybatis 
   ![image](https://user-images.githubusercontent.com/8730272/76506298-eabe7600-6485-11ea-81de-fb44102db399.png)
   
   but I want it is String.
   
   
   my sql
   sql:
   select * from ACT_GE_PROPERTY where NAME_ = ?
   Parameters: cfg.execution-related-entities-count(String)
   
   2020-03-12 16:41:14,173 INFO (ShardingSQLLogger.java:75)- Actual SQL: master ::: select * from ACT_GE_PROPERTY where NAME_ = ? ::: [cfg.execution-related-entities-count]
   
   ![image](https://user-images.githubusercontent.com/8730272/76503566-11c67900-6481-11ea-8618-70b082b6ef97.png)
   
   
   before i get the newest source code
   i work with node 【7b88d20d0891ee2f484c8082df56caea1d7a5a0f】 of 2020-03-06
   it works well
   
   may be some error in new code?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] phoema commented on issue #4728: Single String Parameter change Array Parameters

Posted by GitBox <gi...@apache.org>.
phoema commented on issue #4728: Single String Parameter change Array Parameters
URL: https://github.com/apache/incubator-shardingsphere/issues/4728#issuecomment-598527144
 
 
   Please Close this issue.
   maybe I would try it more.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] terrymanu commented on issue #4728: select * from ACT_GE_PROPERTY where NAME_ = ? have

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #4728: select * from ACT_GE_PROPERTY where NAME_ = ?  have 
URL: https://github.com/apache/incubator-shardingsphere/issues/4728#issuecomment-598246661
 
 
   Can you change the title as a easy unstringing sentence for search friendly?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] phoema closed issue #4728: Single String Parameter change Array Parameters

Posted by GitBox <gi...@apache.org>.
phoema closed issue #4728: Single String Parameter change Array Parameters
URL: https://github.com/apache/incubator-shardingsphere/issues/4728
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services