ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh
66

Does JPA have any configuration to create DDL's that are database specific

that are database specific. miteshpoo Mitesh Poojari Maybe what you are looking for is the Table annotation
66

@SequenceGenerator and single id in whole database

private long id; As I understand default strategy is Auto, which causes global ID's per database
64

How to check if an entity exists in a Database without loading it?

How to check if an entity exists in a Database without loading it?
64

How do I Remove an entity from the Database ?

How do I Remove an entity from the Database ?
64

Handling a case of searching an empty database

Handling a case of searching an empty database
64

Source control of database

Source control of database
13

JPA Entity Fields

that do not participate in persistence and their values are never stored in the database (similar ... only transient (non persistent) entity fields with no real content to be stored in the database. Persistent ... otherwise (e.g. by using the @Transient annotation). Storing an entity object in the database does not
13

FROM clause (JPQL / Criteria API)

the database. A query identification variable is similar to a variable of a Java enhanced for loop in ... identification variables that iterate over all the database objects of a specific entity class ... over all the Country objects in the database: SELECT c FROM Country AS c The AS keyword is optional
13

DELETE Queries in JPA/JPQL

As explained in chapter 2, entity objects can be deleted from the database by: Retrieving ... . Applying changes to the database by calling the commit method. JPQL DELETE queries provide ... the database, DELETE queries do not retrieve data from the database, but when executed, delete specified
2

Step 3: Add a Main Class

the database: Right click the tutorial package in the [Package Explorer] window and select New > Class ... void main(String[] args) { // Open a database connection // (create a new database ... .createEntityManager(); // Store 1000 Point objects in the database: em.getTransaction().begin

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