About 52 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]

    I saw somewhere transient private TrackDAO trackDAO; You might first have a look at what serialization is. It marks a member variable not to be serialized when it is persisted to streams of bytes. When an …

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

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

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

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

    Feb 27, 2020 · A anotação @Transient pode ser utilizada no atributo de uma classe, ou em um método get, no seu caso getIdValidacao(). A forma como é estabelecida tem relação com uma anotação à …

  7. Error when connect database transient failure in Visual Studio 2022

    Mar 2, 2023 · I am using VS2022 and I am trying to run a Linq query agaisnt an AWS hosted Postgres database and I receive the next error: An exception has been raised that is likely due to a transient …

  8. AddTransient, AddScoped and AddSingleton Services Differences

    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 same …

  9. What does @Transient annotation mean for methods? - Stack Overflow

    Jan 31, 2014 · So I have learned that the transient keyword in Java means that an entity does not persist, and that the @Transient annotation in JPA means don't persist a field to the database. But …

  10. 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á …