Questions tagged [autocreate]
20 questions
8
votes
3 answers
How to auto-generate getter and setter methods in Delphi?
I'm a Java developer and I always use the getter-setter methods.
How can I use this concept in Delphi?
I define a local variable //1
I create a property //2
I press CTRL+SHIFT+C and the editor creates the getter and setter methods //3
for this…

padibro
- 1,324
- 10
- 56
- 95
3
votes
1 answer
Auto create/update Tables using Spring and Hibernate
i have an Spring + Hibernate based application where the most properties are setted using annotations.
My AppConfig class looks like:
//package declarations and imports
@EnableWebMvc
@Configuration
@ComponentScan({ "com.package.subpackage.*"…

melli-182
- 1,216
- 3
- 16
- 29
3
votes
2 answers
Django FileField: how to set default value (auto-create empty file)?
I've got a model like this:
class MyModel(models.Model):
name = models.CharField(max_length=255)
code = models.FileField()
When a new MyModel is submitted, I want to allow for the code field to be left empty, in which case I need Django to…

letoosh
- 511
- 2
- 6
- 13
2
votes
1 answer
Copy activity auto-creates nvarchar(max) columns
I have Azure Data Factory copy activity which loads parquet files to Azure Synapse. Sink is configured as shown below:
After data loading completed I had a staging table structure like this:
Then I create temp table based on stg one and it has…

Alex
- 117
- 11
2
votes
1 answer
Autocreate user.config file in deployed app
I'm coding a VB.Net AddIn for outlook (hence its VBA with .NET). It's an addition to the standard Calender Item screen. Everything's going fine. But i have a third form with two textboxes, that show me the filepath of the running assembly and the…

Christian Hase
- 31
- 5
2
votes
1 answer
How do I autocreate associated records in MongoDB using Mongoid?
I'm still getting my head around MongoDB and Mongoid in particlar.
Let's say I have a User and each User has one Thingamajig. When I create the User
I want the system to autmatically also create a blank Thingamajig for that User.
Each Thingamajig…

Dave Sag
- 13,266
- 14
- 86
- 134
2
votes
3 answers
Can one automatically create javadoc tags for an entire Eclipse project?
I know one can use 'J' to create tags for a single code element (class method for example).
But is there a way to automatically create these tags for every class in the entire project? Or even just at package or class level?

Ron Tuffin
- 53,859
- 24
- 66
- 78
1
vote
1 answer
Dynamically create Items or allow / disallow user actions in java swing
I have a database which contains users, roles, and permissions. I want to be able to map this to the front end (Java Swing) so a user who can't do an action can't see it.
An example:
Role AddressManager has permissions create_address, edit_address…

dimitri
- 97
- 2
- 3
- 14
1
vote
3 answers
Hibernate 3 not auto creating tables
Here is my code:
hiberntae.cfg.xml:

OutOfMind
- 874
- 16
- 32
1
vote
1 answer
Hibernate does not create tables in spite of hibernate.hbm2ddl.auto=create
I 've tried several editions but NOT use. I need to resolve this part to continue the project .
The hibernate is not generating the tables in the database, I can not find where the error is.
The code is:
package…

Roknauta
- 178
- 10
1
vote
1 answer
How to force Grails to use proper column type in MySQL for Map field
I have a problem in Grails 1.1.2 + MySQL.
My domain class Something contains field
Map> priceMap
When I run the app, Grails creates table 'something' and sub-table 'something_price_map'. 'something_price_map' contains…

Pavel P
- 637
- 1
- 7
- 21
0
votes
2 answers
Seam AutoCreate not working?
I am trying to Inject a seam component into another, auto creating it. But for some reason the injected seam component throws NPE.
XHTML

Himalay Majumdar
- 3,883
- 14
- 65
- 94
0
votes
1 answer
Spring Boot and JPA with a H2 Database, Not a managed type Error for my entity
im struggling since 3 days with the following problem. Im about to do a project for my class in university using Spring Boot, JPA and the h2 database for an event-website.
The only problem now is that i cant seem to get rid of this error to be able…

Franz S
- 3
- 1
0
votes
0 answers
Auto create data modules
I have set MyDataModule in the Forms section of the Project -> Options, under the Auto create panel, in top of the main form, so at run time, MyDataModule should be created and its constructor should be fired.
However, when running the application,…

user2383818
- 709
- 1
- 8
- 19
0
votes
0 answers
MYSQL Related. Production Environment. Objectives is to auto create a new record in Table 2 when a new record is created in Table 1
The objective is to auto-create a new record in Table 2 when a new record is created in Table 1.
Table 1 has many fields. One is USER_ID. This USER_ID value will be used for the Table 2 USER_ID field.
Table 2 has 3 fields(F1 is USER_ID to pull from…

ttwaros
- 1