I guess you can .
May be when you want yr application to connect to two different databases you can go for such a move.I believe Hibernate solves the above problem and may be the best possible solution in terms of performance too.
Let me know if i dint catch up your question well ...
