We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 594edf4 commit 3ddcb1eCopy full SHA for 3ddcb1e
src/main/java/org/javawebstack/orm/SQLType.java
@@ -3,20 +3,21 @@
3
import java.sql.Date;
4
import java.sql.Timestamp;
5
6
+// The class passed as constructor determines
7
public enum SQLType {
8
9
// Divided by category and ordered by byte size (MySQL sizes)
10
TINYINT(Boolean.class),
11
SMALLINT(Short.class),
- // Not in use for any java data type
12
- //MEDIUMINT(),
+ MEDIUMINT(Integer.class),
13
INT(Integer.class),
14
BIGINT(Long.class),
15
16
FLOAT(Float.class),
17
DOUBLE(Double.class),
18
19
- CHAR(char.class),
+ // No native char method except for a char stream
20
+ CHAR(String.class),
21
VARCHAR(String.class),
22
TEXT(String.class),
23
0 commit comments