Skip to content

issues Search Results · repo:mybatis/mybatis-dynamic-sql language:Java

Filter by

202 results
 (80 ms)

202 results

inmybatis/mybatis-dynamic-sql (press backspace or delete to remove)

for example: SELECT a., b. FROM a INNER JOIN b ON a.field1 b.field2
  • coral-chen
  • 1
  • Opened 
    24 days ago
  • #939

if i want to write sql like this, select id, (select count(*) from sub) as cnt from main where id=? what should i do?
  • luckygc
  • 2
  • Opened 
    on Apr 11
  • #930

code var builder = SqlBuilder.select(selectList) .from(unit) .where(); if (StringUtils.isNotEmpty(form.getCode())) { builder.and(code, SqlBuilder.isEqualTo(Short.valueOf(form.getCode()))); ...
  • lntlky7
  • 3
  • Opened 
    on Mar 5
  • #916

I ve noticed a potential SQL injection vulnerability in the way dynamic columns are handled in the code. Specifically, the use of raw strings for column names without proper escaping or parameterization ...
  • luckygc
  • 3
  • Opened 
    on Feb 17
  • #910

The interface (written in Groovy): interface ViewDb { List DecoderEntry listDecodersByRosterID(List Integer array) List DecoderEntry ListWithCvs(Vector Integer decoderID, List String cvs, Boolean listAll) ...
  • swalton00
  • 1
  • Opened 
    on Jan 28
  • #906

resultMap id= joinMap type= xxx.Main id property= id column= id / collection property= subs ofType= xxx.Sub columnPrefix= sub_ id property= id column= id ...
  • luckygc
  • 2
  • Opened 
    on Jan 24
  • #903

select(MyTable.allColumns()) .from(MyTable) .where(MyTable.id, isEqualTo(1)) .forUpdate(); select(MyTable.allColumns()) .from(MyTable) .where(MyTable.id, isEqualTo(1)) .forUpdate() ...
enhancement
  • luckygc
  • 1
  • Opened 
    on Jan 23
  • #902

This is how I currently implement dynamic insertion ` public static GeneralInsertStatementProvider buildInsert(FormDynamicInsert formDynamicInsert) { SqlTable sqlTable = SqlTable.of(formDynamicInsert.getTableName()); ...
question
  • qichangleixin
  • 1
  • Opened 
    on Jan 20
  • #900

List DynamicSqlDto sqlModelList = new ArrayList (); .... List BasicColumn sqlColumns = sqlModelList.stream().map(DynamicSqlDto::getColumns).flatMap(List::stream) .collect(Collectors.toList()); QueryExpressionDSL ...
question
  • qichangleixin
  • 2
  • Opened 
    on Jan 15
  • #896
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub