Questions tagged [odb]

ODB is an open-source, cross-platform, and cross-database object-relational mapping (ORM) system for C++.

ODB is an open-source, cross-platform, and cross-database object-relational mapping (ORM) system for C++. It allows you to persist C++ objects to a relational database without having to deal with tables, columns, or SQL and without manually writing any mapping code. ODB supports MySQL, SQLite, PostgreSQL, Oracle, and Microsoft SQL Server relational databases as well as C++98/03 and C++11 language standards. It also comes with optional profiles for Boost and Qt which allow you to seamlessly use value types, containers, and smart pointers from these libraries in your persistent C++ classes.

82 questions
0
votes
2 answers

Connecting R to open office database using ODB

Despite several efforts I do not succeed to read my tables in an open office database in R. I have loaded the ODB package. And connect using the command con <- odb.open('Database.odb') to connect when i use the command odb.tables(con) The console…
Daan
  • 349
  • 4
  • 16
0
votes
1 answer

How to define history region in history output definition for Abaqus Python scripting?

I prepared a Python script to get initial data from a CAE file and modify that for another analysis. To do this, I created a historyOutput command to obtain stress intensity factor and I need to use these values at the post-processing inside of…
Siamak Malek
  • 45
  • 2
  • 11
0
votes
1 answer

error ODB runtime version mismatch

Is there anyone that can resolve this issue for me? It is way above my pay grade. I have been struggling to install odb and it's dependencies for some time now, and had to resort to doing that manually vs Homebrew (which I normally use). This is…
Dylan_Larkin
  • 503
  • 4
  • 15
0
votes
0 answers

Extracting stress values on a certain path by scripting in abaqus

In visualization module in abaqus we can define a path and plot XYData on that path. But is there any other way to extract these data by python scripting which uses a specific coordinates of model to define the desirable path and extract stress…
H.H
  • 188
  • 1
  • 13
0
votes
0 answers

configure: error: GCC plugin headers not found; consider installing GCC plugin development package

I am trying to build and install odb runtime libraries using instructions from this http://www.codesynthesis.com/products/odb/doc/install-mingw.xhtml While running configure for odb runtime I encountered the following error: checking dynamic linker…
Mafura
  • 23
  • 8
0
votes
1 answer

Oracle ODB - nested tables

i have problem with creating new nested object in table. Problem is in last line. The Rest is going good. Error: "PACJENT: Invalid identifier", when i put there NULL it is work, but i need put there new PACJENT. Can u help me ? PLACÓWKA CREATE TYPE…
Giacomo
  • 341
  • 2
  • 8
  • 25
0
votes
1 answer

ODB: unresolved external symbol error when including *.hxx file with common declarations

I must use the ODB framework in my project. I have 2 files: station.hxx and common.hxx with following content: common.hxx #ifndef COMMON_HXX #define COMMON_HXX #include #pragma db value struct ProcessAggregateName { #pragma db…
Software Craftsman
  • 2,999
  • 2
  • 31
  • 47
0
votes
0 answers

Can i do submodeling technique for an ODB file of abaqus?

i have an ODB file, i want to get result of some elements of the model. is it possible to do submodeling on ODB? If so, can I get abaqus script to do?
0
votes
1 answer

ODB With PostgreSQL bad_alloc Exception

I tried to to use ODB within my project. Therefore I used VS2015 to compile the windows sources for their odb and odb-pgsql library choosing the Release and x64 configuration. I linked the libraries from my standard postgres installation(prebuilt…
NjamNjam
  • 162
  • 8
0
votes
0 answers

What steps in Fedora to build a source rpm of newer odb off git?

Fedora 23 provides the odb-2.4.0 package. This git repo git://pkgs.fedoraproject.org/odb.git is probably where a fedora-modified copy of the sources exist. The upstream git repo exists here git://scm.codesynthesis.com/odb/odb.git I need the newer…
MMM
  • 910
  • 1
  • 9
  • 25
0
votes
1 answer

Instantation of odb::result e.g. odb::query fails

I'm writing my first odb code and can't get this basic working, although only the db connection code works: /*! @file overview_record.h */ #ifndef OVERVIEW_RECORD_H #define OVERVIEW_RECORD_H #include #include #include…
Superlokkus
  • 4,731
  • 1
  • 25
  • 57
0
votes
1 answer

Limited ODB output in ABAQUS

I'm writing an application for topology optimization within the ABAQUS PDE. As I have quite some iterations, in each of which FEM is performed, a lot of data is written to the system -- and thus a lot of time is lost on I/O. Is it possible to limit…
Javalicious
  • 43
  • 1
  • 6
0
votes
0 answers

Static linking sqlcipher

I'm having problems with static linking, which is not the dynamic. 13 step my Dockerfile (see below) when configuring I get the following: ... checking for HMAC_Init_ex in -lcrypto... no configure: error: Library crypto not found. Install…
0
votes
2 answers

odb "Hello World" link results in "undefined reference"

I am trying to compile the "Hello World" example that comes with odb. I am using debian Linux. I copied the person.hxx and driver.cxx files // person.hxx #ifndef person_hxx #define person_hxx #include #include #pragma db…
Ran Levy
  • 135
  • 9
0
votes
1 answer

Using ODB pragmas

I am trying to understand how does ODB models work. This is snippet from the official site: #pragma db object class person { private: friend class odb::access; person () {} #pragma db id string email_; string name_; …
petomalina
  • 2,020
  • 2
  • 19
  • 25