Skip to content

Commit 09f78c4

Browse files
committed
Add JdbcValue as a simple type.
Closes #1122
1 parent 0388315 commit 09f78c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/mapping/JdbcSimpleTypes.java

+3
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,15 @@
3131
import java.util.Set;
3232
import java.util.UUID;
3333

34+
import org.springframework.data.jdbc.core.convert.JdbcValue;
3435
import org.springframework.data.mapping.model.SimpleTypeHolder;
3536

3637
/**
3738
* Simple constant holder for a {@link SimpleTypeHolder} enriched with specific simple types for relational database
3839
* access.
3940
*
4041
* @author Mark Paluch
42+
* @author Jens Schauder
4143
*/
4244
public abstract class JdbcSimpleTypes {
4345

@@ -67,6 +69,7 @@ public abstract class JdbcSimpleTypes {
6769
simpleTypes.add(Time.class);
6870
simpleTypes.add(Timestamp.class);
6971
simpleTypes.add(UUID.class);
72+
simpleTypes.add(JdbcValue.class);
7073

7174
JDBC_SIMPLE_TYPES = Collections.unmodifiableSet(simpleTypes);
7275
}

0 commit comments

Comments
 (0)