Posts by melpin • 106 points
4 posts
- 
		3 votes2 answers4675 viewsQ: Exception Treatment REST Spring ServicesIn a REST service application with Spring, where should the exception handling/release take place? In the Controller or Service? Example 1 - Handle in Controller (In this case I’m only returning a… 
- 
		3 votes2 answers1959 viewsA: Call Stored Procedure with JPA 2.0Running Store Procedure on JPA 2.0 is not possible through ready methods, as you can see at this link. JPA 2.0 does not have any direct support for stored procedures. What you can do is try to run… 
- 
		1 votes2 answers164 viewsA: Quivalent method to array_diff() in JAVAYou can use the library Commons Collections the method removeAll class Collectionutils removing the elements of one array from another, thus: List<String> arrExclusion = Arrays.asList("as",… 
- 
		2 votes3 answers404 views