[Digikam-devel] [Bug 127321] allow use of other database backends such as postgres and mysql

Graham Smith graham at crazysquirrel.com
Mon Jul 20 10:03:35 BST 2009


https://bugs.kde.org/show_bug.cgi?id=127321





--- Comment #13 from Graham Smith <graham crazysquirrel com>  2009-07-20 11:03:30 ---
I've been following this bug since submitting it a while back so it's nice to
see someone taking a crack at it. I regularly use a library called Hibernate to
provide me with a database agnostic data store and I was wondering if there is
anything similar that you could use with Digikam. 

Hibernate is Java based but I know there is also a .NET port (NHibernate) which
is pretty mature. I've had a quick look for C++ ORM layers and none seem to be
as advanced as Hibernate but Debea might be worth looking at.

I've developed applications in the past where queries are held in XML files. It
works fairly well but it rapidly becomes complex when the user can cause
dynamic queries to be produced. An ORM layer really helps in this situation as
it handles writing the DB specific SQL and all the escaping etc. It would be a
big change but it might be worth it.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list