multiple-databases

Django Haystack with multiple databases

Django recently added support for using multiple databases and "database routing". Does Haystack deal intelligently (or at all) with multiple databases? ...

Spring.NET + NHibernate - Multiple (Distinct) Databases with OpenSessionInView

In my web application, I have 2 totally different databases - one that's being used mostly by a CMS from which we'd like to get page information on non CMS pages on the same website, & one that contains totally different data. Is it possible to use Spring.NET's Open Session In View module with multiple session factories for both of thos...

Django - multiple databases and auth.Permission

I'm working on a project that needs two databases - one for the "logged out" portion and one for the logged in. I need the auth (and therefore contenttypes) app synched to both databases, which is working fine. However, the management commands for auth and contenttypes that create the default Permission and ContentType objects aren't run...

Django - how to specify a database for a model?

Is there a way to specify that a model (or app, even) should only ever use one particular database? I am working with a legacy database that I don't want to change. I have two databases - the 'default' is an sqlite one that could be used for admin etc, and the legacy one. I used inspectdb to create a model for (part of) the legacy datab...

What shall I learn if I want to stay ahead of the curve?

What are the most recent technologies being used by startups and companies like Google? For example: Databases: Redis, MongoDB. ...

Creating development env from a production env on SQL 2005

I have created a new database(development from production DB). These DBs have different names and now insert and update statements in my procedures are prefixed with the production database name. How can i change this rather than doing it mannually. ...

Logging into Multiple sites

I have two different websites written in Rails(W1) and PHP(W2) both on different hosts. I used Authlogic for W1's authetication now I want to allow user of W1 to login into W2 using same username and password (as of W2). How can I do this? ...

Can you merge two sqlite databases on the iPhone?

Well the question says it all. Is there an easy way to merge two sqlite databases on the iPhone? Their structure is identical and the primary key is guaranteed to be unique across the two databases. I know you can do a INSERT INTO SELECT, but I was wondering if there is a more elegant solution. ...

Hibernate using multiple databases

I need to have multiple databases for different customers. How can I handle multiple databases with Hibernate? Are there any good examples how to do this? I could create Configuration object and then build SessionFactory, but that would create always a new session factory which wouldn't be very wise. EDIT: Now I can get hibernate Conf...