aspose file tools*
The moose likes JDBC and the fly likes can we serializable? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "can we serializable?" Watch "can we serializable?" New topic
Author

can we serializable?

vijay mahendra
Ranch Hand

Joined: Jan 01, 2007
Posts: 51
hi ,

can we serialazable java.sql.Connection ?
Is there any possibility?

Plese give reply .

Thanks to all.
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
Originally posted by vijay mahendra:
hi ,

can we serialazable java.sql.Connection ?
Is there any possibility?

Plese give reply .

Thanks to all.


No Possibility , it holds a live network connection with your database.

If you want to save time of making a connection by deserializing. Then use connection pool.In that case when you close a connection it would go back to the pool and again from pool you can request a connection.
[ May 08, 2007: Message edited by: Rahul Bhattacharjee ]

Rahul Bhattacharjee
LinkedIn - Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we serializable?