Search update

60548 results
1

votes
2

answer

Update and refresh wpf chart

I'm working with chart of wpf toolkit, and I can't view the inserted data of the chart... Here is the xaml part: And the cs: Declaration public partial class MainWindow : Window { ... List valueList = new List(); ... Module called when a user chose two dateTime and press a button private void re...
Michele Cappannari
1

votes
1

answer

JPA's bulk update triggers TransactionalEventListener?

I have a project that uses Hibernate. All objects mapped (with annotations) in the persistence package are automatically updated at the end of transactional methods, if modified. I want to perform a bulk update with CriteraUpdate from JPA 2.1, but I need to change the objects to trigger Transactiona...
Marcelo Abiarraj
1

votes
1

answer

Update columns in same table

I want to update BRCD_NEW column in table branches with the condition applied on another column BRCD in the same table, here is my code, but it returns error single-row subquery returns more than one row update branches set brcd_new=( select case when BRCD between '5000' and '5999' then CONCAT('P...
KeenLearner
1

votes
1

answer

MySql update issue in Python

I am trying to update a mysql table with for loop. It updates only one row, when I run my script and gives me the following mysql error; Traceback (most recent call last): File 'index.py', line 190, in main() File 'index.py', line 167, in main pre_cursor.execute(query, (box_percentage, shelf_num...
pylearner
1

votes
1

answer

React state/props won't update

I have the code below, but my state won't update. I am using Angular http ajax-call to receive if the user is correct or not. When I pass the the new error-message as a prop nothing happens, but the component does receive it since I can access it through nextProps. I have also tried to skip the con...
Gjermund
1

votes
1

answer

Again, ObservableCollection doesnt Update item

Thats my first project using MVVM , MVVM light. I have a listbox, that gets refreshed from the PersonList Observable collection, adding and removing refresh it normal. the problem is when editing an item. I looked for all the solutions for this problem, nothing worked, which make me think that I mis...
Mark
1

votes
2

answer

Update query string in url

I want to update the url query string by clicking on checkbox. Here's the code, it doesn't work correctly param1=param1=true param1=param1=param1=false param1=param1=param1=param1=true instead of: param1=false param1=true Here's an unrefactored code: if (this.checked) { if (window.location.href.sear...
1

votes
1

answer

MySQL update error #1064 [duplicate]

This question already has an answer here: How can I write SQL for a table that shares the same name as a protected keyword in MySql? [duplicate] 3 answers This is the error: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right sy...
1

votes
2

answer

Composer update does not run

When i run composer update it fails showing error: [Composer\Downloader\TransportException] The 'https://packagist.org/packages.json' file could not be downloaded: failed to open stream: Connection refused If i visit t...
Alofe Oluwafemi
1

votes
1

answer

MKMapView annotation position update problem

I need to track user current location with realtime refreshrate I have one function with two solutions for that. (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation { ifdef Variant_1 if(m_currentLocation) [m_Map remo...
Ricardo
1

votes
1

answer

ListsView Binding with auto update

I have a application im working on that uses the Jabber Libraries to connect to a jabber Server and receive contacts etc. I have buit all login system and interface for the chat but now im working on how to Bind the data for the contacts to the ListView I have a function that is called when a contac...
RobertPitt
1

votes
1

answer

Update else INSERT in mysql

I tested this code: UPDATE books SET price='20000' WHERE user_id='2' IF ROW_COUNT()=0 INSERT INTO store_books(name,user_id) VALUES ('test1','2') I encountered the following error. error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the r...
rahimi
1

votes
2

answer

Update UI from a Workmanager

How do I update the UI from Android WorkManager. Android Workmanager can receive Boolean, Integer, Long, Float, Double, String Documentation says: public Data.Builder putAll (Map values) 'Puts all input key-value pairs into the Builder. Valid types are: Boolean, Integer, Long, Float, Double, String...
D-D
1

votes
1

answer

Broken theme after WordPress update

I just updated to WordPress 4.8.3 to find that my custom parent theme is broken. It's been a while since I've worked on it, so I'm not completely fresh on everything, but the error in WordPress is as follows: Template is missing. Standalone themes need to have a index.php template file. Child themes...
Mario Parra
1

votes
1

answer

|DataDirectory| for EF Update-Database

How to define |DataDirectory| for WPF project that is in Connection String for EF command 'Update-Migration'? There are a lot solutions to add : AppDomain.CurrentDomain.SetData('DataDirectory', ***); but it works only if application runs. I do not run application - just want to create and migrate D...
Lagoda Denis
1

votes
1

answer

Update Sitecore and SIP together?

I currently have the task of updating a Sitecore Instance 6.6 with SIP 3.2. The target is reaching Sitecore 7.0, so we can use Item Buckets. The problem is when I update Sitecore to 7.0, it doesn't work with SIP 3.2, because assembly references doesn't match anymore and Sitecore 7.0 runs on .NET 4.5...
SpaceJump
1

votes
1

answer

Feedjira: Feed update returns duplicates

I am trying to print rss/atom feed updates using ruby. Feedjira seems to be the best bet for this. Unfortunately the update feature does not seem to work properly. I get duplicate entries. Here is a simple example that produces the problem: require 'feedjira' require 'pp' feed = Feedjira::Feed.fetch...
NaN
1

votes
1

answer

updating ehcache from database update

I would like to know if there's a way for ehcache to detect a database update/insert (spring/java, hibernate web application) and refresh its cache with the current(latest) data from the database if not, what would be the best way detect a database update so as to keep the data between and cache and...
Vuzi
1

votes
1

answer

Mysql update data with regex

Is there anyway to update rows of one text column and remove extra spaces in between string, The data is actually a JSON string, Following is the example string {'ID' :'95703', 'LastName' :'Trigger', 'FirstName' :'Test', ......
zzlalani
1

votes
1

answer

Update dict with extra values

I have the following that converts data (show) from 1 format to another, this used to work until trakt.tv updated their api. What i need now is all episodes numbers for each season inside one season number like so 'seasons': [{'number': 1, 'episodes': [{'number': 1}, {'number': 2}]}]}] The converted...
jhmiller
1

votes
1

answer

Trigger SQL insert and update

I have two table INVENTORY and INPUT create table INPUT( PRODUCTID nvarchar(10), QUANTUMINPUT int ) create table INVENTORY( PRODUCTID nvarchar(10), QUANTUM int, QUANTUMINPUT int, LASTQUANTUM int ) How to create SQL trigger on SQL when insert column QUANTUMINPUT, table INVENTORY change over?
Huan Nguyen
1

votes
1

answer

QT update Linedit at runtime

I am trying to update the text on my linedit every time I get a frame, but my program crash. I tried doing the same with a loop, but the window shows only after the loop has finished. setH() is my slot, in Debug mode it run perfectly, the problem is when trying to update the text in LineEdit while t...
David
1

votes
1

answer

INSERT with several UPDATE statements

What is the best way to solve the following issue with Postgresql? For each row I INSERT into an article Table based on a SELECT from another table I want to UPDATE certain columns of the inserted articles. This is my current solution: -- temporarily alter table to avoid not null issues ALTER TABLE...
taranaki
1

votes
1

answer

Update all foreign key references

I have a table student (id, name, address), and student.id reference in few other tables. Lets assume the id is 120 and this id have several other entries in different tables. Now i want to update the id value to 130 along with all the foreign key references. One approach I am thinking of a PL/SQL w...
shakhawat
1

votes
1

answer

fiware-orion NGSIv2 update context

I created a small stack using with orion and the populated mongodb from the tour guide app. I don't understand why the updates queries are not working :( if I query the context: curl -s -X GET -H 'Accept: text/plain' -H 'fiware-service: tourguide' 'http://localhost:1026/v2/entities/0115206c51f60b48b...
1

votes
1

answer

Unable to update FIWARE cygnus

I am trying to update cygnus to the last version. My curent version is 0.13. when I try to install cygnus-common and cygnus-ngsi I got the error no package is available: $ sudo yum install cygnus-common Loaded plugins: fastestmirror Fiware...
sabrina2020
1

votes
1

answer

Mediawiki database error after update

I hope for some help on the problem I have trying to update my Wiki from 1.21 to 1.25. I,m don't have experience doing this but I followed the manual in Mediawiki doing this. Create a new folder and put in the new fileset. Add the Images folder with content, moved the Localsettings.php from old to...
Fred MrNoname
1

votes
1

answer

MVC 5 Identity Update UserRoles

I wrote this code: using(var _db = new ApplicationDbContext()) { string roleName = 'Admin'; var roleManager = new RoleManager(new RoleStore(new ApplicationDbContext())); if(!roleManager.RoleExists(roleName)) { var newRoleresult = roleManager.Create(new IdentityRole() { Name = roleName, });...
Alexander
1

votes
1

answer

Update packages policy on RHEL6

Do you know how frequently RHEL6 EPEL packages are updated ? Is there a way to track it in order to have timeline? I am mainly interested in docker-io package At the moment, EPEL package is set with docker-io-1.4.1-3.el6.x86_64. However, docker 1.5.0 has been released since 2015-02-03 EPEL package v...
1

votes
3

answer

sql oracle update table data

I got two tables: table1 and table2 table1: HW_SN (varchar2) ID (number) 123ERZ123 (empty) 124NIJD11 4125ERT22 .... - table2: ID (number) Name (varchar) 85442 123ERZ123 85471 124NIJD11 12478 4125ERT22 ......
piguy
1

votes
1

answer

Can't edit/update xml file

i'm developing an android application and I want to read and edit an xml file stored in the internal storage of the device (the file is transferred to the device via usb to a specific folder, not created by the application ) .I use the DOMxmlParser of Java for this purpose, but i encounter a problem...
tsiskoS
1

votes
3

answer

Update multiple column with activeAndroid

I want to update multiple cell of single row with active android. some thing like this, new Update(Question.class).set('UserAnswer ='+answerID, 'UserAnswerType = '+userAnswerType) .where('QID = ?', questionID).execute(); but that will gives me error. is there any other way to do this? or am i missi...
Nidhi
1

votes
1

answer

mysql trigger to update row

I am new to mysql and am trying to create a trigger. I want to take a newly inserted value from one table and want to update another table by subtracting this values from the value in that table. CREATE TRIGGER inventory_updated AFTER INSERT ON ORDERdetails for EACH ROW BEGIN UPDATE product_trial SE...
Rohan Girish Kinhikar
1

votes
1

answer

Update Listener Like Android Gmail

I have a listview that i show post on it. what i want is a listener when user moves his finger down and listview can't scroll.(Like Update Listener On Gmail Android App Inbox that when you move your finger from top to down it updates Inbox). How Can I Do That?
Hadi Nahavandi
1

votes
1

answer

AWS Update table not working

I'm uisng updateTable of DynmaoDB and I'm passing the following params object: { 'TableName': 'movies', 'AttributeDefinitions': [{ 'AttributeName': 'subtitle', 'AttributeType': 'S' }], 'GlobalSecondaryIndexUpdates': [{ 'Create': { 'IndexName': 'subtitle', 'ProvisionedThroughput': { 'ReadCapacityUnit...
1

votes
1

answer

Multiple INSERT/UPDATE on MySQL

I have to perform a multiple insert/update using the ON DUPLICATE KEY instruction with one dynamic field and the others static. I've got the table 'notifications' with fields: ID (BIGINT AUTOINCREMENT PRIMARY KEY), user (BIGINT UNIQUE), creator (BIGINT UNIQUE), type (TINYINT UNIQUE), value (BIG...
RyanJ
1

votes
1

answer

JavaFX - Automatically update a choiceBox

I have a Thread which permantly updates/creates a List: private ObservableList query() { try { return FXCollections.observableArrayList(getWMIValue(query, fieldName)); } catch (Exception e) { return FXCollections.observableArrayList(''); } } @Override public void run() { while (true) { devices = que...
Dennis H.
1

votes
1

answer

WPF Binding don't update data

So the problem is that whatever I do changing text in my textbox doesn't change the property in code although I bind it. I'm using MVVM pattern so: My Model: public class Shipment { public Shipment() {} public int ShipmentId {get;set;} //LP and Payer [Required] public long ExternalNumber {get ; set...
SebOlens
1

votes
1

answer

SNAFU with npm update -g

I tried updating npm and all hell broke loose: Environment check ✔ $HOME ✔ Yo ✔ Compass ✔ Ruby ✔ Git ✔ Node.js ✔ npm dist: $ npm update -g npm http GET https://registry.npmjs.org/envcheck npm http GET https://registry.npmjs.org/bower npm http GET https://registry.npmjs.org/generator-h5...
FrankDraws
1

votes
2

answer

Cache update with db changes

We have a java based product which keeps Calculation object in database as blob. During runtime we keep this in memory for fast performance. Now there is another process which updates this Calculation object in database at regular interval. Now, what could be the best strategy to implement so that w...
user1986187