There are plenty of questions and answers about how to disable it when it is causing an error, but what does this feature do exactly?
Asked
Active
Viewed 900 times
2
-
What is the source of that term? – Mark Rotteveel Jun 03 '19 at 11:17
-
@MarkRotteveel - It appears to be a Hibernate thing. "Contextual LOB creation" is probably using `createClob` (or similar) within a [contextual session](https://docs.jboss.org/hibernate/stable/core.old/reference/en/html/architecture-current-session.html). – Gord Thompson Jun 03 '19 at 16:06
-
@GordThompson I think so too, but the OP should clarify what he means or in what context he read it, because looking at JDBC itself, it is not a JDBC term and so it doesn't really mean anything "in JDBC". – Mark Rotteveel Jun 03 '19 at 16:16
1 Answers
0
Have you check this post: Disabling contextual LOB creation as createClob() method threw error
There you can fond the source comments
Basically here we are simply checking whether we can call the java.sql.Connection methods for LOB creation added in JDBC 4. We not only check whether the java.sql.Connection declares these methods, but also whether the actual java.sql.Connection instance implements them (i.e. can be called without simply throwing an exception).

Butiri Dan
- 1,759
- 5
- 12
- 18
-
The question is not how to disable it but what that feature _is_? I know what are C/B/LOBs (Large Objects), but what is contextual lob creation? – Gaus1995 Jun 04 '19 at 15:33