Questions tagged [odm]

Object Document Mapper Is a programming technique for converting data between incompatible type systems in object-oriented programming languages. This creates, in effect, a "virtual object database" that can be used from within the programming language. There are both free and commercial packages available that perform object-relational mapping, although some programmers opt to create their own ODM tools.

218 questions
0
votes
2 answers

Issue in adding third party dependency in Maven during Jenkins build - ODM

I am trying to build ODM projects outside of eclipse using the Jenkins pipeline and Maven plugin. I am following the link :…
newTask
  • 87
  • 1
  • 2
  • 8
0
votes
1 answer

change the Rule parameters in ODM Rule Server at runtime?

I want to know this is possible to change the Rule parameters in ODM Rule Execution Server in runtime? For example: " if the age of customer is more than 15 " Change to " if the age of customer is more than 20 ". thanks in advance
0
votes
0 answers

How do I add an id on both of these mongoose.js 1-1 relationships

The attraction model is already created, I am just trying to add the facility Id to it after a new facility is added.The facility successfully adds the attraction Id to it but the attraction does not seem to update to add the facility id. Code below…
Coder1234
  • 389
  • 1
  • 3
  • 9
0
votes
0 answers

Debug rule project in Eclipse Rule Designer

Unable to create debug configuration to debug the rule flow, in Eclipse Rule Designer. As, it doesn't show any project to browse with. I need to debug the complete rule flow in order to understand.
0
votes
2 answers

Doctrine ODM bundle document mapping in XML format

I'm using Doctrine ODM bundle with Symfony 4. Trying to use XML mapping format for Documents and getting the following error: No mapping file found named 'Post.mongodb.xml' for class 'App\Document\Post'. My doctrine_mongodb.yaml…
Viktor
  • 819
  • 1
  • 12
  • 26
0
votes
1 answer

Iteration over a column in decision table _ODM

I have a decision table which looks like : and my input to the decision table looks like this : A = 1, B = 1,4,5 and C =1 . The requirement is that the decision table processing should halt when the first match is encountered with the decision…
newTask
  • 87
  • 1
  • 2
  • 8
0
votes
0 answers

Symfony4 Doctrine ODM - ManyToMany get empty

I have a problem with my many to many relations I have a User class that can be on multiple Teams and a class Team that can have multiple Users class User /** * @var Collection * @ODM\ReferenceMany( * …
Etshy
  • 870
  • 7
  • 25
0
votes
1 answer

Getting error "Not Found" when the script is trying to find .sh in Dockerfile

DockerFile - Path is rootDirectory/odm-ondocker/decisionserver/decisionserverconsole. ARG FROMLIBERTY FROM maven:3.5.2-jdk-8-alpine AS builder ARG ODMDOCKERDIR ENV ODMDOCKERDIR $ODMDOCKERDIR ENV SCRIPT /script ENV APPS /config/apps COPY…
Meenal
  • 105
  • 3
  • 17
0
votes
1 answer

How to do object mapping using python-cloudant

I have been learning Python and working some CouchDb tutorials. The most current way to get a couchdb hosted DbaaS looks like Cloudant, since others have shut down. I got progress developing locally using couchdbkit, which has a very nice DAO…
charles ross
  • 570
  • 4
  • 15
0
votes
1 answer

Java Spring Relational model and Document model as one class

I am using Java Spring and have a model that I am currently mapping to both a Relational Database (MySQL) and a NoSQL Database (MongoDB). @Entity @Document public class Person { @Id @AutoGenerated(...) private long id; @Id …
Kevin Chan
  • 21
  • 2
0
votes
1 answer

Symfony MongoDB ODM Left Join Query Builder

I have two ODM document One is Item contain class Items { /** * @MongoDB\Field(name="item_name", type="string") */ protected $itemName; } and another document is class ItemLocation { /** * @var *…
0
votes
1 answer

Table per class configuration with Morphia and MongoDb is not working

I am trying to have table per class configuration with Morphia + MongoDb @Entity("user") public class User{ @Id private ObjectId id; private String username; public void setId(ObjectId id){ this.id = id; } …
Alireza Khajavi
  • 146
  • 1
  • 10
0
votes
0 answers

Modifying a mongodb cursor result output

I'm designing a custom ODM and have model classes for each collection document. The model classes return a modified document result (eg: removes password field from user) I've faced a frustrating problem that I'm unsure on how to solve…
mateos
  • 1,405
  • 1
  • 17
  • 26
0
votes
1 answer

What is the format for the JSON passed into an IBM ODM REST service call?

I have an IBM ODM server installed with a ruleset on it. I've tested the ruleset using native tools. Now I want to call a rule using JSON and the REST API available in ODM. I know the REST URL, which looks something like…
thc1967
  • 1
  • 2
0
votes
0 answers

Symfony+mongodb+ODM get the records group by month , date format in db "2017-09-08"

Symfony query not working for mongodb+ODM, here is the query that i am using but something wrong to with the format. $getRecordForMonth = …
Abhishek_YII
  • 19
  • 1
  • 3