correct unmappable non-utf-8 characters

This commit is contained in:
Strong Liu 2011-09-15 22:45:08 +08:00
parent 1e1a6ebe04
commit 50db873e2c
3 changed files with 5 additions and 7 deletions

View File

@ -57,9 +57,9 @@ import org.hibernate.sql.JoinFragment;
import org.hibernate.type.StandardBasicTypes;
/**
* Cach&eacute; 2007.1 dialect. This class is required in order to use Hibernate with Intersystems Cach<EFBFBD> SQL.<br>
* Cach&eacute; 2007.1 dialect. This class is required in order to use Hibernate with Intersystems Cach&eacute; SQL.<br>
* <br>
* Compatible with Cach<EFBFBD> 2007.1.
* Compatible with Cach&eacute; 2007.1.
* <br>
* <head>
* <title>Cach&eacute; and Hibernate</title>
@ -214,8 +214,8 @@ import org.hibernate.type.StandardBasicTypes;
public class Cache71Dialect extends Dialect {
/**
* Creates new <code>Cach<EFBFBD>71Dialect</code> instance. Sets up the JDBC /
* Cach<EFBFBD> type mappings.
* Creates new <code>Cache71Dialect</code> instance. Sets up the JDBC /
* Cach&eacute; type mappings.
*/
public Cache71Dialect() {
super();

View File

@ -30,7 +30,7 @@ import org.hibernate.type.StandardBasicTypes;
/**
* An Hibernate 3 SQL dialect for Mimer SQL. This dialect requires Mimer SQL 9.2.1 or later
* because of the mappings to NCLOB, BINARY, and BINARY VARYING.
* @author Fredrik <EFBFBD>lund <fredrik.alund@mimer.se>
* @author Fredrik lund <fredrik.alund@mimer.se>
*/
public class MimerSQLDialect extends Dialect {

View File

@ -135,8 +135,6 @@ class EntityMocker extends AbstractEntityObjectMocker {
}
protected AccessType getAccessFromIndex(DotName className) {
//todo 这里实际上不应该从getIndexedAnnotations获取而是应该先处理完所有的entitymapped-superclass先不处理attributes呢
//然后获取这个
Map<DotName, List<AnnotationInstance>> indexedAnnotations = indexBuilder.getIndexedAnnotations( className );
List<AnnotationInstance> accessAnnotationInstances = indexedAnnotations.get( ACCESS );
if ( MockHelper.isNotEmpty( accessAnnotationInstances ) ) {