place into or between other items in an enumeration
Questions tagged [insertion]
578 questions
0
votes
1 answer
parent table with multiple child insertion using hibernate
i've created an application which uses hibernate inheritance and mapping.
There is a parent class named Payment and Child class called Credit.
Right i'm trying to insert multiple child values for one single parent id.
Like as shown…
user2318483
0
votes
2 answers
Implementing Binary Search Tree Insert operation in Java
I have a TreeNode class that represents node of the binary tree.
public class TreeNode {
private static Object key=null;
private static Object value=null;
private TreeNode parent;
private TreeNode left=null;
private TreeNode right=null;
/**
*…

anu
- 1,017
- 1
- 19
- 36
0
votes
3 answers
Binary Search Tree node insertion not working properly
I have a homework assignment to implement a binary search tree (create, delete, search). I used the example provided by the teacher but I can't make it work.
Here's my code so far:
void insert_node(int k){
struct node *nodnou,*flow,*parent;
…

johnjhye
- 15
- 2
- 6
0
votes
1 answer
Insert in order to an array of strings
I'm trying to write a function that inserts into a dictionary (an array of strings), but in alphabetical (lexical) order, but I'm running into an invalid read of size 8 error and I'm not entirely sure why.
Here is my code:
int insertWord(char…

Riptyde4
- 5,134
- 8
- 30
- 57
0
votes
2 answers
c++ map element insertion
I want to insert a pointer to object into a map. Is this the right way?
object myobject[10];
....
mymap.insert( std::pair(pktctr, &myobject[pktctr]));

Avb Avb
- 545
- 2
- 13
- 25
0
votes
1 answer
insertion in mysql using threads
I am new to threading and have very less knowledge in Java
I am facing some serious performance issues with my data insertion in mysql. Data is huge chunk and takes huge amount of time, even when done with batch, prepared statement.
I want to read…

Death Metal
- 830
- 3
- 9
- 26
0
votes
1 answer
How to insert an array into a mongodb collection as a separate document using codeigniter
I am new to mongoDB. Now I am having some trouble inserting an array into a mongoDB collection. I want it to save as separate documents. For example I have an array like the following one:
$aa = Array
(
[0] => Array
(
[id] => 1
…

modon
- 241
- 3
- 7
- 14
0
votes
1 answer
Problems inserting to database for android app
When I trying to insert into my database I keep getting ERRORS listed below:
08-14 11:50:21.455: E/SQLiteLog(27688): (1) table exercises has no column named reps
08-14 11:50:21.495: E/SQLiteDatabase(27688): Error inserting reps=4 title= BarBell…

user2522117
- 5
- 2
0
votes
1 answer
Insert several rows from 1st table to the 2nd with ContentProvider
I wonder how to implement this with ContentProvider?
I insert several rows from table to another with single select statment:
insert into table1 (field1, field2,...)
select field1, field2... from table2 where ...
If I should use insert…

Foenix
- 991
- 3
- 10
- 23
0
votes
0 answers
tree implementation using linked list,with parent pointer,first chil pointer and siblings pointer in c
I want help in linked list implementation of a tree. A tree node has three child.
using pointers: Parent, Siblings and FirstChild.
I have tried making it but couldn't get it to work. I need help in inserting new nodes
void InsertFirstChild(Node…

user2627187
- 1
- 1
0
votes
1 answer
What are the differences between insertion, deletion and substitution
I am about to tackle a programming problem about the Levenshtein Distance. And according to the definition given on my sheet, it states that the Lenveshtein distances is equal to the number of substitutions, insertions and deletions between two…

entropy
- 169
- 3
- 13
0
votes
1 answer
Insert data in neo4J from a formated file
I'm really new with neo4j. I have the java objects that I want them to be my nodes e.t.c. Is there any way to extract them into an xml,json,simpe txt and after that insert them into the graph database (from the extracted file).
Thanks in advance

Mary
- 69
- 6
0
votes
1 answer
Cocos2d insert sprite (child of layer) between other children without z management
Imagine a pack of cards seen from above (this is a metaphor, not the real thing). What I do currently is adding cards on top of another to my layer using addChild. This is one of the rules of drawing order in Cocos2d:
Where nodes have the same…

user1974337
- 3
- 3
0
votes
1 answer
Javascript and dynamic variable insertion
Let's say I have am dynamically passing information to a variable in a URL like as shown below: