This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Entity Bean hangs while fetching database table column having large size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Entity Bean hangs while fetching database table column having large size" Watch "Entity Bean hangs while fetching database table column having large size" New topic
Author

Entity Bean hangs while fetching database table column having large size

swap Inam
Ranch Hand

Joined: Sep 28, 2002
Posts: 37
Hi All

New to the EJB's.

Here is the scenario :

Entity Bean (BMT) fetches a 'postgres' database column of type 'bytea'.
If the record size is large say 20MB, it hangs in the fetch.
If the record size is small say 2MB, it works fine.

I guess this is a common scenario already faced by many.

Could I have the possible solutions.

When it hangs while fetching,
[1] is there any way of debugging the same.....
[2] is there any setting for timeout, size in bytes to be fetched...any other setting...

Please let me know if any information is missing from the scenario (using jboss container) ...

Thanks in advance.
swap Inam
Ranch Hand

Joined: Sep 28, 2002
Posts: 37
Hi All,

Could anybody please provide any help on this......

Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Entity Bean hangs while fetching database table column having large size
 
Similar Threads
Transactions between DAO and Entity Bean
How can I set my own table row key for Trinidad's table tag?
How can I set my own table row key for Trinidad's table tag?
session.clear when to use
Database synchronization with Entity Bean