correct unmappable non-utf-8 characters
This commit is contained in:
parent
1e1a6ebe04
commit
50db873e2c
|
@ -57,9 +57,9 @@ import org.hibernate.sql.JoinFragment;
|
||||||
import org.hibernate.type.StandardBasicTypes;
|
import org.hibernate.type.StandardBasicTypes;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Caché 2007.1 dialect. This class is required in order to use Hibernate with Intersystems Cach<EFBFBD> SQL.<br>
|
* Caché 2007.1 dialect. This class is required in order to use Hibernate with Intersystems Caché SQL.<br>
|
||||||
* <br>
|
* <br>
|
||||||
* Compatible with Cach<EFBFBD> 2007.1.
|
* Compatible with Caché 2007.1.
|
||||||
* <br>
|
* <br>
|
||||||
* <head>
|
* <head>
|
||||||
* <title>Caché and Hibernate</title>
|
* <title>Caché and Hibernate</title>
|
||||||
|
@ -214,8 +214,8 @@ import org.hibernate.type.StandardBasicTypes;
|
||||||
public class Cache71Dialect extends Dialect {
|
public class Cache71Dialect extends Dialect {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates new <code>Cach<EFBFBD>71Dialect</code> instance. Sets up the JDBC /
|
* Creates new <code>Cache71Dialect</code> instance. Sets up the JDBC /
|
||||||
* Cach<EFBFBD> type mappings.
|
* Caché type mappings.
|
||||||
*/
|
*/
|
||||||
public Cache71Dialect() {
|
public Cache71Dialect() {
|
||||||
super();
|
super();
|
||||||
|
|
|
@ -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
|
* 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.
|
* 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 {
|
public class MimerSQLDialect extends Dialect {
|
||||||
|
|
||||||
|
|
|
@ -135,8 +135,6 @@ class EntityMocker extends AbstractEntityObjectMocker {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected AccessType getAccessFromIndex(DotName className) {
|
protected AccessType getAccessFromIndex(DotName className) {
|
||||||
//todo 这里实际上不应该从getIndexedAnnotations获取,而是应该先处理完所有的entity,mapped-superclass,先不处理attributes呢
|
|
||||||
//然后获取这个
|
|
||||||
Map<DotName, List<AnnotationInstance>> indexedAnnotations = indexBuilder.getIndexedAnnotations( className );
|
Map<DotName, List<AnnotationInstance>> indexedAnnotations = indexBuilder.getIndexedAnnotations( className );
|
||||||
List<AnnotationInstance> accessAnnotationInstances = indexedAnnotations.get( ACCESS );
|
List<AnnotationInstance> accessAnnotationInstances = indexedAnnotations.get( ACCESS );
|
||||||
if ( MockHelper.isNotEmpty( accessAnnotationInstances ) ) {
|
if ( MockHelper.isNotEmpty( accessAnnotationInstances ) ) {
|
||||||
|
|
Loading…
Reference in New Issue