Configuring databaseId provider with Guice?

56 views
Skip to first unread message

Brian Pontarelli

unread,
May 23, 2013, 2:47:21 PM5/23/13
to mybati...@googlegroups.com
I can't seem to figure out a way to configure the databseId provider via the MyBatis Guice extension. It also looks like I can't mix Guice with XML configuration. Anyone know how to do this?

Thanks,
-- Brian

Jeff Butler

unread,
May 23, 2013, 3:24:21 PM5/23/13
to mybati...@googlegroups.com
Look at the bottom of this page to see how to do Guice with XML configuration:


You should be able to set the database provider through the XML config.  It hasn't been exposed as a Guice property yet.

Jeff Butler




--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mybatis-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Brian Pontarelli

unread,
May 23, 2013, 3:59:05 PM5/23/13
to mybati...@googlegroups.com
That explains why I couldn't find it. The MyBatis documentation has moved around quite a bit and it is hard to figure out where everything is. In fact, I don't think there is a link to the Guice documentation anywhere on the blog or the Github site. Oh and BTW, the Github site is currently down (404):


It also looks like MyBatis.org doesn't really link to anywhere useful right now, except the root of the Github organization in Github. Is everything moved over to Github completely and officially at this point? If so, it would be nice to move mybatis.org to point to the main website in Github and make it more useful that the blog. You can setup blog.mybatis.org if you want to keep the Blogger site, but I would point the main site that the Github site once it is repaired. This will help a lot.

-- Brian

Eduardo Macarron

unread,
May 24, 2013, 12:28:42 AM5/24/13
to mybati...@googlegroups.com
This is something we should improve.

We have moved the code and the tracker to Github, but still use gcode for downloads, wiki and project page.

The path to get to the docs is:
www.mybatis.org -> blog.mybatis.org -> google code project -> guice docs

IMHO Github wont work as a project main page. It is too code centric. We need a place to point to news, code and docs.

Reply all
Reply to author
Forward
0 new messages