- Defines size to lazy load a collection of annotated entities.- Specifies an association using a join table.- References joining columns of owning side of or relationships to be the primary key of referencing and referenced entities.- Indicates a column for joining entities in or relationships at the owning side or unidirectional - Indicates 1:1 relationship.- Indicates N:1 relationship, the entity containing annotated field has a single relation to an entity of other class, but the other class has multiple relations.- Annotated field contains the timestamp when an entity was updated last time.- Annotated field contains the timestamp when an entity was stored for the first time.- Overrides the default mapping of a field.- Marks annotated property as a composite key mapped by an embeddable class.- Instances of an annotated class are stored as part of an entity.- Annotated field is instantiated as a value of an Embeddable class.- EntityManger is injected into annotated setters and fields.- Provides additional configuration for an entity, e.g.- Provides additional configuration for a field, e.g.- Provides generation strategy of primary keys.- Marks annotated field as a primary key of an entity.- Enables annotation-driven transaction declaration - Annotated methods will be executed in a transactional manner.- Allows defining SQL scripts and statements to be executed before and after tests.- Defines which active bean definition should be loaded when initializing the test application context.- Indicates that annotated tests dirty the application context and will be cleaned after each test.- Combines and - Defines the location of property files used in integration tests.- Defines extensions to execute the tests with, e.g.- Defines to load application context for integration test.- Defines the annotated field as a mock.- Marks annotated field as a mock and loads it as a bean into the application context.- Annotated class will load only the JPA components.- Annotated test class will load only the web layer (service and data layer are ignored).- Annotated test class will load the entire application context for integration tests.- Enables auto-configuration of jpa repositories.- Combination of and - Configures base packages to scan for entity classes.- Provides external binding of key value properties.- Indicates Spring Boot application - Enables application context auto-configuration to provide possibly needed beans based on the classpath.- Specifies the name of a bean as an additional condition to identify a unique candidate for autowiring.- Beans are injected into annotated setters, fields, or constructor params.Annotated bean is created only if conditions are satisfied.- Annotated bean will be picked if multiple beans can be autowired.- Defines sorting order if injecting a list of beans, but it does not resolve the priority if only a single bean is expected.- Explicitly defines a dependency to other beans in terms of creation order.- Indicates that beans will be only initialized if the defined profiles are active.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |