Skip to content

Commit bc6c1cb

Browse files
Add test for character
1 parent 1c71284 commit bc6c1cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/test/java/org/javawebstack/orm/test/TypesTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import org.javawebstack.orm.exception.ORMConfigurationException;
99
import org.junit.jupiter.api.Test;
1010

11-
import javax.swing.text.TabSet;
1211
import java.sql.Timestamp;
1312
import java.time.Instant;
1413

@@ -41,6 +40,8 @@ public void testFields() throws ORMConfigurationException {
4140
model.exampleBoolean = true;
4241

4342
model.timestampTest = timestamp;
43+
44+
model.exampleCharPrimitive = 'C';
4445
model.save();
4546

4647
int id = model.id;
@@ -112,6 +113,9 @@ public static class ExampleModel extends Model {
112113
@Column
113114
public Timestamp timestampTest;
114115

116+
@Column
117+
public char exampleCharPrimitive;
118+
115119
public enum Type {
116120
ADMIN, USER, GUEST
117121
}

0 commit comments

Comments
 (0)