About 555,000 results
Open links in new tab
  1. c# - Configuring Dbcontext as Transient - Stack Overflow

    Jan 30, 2017 · By default the DbContext is transient and hence valid for the duration of the request and all services (not only the controller) will receive the same instance of it. If …

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

    transient is used to specify which properties of an object will not be saved or serialised. For example, when saving an object to a file, transient specifies which properties or attributes will …

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

  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 …

  5. c# - AddTransient, AddScoped and AddSingleton Services …

    Jul 1, 2016 · Transient: In transient, new object instances will be injected in a single request and response. Below is a snapshot image where I displayed GUID values. Scoped: In scoped, the …

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

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

    Apr 21, 2015 · Now if you revisit the Person class code and remove @Transient and add transient to the password variable and also add a feature to the Jackson mapper to tell it how to handle …

  8. 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" …

  9. java - Qual a diferença entre o uso de @Transient e transient em …

    Feb 27, 2020 · Ainda que utilizando JPA em seu projeto, utilizar transient pode ajudá-lo a aliviar o armazenamento de objetos em memória durante a execução de @Stateful Enterprise Java …

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

    Feb 27, 2018 · 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 …