HibernateD and DDBC - ORM and DB abstraction layer for D

Vadim Lopatin coolreader.org at gmail.com
Thu Apr 18 05:36:51 PDT 2013


On Wednesday, 17 April 2013 at 13:46:30 UTC, kdmult wrote:
>> P.S: I've registered ddbc and hibernated in DUB repository.
>
> I have tried to generate a visuald project which depends on 
> both.
> There is a couple of issues.
> 1. Since you use prefix hibernated (for example, 
> hibernated.core) there should be subfolder hibernated under 
> source. And the source code should go there.
> 2. In dependencies I was forced to use version "~master" 
> instead of a certain version.
>
> Is there a simple example of using hibernated with sqlite 
> driver?

I've fixed directory structure.

You need to use SQLite config for both DDBC and HibernateD 
(USE_SQLITE version code defined).
Look at unittests for sample usage (hibernated.tests module).

You need sqlite .lib and .dll to build under windows.


More information about the Digitalmars-d-announce mailing list