mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-28 06:49:09 +00:00
ANN-817 : 8-bit characters in string values cause unit test failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16288 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
bffe7ec6e9
commit
0dd8cf112f
@ -20,7 +20,7 @@ public void testManyToOne() throws Exception {
|
||||
Postman pm = new Postman( "Bob", "A01" );
|
||||
House house = new House();
|
||||
house.setPostman( pm );
|
||||
house.setAddress( "Rue des prés" );
|
||||
house.setAddress( "Rue des pres" );
|
||||
s.persist( pm );
|
||||
s.persist( house );
|
||||
tx.commit();
|
||||
|
@ -10,7 +10,7 @@
|
||||
public class TuplizerTest extends TestCase {
|
||||
public void testEntityTuplizer() throws Exception {
|
||||
Cuisine cuisine = ProxyHelper.newCuisineProxy( null );
|
||||
cuisine.setName( "Française" );
|
||||
cuisine.setName( "Francaise" );
|
||||
Country country = ProxyHelper.newCountryProxy( null );
|
||||
country.setName( "France" );
|
||||
cuisine.setCountry( country );
|
||||
@ -21,7 +21,7 @@ public void testEntityTuplizer() throws Exception {
|
||||
s.clear();
|
||||
cuisine = (Cuisine) s.get(Cuisine.class, cuisine.getId() );
|
||||
assertNotNull( cuisine );
|
||||
assertEquals( "Française", cuisine.getName() );
|
||||
assertEquals( "Francaise", cuisine.getName() );
|
||||
assertEquals( "France", country.getName() );
|
||||
s.getTransaction().rollback();
|
||||
s.close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user