• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can we serializable?

 
vijay mahendra
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,

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

Plese give reply .

Thanks to all.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic