From boris at codesynthesis.com Tue Feb 2 08:20:07 2021 From: boris at codesynthesis.com (Boris Kolpackov) Date: Tue Feb 2 08:24:55 2021 Subject: [odb-users] One-to-many relationship in composite primary key In-Reply-To: <20210131152123.Horde.I4b4sJgqRZclnWwKe1_RN1w@cloud.pappacoda.it> References: <20210131152123.Horde.I4b4sJgqRZclnWwKe1_RN1w@cloud.pappacoda.it> Message-ID: Andrea Pappacoda writes: > I have two entities, school and class. School has a simple primary key > (id), while class has a primary key composed by a name and a reference > to its school. > > [...] > > How can I implement this with ODB? You can achieve this with a bit of effort as described in this earlier thread: https://codesynthesis.com/pipermail/odb-users/2019-October/004352.html Note: points_to is only available in the 2.5.0 pre-release: https://codesynthesis.com/products/odb/doc/install-build2.xhtml From ramindeh at gmail.com Sun Feb 14 09:20:56 2021 From: ramindeh at gmail.com (ramin d) Date: Sun Feb 14 09:27:07 2021 Subject: [odb-users] Building ODB? Message-ID: <7742cef6-6877-6181-2de3-c4c4d7266d26@gmail.com> Hello, I downloaded the following files * libodb-2.5.0-b.19.tar.gz * odb-2.5.0-b.19+1.tar.gz from the Codesynthesis website with the intention of building ODB. After a while I noticed that the file does not include files for building the packages like ./configure and B2. Pleasse help me and tell me how I am supposed to build the ODB packages. Thank you From per.edin at sequence-point.se Sun Feb 14 09:42:58 2021 From: per.edin at sequence-point.se (Per Edin) Date: Mon Feb 15 05:50:37 2021 Subject: [odb-users] Building ODB? In-Reply-To: <7742cef6-6877-6181-2de3-c4c4d7266d26@gmail.com> References: <7742cef6-6877-6181-2de3-c4c4d7266d26@gmail.com> Message-ID: Could this be of any help? https://www.codesynthesis.com/products/odb/doc/install-build2.xhtml and https://build2.org/install.xhtml On Sun, Feb 14, 2021, 3:22 PM ramin d wrote: > Hello, > > > I downloaded the following files > > * libodb-2.5.0-b.19.tar.gz > > * odb-2.5.0-b.19+1.tar.gz > > from the Codesynthesis website with the intention of building ODB. > > After a while I noticed that the file does not include files for building > > the packages like ./configure and B2. > > Pleasse help me and tell me how I am supposed to build the ODB packages. > > > Thank you > > From pvmerisier at gmail.com Sun Feb 21 02:10:25 2021 From: pvmerisier at gmail.com (Paul Merisier) Date: Sun Feb 21 02:16:31 2021 Subject: [odb-users] ODB 2.4 version not working Message-ID: Hello, ODB C++ version 2.4 did not work well with g++ 6+. I had to downgrade to version 5 or lower. I have been unable to download the latest version. Does version 2.4 work for g++-9 on Ubuntu 20.04? Regards, Paul Merisier From boris at codesynthesis.com Mon Feb 22 06:14:57 2021 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon Feb 22 06:20:48 2021 Subject: [odb-users] ODB 2.4 version not working In-Reply-To: References: Message-ID: Paul Merisier writes: > ODB C++ version 2.4 did not work well with g++ 6+. I had to downgrade to > version 5 or lower. I have been unable to download the latest version. Does > version 2.4 work for g++-9 on Ubuntu 20.04? For newer GCC versions you will need to the use the 2.5.0 pre-release: https://codesynthesis.com/products/odb/doc/install-build2.xhtml It is known to work with GCC 9 (and 10).