Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
landawn committed Jun 23, 2022
1 parent a68cd91 commit e3452b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/com/landawn/abacus/util/QueryUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import com.landawn.abacus.annotation.Id;
import com.landawn.abacus.annotation.Immutable;
import com.landawn.abacus.annotation.Internal;
import com.landawn.abacus.annotation.NotColumn;
import com.landawn.abacus.annotation.ReadOnlyId;
import com.landawn.abacus.parser.ParserUtil;
import com.landawn.abacus.parser.ParserUtil.EntityInfo;
Expand Down Expand Up @@ -153,6 +154,10 @@ static ImmutableMap<String, String> registerEntityPropColumnNameMap(final Class<
Map<String, String> propColumnNameMap = N.newHashMap(entityInfo.propInfoList.size() * 2);

for (PropInfo propInfo : entityInfo.propInfoList) {
if (propInfo.isTransient || propInfo.isAnnotationPresent(NotColumn.class)) {
continue;
}

if (propInfo.columnName.isPresent()) {
propColumnNameMap.put(propInfo.name, propInfo.columnName.get());
} else {
Expand Down

0 comments on commit e3452b4

Please sign in to comment.