Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I recently became aware of DataMapper and see it's support for "legacy" database schemas is far superior to ActiveRecords'. This has inspired me to give it a go, however I've run into a snag trying to convert my existing working ActiveRecord configuration accross.

Here's what I'm starting with

development:
  adapter:  jdbc
  driver:   com.ibm.db2.jcc.DB2Driver
  url:      jdbc:db2://<SNIP>:50000/MYDB
  username: user
  password: password

Now the problem I'm having is how to actually convert this to something which DataMapper can use. So far I worked out I need to use the do_jdbc adapter and I've gone through a stack of iterations to try and work out what the various settings should be.

Can someone steer me in the right direction?

Thanks

share|improve this question
1  
have you found a solution? –  gotqn Aug 25 '12 at 19:14
1  
Unfortunately no, still haven't found a solution :( –  Innominate Sep 6 '12 at 8:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.