About 12,900,000 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. What does the keyword "transient" mean in Java? [duplicate]

    What does the keyword "transient" mean in Java? [duplicate] Asked 14 years, 8 months ago Modified 2 years, 5 months ago Viewed 199k times

  3. Why use the `transient` keyword in java? - Stack Overflow

    I have an issue related to the transient keyword's use before the private modifier in java . variable declaration: transient private ResourceBundle pageResourceBundle; My class looks like this :

  4. 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 …

  5. java - Serializable and transient - Stack Overflow

    Dec 10, 2014 · The transient keyword can be used to specify that an attribute does not need to be serialised, for instance because it is a derived attribute. See also this reply to a similar question on …

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

    Aug 23, 2010 · 168 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 …

  7. c# - AddTransient, AddScoped and AddSingleton Services Differences ...

    Jul 1, 2016 · Transient objects are always different; a new instance is provided to every controller and every service. Scoped objects are the same within a request, but different across different requests.

  8. What are the different NameID format used for? - Stack Overflow

    Transient identifiers- Transient identifiers are what IdP tell the SP that the users in the session have been granted to access the resource on SP, but the identities of users do not offer to SP actually. For …

  9. java - @JsonIgnore vs @Transient -difference? - Stack Overflow

    Apr 21, 2015 · Which one to use for skipping field for serialization and de-serialization. @JsonIgnore why we should use it if @Transient also skips the field from serialization and de-serialization process?

  10. Using Transient service within a Singleton Service - Stack Overflow

    Jun 24, 2021 · So instead of directly injecting transient service into Singleton Service, I am thinking injecting transient service into Controller. And then in the action method, I will pass the transient …