ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
14

Find the error...JPA ENTITY HIBERNATE

.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import ... { private static final long serialVersionUID = 1L; // @GeneratedValue @Id @Column(name = "id") @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; @Column(name = "username") private
12

Problem with entities detection

.Column; import javax.persistence.Embedded; import javax.persistence.Entity; import javax ... = GenerationType.IDENTITY) @Basic(optional = false) @Column(name = "id_alumno") private Long idAlumno; @Column(name = "dni") private String dni; @Column(name = "nombre
11

alter table

Hi: After a table built by real data, how to alter table structure, such as: alter table add column ... . Anyway, > alter table add column ... This is automatic - just change your class (see Database Schema Evolution in ... column"; but I can not find anything about "add index" in the links you given. TIA gzdillon Lai Yang
3

JoinColumn.nullable

Annotation Element javax.persistence.JoinColumn boolean nullable (Optional) Whether the foreign key column is nullable. Default value: true Since: JPA 1.0
3

SecondaryTable.uniqueConstraints

Annotation Element javax.persistence.SecondaryTable UniqueConstraint[] uniqueConstraints (Optional) Unique constraints that are to be placed on the table. These are typically only used if table generation is in effect. These constraints apply in addition to any constraints specified by the Column
3

GenerationType.IDENTITY

Enum Constant javax.persistence.GenerationType IDENTITY Indicates that the persistence provider must assign primary keys for the entity using a database identity column. Since: JPA 1.0
3

MapKeyJoinColumn.updatable

Annotation Element javax.persistence.MapKeyJoinColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default value: true Since: JPA 2.0
3

ColumnResult.name

Annotation Element javax.persistence.ColumnResult String name (Required) The name of a column in the SELECT clause of a SQL query Since: JPA 1.0
3

javax.persistence.OneToOne

embedded field or property. Example 1: One-to-one association that maps a foreign key column
0

Embedded.nullIndicatorValue

Annotation Element javax.jdo.annotations.Embedded String nullIndicatorValue The value in the null column to interpret the object as being null. Returns: the null indicator value Default value: "" Since: JDO 2.1

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support