Questions tagged [object-oriented-database]

ODBMS: a database management system that represents information as objects, like in object-oriented programming

233 questions
0
votes
1 answer

Hibernate, get child object from abstract parent

I am getting a parent abstract object from hibernate. What is the best way to get true child object? I think this is not a correct way to do it: Long parentId=parent.getId(); Child child=childMgr.getInstance().getById(parentId);
Ahmad R. Nazemi
  • 685
  • 8
  • 21
0
votes
3 answers

How to relate entities in SQL through SQL tables

I'm a very beginner on DB designing and I need to create a DB for a project. I can explain what I wanna do in Object Oriented terms and thankfully a DB expert would be kind enough to explain me how I can deal with this in a DB aspect . I wanna…
0
votes
1 answer

Unlink image on Update PHP Form

I'm trying to create a fairly basic CMS for my own site. I attempting to create image form where I can update fields as well as unlink the old image file and attach the new if one is present. When I have a new image uploaded and then go back to the…
0
votes
0 answers

XAMLparse exceoption error

Please I need assistance... My program which i am using c# and post relational database but i keep getting this error it says the xaml parse exception error was unhandled , please where am i going wrong the code is
0
votes
2 answers

PHP Late Static Binding Issue

So I'm following a tutorial on Lynda.com regarding advanced PHP. They mention Late Static Bindings but I guess PHP 5.3 wasn't out when they made the tutorial so I'm trying to figure out how to do CRUD using a 'create' function in an extended class…
0
votes
0 answers

Object oriented design with database (java): cursors, SQLiteOpenHelper

Currently I have a class called DBAdapter that has an inner class called DatabaseHelper which extends SQLiteOpenHelper. Without the actual implementation it would look like this (in a high level): public class DBAdapter { public Cursor…
Brandon Ling
  • 3,480
  • 6
  • 28
  • 46
0
votes
1 answer

Why is SQL text-based?

I suppose this isn't a particularly "good fit for our Q&A format" but no idea where else to ask it. Why is SQL-querying text based? Is there a historical motivation, or just laziness? mysqli_query("SELECT * FROM users WHERE Name=$name"); It opens…
oink
  • 1,243
  • 2
  • 12
  • 22
0
votes
1 answer

Inheritance with different type of values in a database

I have a API interface where it takes in patient's LabTestResult and saves it in the database. The lab test result's result column can be either a string (long text from a doctor), an integer value, or +/- (I'm gonna use boolean for it). Currently…
0
votes
1 answer

Duplicate Column name When Inserting Data In Object Views

I Have created an Object view from Existing Relational Table When I am trying To Insert data into the Table using view I am Getting Error. Although I am able to insert data into the Students TABLE in relational way ORA-00957: duplicate column…
Arunesh Singh
  • 3,349
  • 12
  • 24
0
votes
2 answers

Difference between using relational database and relational database-object

What's the diference between using relational database and relational database-object(hybrid). Im making an application of adverts. Using common relational database, i think I could make tables of each type of adverts:…
0
votes
0 answers

"global/shared" data with object oriented programming

I'm new to OO programming and having troubles with "global/shared" data. The problem is that I fetch data (about 60 variables) from a Data-BUS every 20ms. Then I have a lot of classes which needs this data and also modify it. My solution was…
0
votes
1 answer

How to select which database to use for object storing

I want to deploy a small web project I have in mind, where the data I want to save are structs with nested structs inside, and most of the times the inner structs does not have the same fields and types. for example, I'd like something like that, to…
AntouanK
  • 4,030
  • 1
  • 19
  • 25
0
votes
0 answers

More object oriented sql in python

I am thinking about bringing sql code into python objects and using more of its special methods that the data model provides. Here are my thoughts. What is your opinion? How would you do it? Lets define some tables table users id: int …
Margus
  • 43
  • 3
0
votes
1 answer

Java: is it possible to create two objects during different runtimes (different JVMs) with the same identity?

I am using DB4o and want to make sure I get one unique object back when I use code like this: public List getListOfObjects(final Object o){ List result = db.query(new Predicate(){ @Override …
Alexander Mills
  • 1
  • 80
  • 344
  • 642
0
votes
1 answer

"cannot INSERT object view REF or user-defined REF"

I have a C_table and M_table and there is a m to 1 relationship between C_table and M_table, also I have L_table which Is A C_table type, , I'm trying to use OODBMS using oracle SQL Developer. I have the following types and tables: create type…