Christian Schlaefcke

Greenhorn
+ Follow
since Mar 18, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Christian Schlaefcke

Hi Folks,

I have a datasource where I get a lot of different objects with a special kind of outline, lets say general data objects (DO). In my business logic I have business object (BO) representations of that DO�s, that carry the same information but in more simple bean like style. Because I don�t want to have DO�s in my business logic part of the application I need a mapping mechanism to convert DO�s to BO�s.

Are there any techniques/patterns available to have the mapping from DO to BO and way round in generic style? I want to prevent writing hundrets of mapper classes by hand. Reflection is also a no go (performance). The attribute names and the getter and setter methods could be totally different between DO�s and representing BO�s.

Any hint would be helpful!

Thanks & Regards,

Chris
Hi folks,
I have an web application running under weblogic 7.0. This application is accessing a DB2 database through a tx datasource. This is running fine so far but when I leave the application running over night and try to get a connection the next morning I get this exception:
SQLException: Connection closed due to session kill
What can I do, to get a fresh connection?
Thanks & Regards,
Chris