Questions tagged [generated]

Do not use. This tag has been used for generated code, generated keys, generated-anything. Too broad.

212 questions
1
vote
1 answer

iOS CoreDataGeneratedAccessors and save in one to many

I have used coredata in a project with only a parent and a child [one to many], cd will generate the entity.h and entity.m for NSManagedObject, [ok] the problem is that in my prior project , the addCategToEntityObject in my entityMother.h is -…
manuelBetancurt
  • 15,428
  • 33
  • 118
  • 216
1
vote
1 answer

Xamarin Linq insert/update Sqlite table record with generated column

For a table defined public class Tbl { [PrimaryKey] public int Id { get; set; } public string Col2 { get; set; } public string Gen { get; set; } } Where Gen is a Sqlite stored generated always column on…
Antony Fox
  • 11
  • 3
1
vote
1 answer

Print statements generated by Android SQLiteOpenHelper

I have an update statement that does not work properly and want to know how the final statement looks like. Is there a way to print out the statements generated by the Android SQLiteOpenHelper? So far I managed to get a hold of the unpopulated…
Philipp
  • 788
  • 1
  • 11
  • 23
1
vote
1 answer

Unable to make generated column in postgresql for Json data

I'm trying out generated column with postgres-12. I need to create a table with generated column with JSON data. I'm going to receive "name" field as key there . However, while doing so - I got below error: postgres=# create table json_tab2 (data…
Channa
  • 742
  • 17
  • 28
1
vote
0 answers

Flutter generates multiple .xcconfig files in background how to fix it?

I'm building a flutter app and recently when i did git status I got this https://prnt.sc/t5moij I'm not sure why is this happening and how to solve it since I think it behaves like a trojan virus more or less... Any advice is appreciated.
1
vote
2 answers

how can I hide a widget that generated a signal in qt

Let's say we have more than one widgets and all of them have main menu button. so I connected all of the main menu buttons clicked signal to one slot, which is supposed to h connect(widget1->mainMenuButton, SIGNAL(clicked()),this,…
gehad
  • 1,205
  • 3
  • 12
  • 17
1
vote
3 answers

How can I reference a text view that is created through code?

public TextView descriptionTextView(Context context, String text) { final ViewGroup.LayoutParams lparams = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT); final TextView textView…
Alex Z
  • 11
  • 3
1
vote
1 answer

How to capture HTML generated by browser with PHP?

I need to parse a webpage that is generated by JavaScript. So, I need to know if there is a way of capture the HTML generated by a browser with PHP. I have seen examples of capturing the print screen of a wep page generated by the browser. It is…
André
  • 24,706
  • 43
  • 121
  • 178
1
vote
3 answers

Hibernate how to prevent duplicate entry with generated id

Is there a way to prevent duplicate data entry with hibernate on entities that have auto generated primary key? To be more specific, i have a persistent object in the database and have a transient object (not inserted to the database yet) and those…
serenitytr
  • 11
  • 1
  • 2
1
vote
1 answer

Insert generated key from one table into second table with batch in one request

There are two tables with the dependence one to many on field occupation_id (project about booking hotel rooms). Each occupation entity can have several booked rooms. Is there way to do in a single sql request insertion to the first table…
a_chubenko
  • 147
  • 2
  • 13
1
vote
0 answers

generated-source folder not created in Java project

I created a java project using sbt. While I was trying to use an Immutable class using @Value.Immutable annotation I noticed that generated-source folder is not created. Instead, I see the structure : I also updated Build, Execution and Deployment…
A_G
  • 2,260
  • 3
  • 23
  • 56
1
vote
4 answers

how to safely write out user generated text in xhtml

How can some user generated text be safely written out on a webpage? Is there some complete list of characters that needs to be escaped? The ",+,: -character should probably be escaped, but there are probably a more comprehensive lis of what needs…
1
vote
2 answers

make clean: Only remove files that have been generated

With the Makefile I'm working on, I convert pdf files into txt files. I've implemented a clean target that would remove all .txt files. However, I do not wish to delete the source files, only those that have been generated. Example: I have…
Two-Tu
  • 107
  • 2
  • 10
1
vote
1 answer

Viewing source output of a MediaWiki template

Is there a way to get the mediawiki code that is generated by a template? I want to go on to Wikipedia, use a citation template, and copy the generated wiki code to my wiki that doesn't have those citation templates.
Timothy Clemans
  • 1,711
  • 3
  • 16
  • 26
1
vote
1 answer

Exposing Swift internal func to Objective-C file(in framework) without making it public

I have a Swift framework in which I have an Objective-C file. From that file I want to access a method which is declared as internal. I know that I can change it to public to make it available. But I don't want to expose it to the client app. Is…
Kristof
  • 33
  • 4