mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-27 22:39:13 +00:00
This commit is contained in:
parent
ccc88e9ad4
commit
8fef9c4de4
@ -0,0 +1,29 @@
|
||||
/*
|
||||
* 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.orm.test.query.hql;
|
||||
|
||||
import org.hibernate.testing.orm.junit.DomainModel;
|
||||
import org.hibernate.testing.orm.junit.JiraKey;
|
||||
import org.hibernate.testing.orm.junit.SessionFactory;
|
||||
import org.hibernate.testing.orm.junit.SessionFactoryScope;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import in.from.Any;
|
||||
|
||||
@DomainModel( annotatedClasses = Any.class )
|
||||
@SessionFactory
|
||||
@JiraKey( "HHH-11784" )
|
||||
public class FunnyNamesTests {
|
||||
@Test
|
||||
public void basicTest(SessionFactoryScope scope) {
|
||||
scope.inTransaction( (session) -> {
|
||||
session.createQuery( "from Any" ).list();
|
||||
session.createQuery( "from in.from.Any" ).list();
|
||||
} );
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user