0.9.2
Retorna o null correto
This commit is contained in:
parent
e561389192
commit
682c4a1e65
2 changed files with 2 additions and 1 deletions
2
pom.xml
2
pom.xml
|
|
@ -3,7 +3,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>net.sf</groupId>
|
||||
<artifactId>jeasyorm</artifactId>
|
||||
<version>0.9.1</version>
|
||||
<version>0.9.2</version>
|
||||
<packaging>jar</packaging>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@ public abstract class AbstractEntityManager extends EntityManager {
|
|||
}
|
||||
try {
|
||||
Object v = getValue(rs, index, fi.getType(), sqlType);
|
||||
if (rs.wasNull()){v=null;}
|
||||
set(o, fi, v);
|
||||
} catch (RuntimeSQLException e) {
|
||||
throw new RuntimeSQLException("Can't read column '" + columnName + "'", e);
|
||||
|
|
|
|||
Loading…
Reference in a new issue