Skip to content

Commit

Permalink
HSEARCH-4819 Use the appropriate ORM 6 Dialects in v5 migration helpe…
Browse files Browse the repository at this point in the history
…r tests
  • Loading branch information
marko-bekhta authored and yrodiere committed May 2, 2023
1 parent 2c94004 commit f18bc05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
import org.hibernate.Session;
import org.hibernate.Transaction;

import org.hibernate.dialect.Sybase11Dialect;
import org.hibernate.dialect.SybaseASE15Dialect;
import org.hibernate.dialect.SybaseDialect;
import org.hibernate.search.FullTextQuery;
import org.hibernate.search.FullTextSession;
import org.hibernate.search.Search;
Expand All @@ -41,7 +40,7 @@
public class LobTest extends SearchTestBase {

@Test
@SkipForDialect(value = { SybaseASE15Dialect.class, Sybase11Dialect.class },
@SkipForDialect(value = { SybaseDialect.class },
comment = "Sybase does not support @Lob")
public void testCreateIndexSearchEntityWithLobField() {
// create and index
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import org.apache.lucene.search.Query;
import org.apache.lucene.search.TermQuery;
import org.hibernate.Transaction;
import org.hibernate.dialect.PostgreSQL81Dialect;
import org.hibernate.dialect.PostgreSQLDialect;
import org.hibernate.envers.AuditReader;
import org.hibernate.envers.AuditReaderFactory;
import org.hibernate.envers.query.AuditEntity;
Expand All @@ -36,7 +36,7 @@
*
* @author Davide Di Somma <davide.disomma@gmail.com>
*/
@SkipForDialect(jiraKey = "HSEARCH-1943", value = PostgreSQL81Dialect.class)
@SkipForDialect(jiraKey = "HSEARCH-1943", value = PostgreSQLDialect.class)
@Category(PortedToSearch6.class)
public class SearchAndEnversIntegrationTest extends SearchTestBase {

Expand Down

0 comments on commit f18bc05

Please sign in to comment.