Internal Website Search

121-130 of 145 resultsRefresh

NullPointerException while setting a new property value

-java"> @Entity final public class PluginMetaData { @Id @GeneratedValue private

Removing an entity throws exception

@GeneratedValue private Long id; private String name; private String surname

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

;  @GeneratedValue     private Long id; persistence.xml

Entity with java.util.Date column gives ClassCastException in BIRT

    @GeneratedValue(strategy=GenerationType.IDENTITY)     private

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

implements Serializable { @Id @GeneratedValue long id }

Newbie : How to return the auto-generated ID

Hello, I am new to this community, as well as JPA and ObjectDB. I want to read the auto-generated ID when I persist a new entity (with @Id @GeneratedValue annotations applied). I am following the following link : http://www.objectdb.com/tutorial/jpa/eclipse/web

How to pass a list in query for a list field of entity.

I have a entity as bellow :- @Entity @Table(name = "agent") public class Agent implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long Id; private List<SocialMedia> SocialMedias

Accessing objects to make them available after EntityManager close?!

@GeneratedValue Long id; @Unique private String word; private Set<String> meanings; public

Should I be able to persist a JFrame (or gui components in general)?

Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue

boolean field flips after schema update (in class) of another field

@GeneratedValue private long id; @Embedded private Application application =