-
Sep 28th, 2011, 09:13 AM
#1
Returning JPA annotated object is slow
Hi,
I use flex 4.5, BlazeDS 4 and Spring-flex 1.5.
When I try to return objects annotated with javax.persistence.*, Spring converts the object values:
11:33:00:819 - DEBUG - ? - Actual type of value for property 'testing' on instance com.test.TestClass@299e299e is class java.lang.String
11:33:00:826 - DEBUG - ? - Converting value 'valueTest' of java.lang.String to @javax.persistence.Column java.lang.String
11:33:00:830 - DEBUG - ? - Converted to 'valueTest'
---
So when many objects with many annotated variables are returned the response time is way too slow. If I create an object without the javax.persistence.* annotations and copy all the values to this class before returning, everything works as it should. Can someone explain why this happens?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules