If the number of initializer clauses exceeds the number of members to initialize, the program is ill-formed (compiler error)
Wenn die Anzahl der Initialisierung Klauseln übersteigt die Zahl der Mitglieder zu initialisieren, ist das Programm mangelhafte (Compiler-Fehler)
initialization of an object with dynamic storage duration with a new-expression, where the initializer is a brace-init-list
Initialisierung einer benannten Initialisierung eines Objekts mit dynamischen Lagerdauer mit einem neuen Ausdruck, wo die Initialisierung ist eine Klammer-init-Liste
Make sure you watch the Tomcat log to see Hibernate initialize when the first request hits your servlet (the static initializer in HibernateUtil is called) and to get the detailed output if any exceptions occurs.
Sehen Sie im Protokoll von Tomcat nach, ob Hibernate initialisiert wird, wenn die erste Anfrage bei Ihrem Servlet eingeht (das statische Initialisierungsprogramm in HibernateUtil wird aufgerufen), und prüfen Sie die detaillierte Ausgabe nach Ausnahmen.
creating objects of dynamic storage duration when the new-expression is written without an initializer (new T;)
Erstellen von Objekten der dynamischen Lagerdauer, wenn der neue Ausdruck ohne Initialisierung (new T;) geschrieben wird
for - allows to define an initializer when iterating.
Erlaubt eine Initialisierung beim Iterieren.
Valid for-of loop You need to remove the initializer (value = 50) in the head of the for-of loop.
Man muss die Initialisierung (value = 50) im Kopf der for... of Schleife entfernen.
If migrations are explicit, something you create and execute in the Package Manager Console, why is there an initializer?
Wenn Migrationen explizit sind, etwas erstellen und führen Sie in der Paket-Manager -Konsole, warum gibt es eine Initialisierung?
At this point, I could use add-migration and update-database to fix the problem, but I want to show you how the initializer works, so I'll take a different path: I'll modify the test to enable the initializer.
An dieser Stelle ich könnte hinzufügen-Migration und Update-Datenbank verwenden, um das Problem zu beheben, aber ich möchte zeigen, wie die Initialisierung funktioniert, so dass ich nehme einen anderen Weg: Ich werde den Test um die Initialisierung zu aktivieren ändern.
After the default constructor has run the initializer block runs.
The head of a for... of loop contains an initializer expression.
Retrieve a list of available resource initializer names as defined in the class.
Finally, the whole collection initializer for the dictionary is enclosed in braces.
We have already learned how to notate properties using the initializer syntax.