Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HHH-12368 - java.sql.SQLFeatureNotSupportedException in LobCreatorBui…
…lderImpl
- Loading branch information
1 parent
e9e6b05
commit a513862
Showing
8 changed files
with
80 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
...e-core/src/test/java/org/hibernate/engine/jdbc/env/internal/LobCreationCheckSkipTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* Hibernate, Relational Persistence for Idiomatic Java | ||
* | ||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later. | ||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. | ||
*/ | ||
package org.hibernate.engine.jdbc.env.internal; | ||
|
||
import org.hibernate.internal.CoreMessageLogger; | ||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase; | ||
|
||
import org.hibernate.testing.logger.LoggerInspectionRule; | ||
import org.hibernate.testing.logger.Triggerable; | ||
import org.junit.Rule; | ||
import org.junit.Test; | ||
|
||
import org.jboss.logging.Logger; | ||
|
||
import static org.junit.Assert.assertFalse; | ||
|
||
/** | ||
* @author Vlad Mihalcea | ||
*/ | ||
public class LobCreationCheckSkipTest extends BaseEntityManagerFunctionalTestCase { | ||
|
||
@Rule | ||
public LoggerInspectionRule logInspection = new LoggerInspectionRule( | ||
Logger.getMessageLogger( CoreMessageLogger.class, LobCreatorBuilderImpl.class.getName() | ||
) ); | ||
|
||
private Triggerable triggerable = logInspection.watchForLogMessages( "HHH000424:" ); | ||
|
||
@Test | ||
public void test() { | ||
assertFalse(triggerable.wasTriggered()); | ||
} | ||
} |