fix character encoding problem

This commit is contained in:
Gavin 2023-01-07 02:57:49 +01:00 committed by Gavin King
parent 54402da721
commit 0db49aa2d5
3 changed files with 6 additions and 6 deletions

View File

@ -15,16 +15,16 @@ import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME; import static java.lang.annotation.RetentionPolicy.RUNTIME;
/** /**
* Specifies that a named query should be used to load an entity, * Specifies that a named query should be used to load an entity or
* overriding the SQL that Hibernate generates by default. * collection, overriding the SQL that Hibernate generates by default.
* *
* @author L<EFBFBD>szl<EFBFBD> Benke * @author László Benke
*/ */
@Target( {TYPE, FIELD, METHOD} ) @Target( {TYPE, FIELD, METHOD} )
@Retention( RUNTIME ) @Retention( RUNTIME )
public @interface Loader { public @interface Loader {
/** /**
* The named query to use for loading the entity. * The named query to use for loading the entity or collection.
*/ */
String namedQuery() default ""; String namedQuery() default "";
} }

View File

@ -13,7 +13,7 @@ package org.hibernate.annotations;
* intended effect, for example, that an {@code UPDATE} statement actually changed * intended effect, for example, that an {@code UPDATE} statement actually changed
* the expected number of rows. * the expected number of rows.
* *
* @author L<EFBFBD>szl<EFBFBD> Benke * @author László Benke
* *
* @see SQLInsert#check() * @see SQLInsert#check()
* @see SQLUpdate#check() * @see SQLUpdate#check()

View File

@ -18,7 +18,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* Specifies a custom SQL DML statement to be used in place of the default SQL generated by * Specifies a custom SQL DML statement to be used in place of the default SQL generated by
* Hibernate when an entire collection is deleted from the database. * Hibernate when an entire collection is deleted from the database.
* *
* @author L<EFBFBD>szl<EFBFBD> Benke * @author László Benke
*/ */
@Target({TYPE, FIELD, METHOD}) @Target({TYPE, FIELD, METHOD})
@Retention(RUNTIME) @Retention(RUNTIME)