annotations
JPA Annotations for many-to-many relation between objects of the same entity
I want to implement a Role Hierarchy but am rather new to JPA Annotations. I have a Role Entity with a name and an id(implicit via AbstractPersistable):[详细]
2023-04-06 11:54 分类:问答How can I prevent Spring MVC from adding additional attributes to my JSON?
I am using Jackson and a ContentNegotiatingViewResolverto return JSON from Spring controllers. When I define a method in Spring like this[详细]
2023-04-06 09:26 分类:问答How to discover if a method (parameter) in a subclass has an annotation defined in the implemented interface?
Unfortunately it seems that annotation inheritance is severely restricted by the fact that only class-level annotations from classes (and not interfaces) can be inherited.[详细]
2023-04-06 08:48 分类:问答Annotation based transactions not working - spring 3
I am trying to integrate hibernate into my first Spring web-project using annotation-based transactions. However, this does not work, as I notice on a save query not committing.[详细]
2023-04-06 02:04 分类:问答Spring annotated controller bean duplicate in application context
When I define bellow controller in my app context I\'m getting duplicate errors when I try to use it.[详细]
2023-04-06 01:09 分类:问答Where should I apply JPA annotations , getters or fields? [duplicate]
This question already has answers here: Hibernate Annotations - Which is better, field or property access?[详细]
2023-04-05 23:12 分类:问答Usage of @RequestParam throws error in Spring 3
I am using the @RequestParam 开发者_Go百科annotation to get the request parameters , and using the same to insert the values into the DB.[详细]
2023-04-05 22:43 分类:问答<context:component-scan> not picking up my @RequestMappings if handler mappings defined in XML
I\'m using Spring 3.0.5 with <context:component-scan> and @RequestMapping annotations on my controllers. This works, and URLs are registered by the package scan.[详细]
2023-04-05 22:05 分类:问答Any examples of using Spring @ManagedNotification annotation to generate JMX notfications
I\'ve been looking around and haven\'t found any examples of using spring annotations to generate开发者_Go百科 JMX notifications. I have found examples using @ManagedAttribute and @ManagedOperation.[详细]
2023-04-05 21:51 分类:问答JPA - multiple jars defining @Entity objects
We are developing a web application with Spring, Hibernate and Maven in a very modular fashion. There are core projects defining data access and view specific stuff, then there are modules defining lo[详细]
2023-04-05 20:28 分类:问答