DATACMNS-547 - @TypeAlias is now @Persistent.

For @TypeAlias annotated types being picked up using entity scanning, the annotation is now @Persistent.

Related tickets: DATAMONGO-992.
This commit is contained in:
Oliver Gierke
2014-07-24 14:08:30 +02:00
parent ba70380555
commit 3bcf6f3f27
2 changed files with 53 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011 by the original author(s).
* Copyright 2011-2014 by the original author(s).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -34,6 +34,7 @@ import org.springframework.data.mapping.PersistentEntity;
@Inherited
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Persistent
public @interface TypeAlias {
/**