About 54 results
Open links in new tab
  1. Why does JPA have a @Transient annotation? - Stack Overflow

    Jan 28, 2010 · The transient keyword is a stronger condition than @Transient: If a field uses the transient keyword, that field will not be serialized when the object is converted to a byte stream. …

  2. Why does Java have transient fields? - Stack Overflow

    May 26, 2009 · The transient keyword in Java is used to indicate that a field should not be part of the serialization (which means saved, like to a file) process. From the Java Language Specification, Java …

  3. How to fix the Hibernate "object references an unsaved transient ...

    So when I added the Child to the Parent, then saved the Parent, Hibernate would toss the "object references an unsaved transient instance - save the transient instance before flushing" message …

  4. What are Transient and Volatile Modifiers? - Stack Overflow

    Aug 23, 2010 · The volatile and transient modifiers can be applied to fields of classes 1 irrespective of field type. Apart from that, they are unrelated. The transient modifier tells the Java object serialization …

  5. When to use following Transient, scoped and singleton

    Apr 22, 2021 · A transient lifetime services are created each time they're requested from the service container. For example, during one request you use httpclient service to call other web api request …

  6. What does the keyword "transient" mean in Java? [duplicate]

    What does the keyword "transient" mean in Java? [duplicate] Asked 15 years, 1 month ago Modified 2 years, 10 months ago Viewed 199k times

  7. How to implement Keyed Transient Dependency Injection in C# using ...

    Dec 22, 2023 · From the docs: Transient Transient lifetime services are created each time they're requested from the service container. This lifetime works best for lightweight, stateless services. …

  8. Qual a finalidade do Transient e Volatile no Java?

    Mar 2, 2016 · As vezes quando vou declarar meus atributos noto o transient e o volatile. Tenho as seguintes dúvidas O transient e volatile são modificadores de acesso? Qual a finalidade de utilizá …

  9. ASP.NET Core Singleton instance vs Transient instance performance

    Feb 20, 2019 · In ASP.NET Core Dependency Injection, I just wonder if registering Singleton instances will improve performance instead of registering Transient instances or not? In my thinking, for …

  10. AddTransient, AddScoped and AddSingleton Services Differences

    Jul 1, 2016 · AddTransient () - This method creates a Transient service. A new instance of a Transient service is created each time it is requested. AddScoped () - This method creates a Scoped service. A …