Questions tagged [generated]

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

212 questions
4
votes
2 answers

Is it possible to mark files/folders in Eclipse as generated?

my project structure looks like this: src/main/java src/main/resources src/main/generated .... in the generated folder I place a files which are generated by external software (for example classes generated by JAXB). In Eclipse all mentioned…
Marcel
  • 4,054
  • 5
  • 36
  • 50
4
votes
1 answer

Batch Insert with generated keys deals duplicate entry on unique

I am using MySql with JDBC...the below is my table definition CREATE TABLE `A` ( `id` int(255) NOT NULL AUTO_INCREMENT, `type` varchar(255) NOT NULL, `value` varchar(255) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `unq`…
assaf_miz84
  • 687
  • 2
  • 15
  • 33
3
votes
1 answer

Getting Generated Always Columns list from DB2

Is there any way I get all column names and assoicated table names which has identity column set as generated always? For I dentity columns I can simply use syscat.columns but how to fitler identity columns which has generated always vallue? select…
Satish
  • 75
  • 3
  • 10
3
votes
2 answers

JAX-WS - where are web service generated classes?

I'm looking at pg 344 of the Java EE 6 Tutorial: Uses the generated helloservice.endpoint.HelloService class, which represents the service at the URI of the deployed service’sWSDL file: import helloservice.endpoint.HelloService; Where is this…
Larry Watanabe
  • 10,126
  • 9
  • 43
  • 46
3
votes
1 answer

warning: No processor claimed any of these annotations: javax.annotation.Generated

I'm working on a module project in NetBeans 8.2, with a GUI and everything. I'm using lots of the IDE functionality to auto-generate code for the GUI. Every time I do a clean build of my project, I get a warning from the compiler: warning: No…
3
votes
1 answer

How to save values generated from Random.Next method C#

I bumped into a method for generating different values with the Random.Next() method in C# Here's the code: private static readonly Random random = new Random(); private static readonly object syncLock = new object(); public static int…
Petyor
  • 389
  • 3
  • 12
3
votes
1 answer

Location of the proxy class generated by Spring AOP

Just for the sake of learning and understanding proxies, I wanted to see the proxy class generated by Spring AOP. It was not present in the classes folder generated by Eclipse. Can somebody tell me its location?
3
votes
1 answer

When generated symbols are used in clojure?

When is it appropriate to use generated symbols(varname#) in clojure? What are the specific examples?
Sergey
  • 11,548
  • 24
  • 76
  • 113
2
votes
2 answers

How to convert PostgreSQL 12 generated column to a normal column?

I have a generated column in PostgreSQL 12 defined as create table people ( id bigserial primary key, a varchar, b boolean generated always as (a is not null) stored ); but now i want column b to be settable but i don't want to lose the…
zola
  • 5,737
  • 8
  • 33
  • 48
2
votes
2 answers

How to generate a domino-tiling of a square?

Short description: I'm trying to generate tilings of a square with dominoes or in other words with 2x1 and 1x2 tiles. Sometimes my algorithm puts a vertical tile in a way, that makes it impossible to fill the last row. My current approach is to…
N. Ecker
  • 21
  • 4
2
votes
3 answers

SQL : Error when adding column generated from other columns (postgresql 11)

I try to add a column to my table which references the BMI and I already have 2 columns with height and weight. I want to generate automatically this column when I fill the 2 others. But I get an error and I don't find any answer to solve it. CREATE…
dmjf08
  • 143
  • 7
2
votes
0 answers

Getting errors on Generate Signed APK in Android Studio 2

When I try to run project it works fine but when i try to generate signed apk i got this error. I was try to clean project and rebuild it but none of them works for me. My Problem is not related to duplicate libraries in Build:Gradle >…
Soheil
  • 325
  • 4
  • 19
2
votes
1 answer

c# Change Order of Designer Generated Code for Custom Control extending User Control

I currently have a C# User Control. It seems that I need to change the order of the designer generated code. GraphControlMode should be set before the graph controls properties as it is responsible for creating the correct controller type. …
Eladian
  • 958
  • 10
  • 29
2
votes
1 answer

Oracle virtual column generates -1.0002... instead of -1 on one instance

In one environment on 11G, I have created a table with one virtual column as follows create table TEST_VIRTUAL_COL( col1 number(5), col2 varchar2(10), col3 number generated always as((-1)) virtual visible ); Then insert a row into this insert…
Rohit G
  • 39
  • 1
  • 5
2
votes
1 answer

ArangoDB Request Unique Key in Advance

I'm developing a real-time web app. The back end is NodeJS and ArangoDB. I would like to generate and send a unique _key to the web app in advance of creation of a document. That way the document can be created quickly on the fly without having to…
skinneejoe
  • 3,921
  • 5
  • 30
  • 45
1
2
3
14 15