HHH-7919 : Miscellaneous bugfixes

This commit is contained in:
Strong Liu 2013-05-31 15:20:57 -07:00
parent eb9f0beeef
commit cdfdbf4a45
3 changed files with 1 additions and 7 deletions

View File

@ -163,7 +163,7 @@ public class SqlResultSetProcessor {
);
for ( final FieldResult fieldResult : fieldResultList ) {
insert( StringHelper.root( fieldResult.name ), fieldResult.column, propertyResults );
insert( fieldResult.column, StringHelper.root( fieldResult.name ), propertyResults );
}
final NativeSQLQueryRootReturn result = new NativeSQLQueryRootReturn(

View File

@ -159,7 +159,6 @@ public class QueryAndSQLTest extends BaseCoreFunctionalTestCase {
}
@Test
@FailureExpectedWithNewMetamodel
public void testSQLQuery() {
Night n = new Night();
Calendar c = new GregorianCalendar();
@ -218,7 +217,6 @@ public class QueryAndSQLTest extends BaseCoreFunctionalTestCase {
}
@Test
@FailureExpectedWithNewMetamodel
public void testSQLQueryWithManyToOne() {
cleanupCache();
Night n = new Night();

View File

@ -23,7 +23,6 @@
*/
package org.hibernate.jpa.test.query;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
@ -43,7 +42,6 @@ import org.hibernate.jpa.test.Distributor;
import org.hibernate.jpa.test.Item;
import org.hibernate.jpa.test.Wallet;
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
import org.hibernate.testing.TestForIssue;
import static org.junit.Assert.assertEquals;
@ -312,7 +310,6 @@ public class QueryTest extends BaseEntityManagerFunctionalTestCase {
}
@Test
@FailureExpectedWithNewMetamodel
public void testNativeQueryByResultSet() {
Item item = new Item( "Mouse", "Micro$oft mouse" );
@ -603,7 +600,6 @@ public class QueryTest extends BaseEntityManagerFunctionalTestCase {
}
@Test
@FailureExpectedWithNewMetamodel
public void testTypedNamedNativeQuery() {
Item item = new Item( "Mouse", "Micro$oft mouse" );