ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh
61

@SequenceGenerator and single id in whole database

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

Many clients access same database

Hi, I have a program to manage clients of my tennis club. But we have several different computer programs open that access the database. How can I implement this topology so that there is one Persistence context for all the client programs on the different computers. For example: When I change
61

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
61

Is there a way to extract the schema from an existing Database?

Hi ObjectDB, Is there a way to extract the schema from an existing Database? i.e. without using my class files Thanks EKK EKK Emmanuel Keskes The schema is available for viewing in the Explorer. You may use the JPA Metamodel API to extract it using your own code. support Support
61

Get list of database files

Hi, we would like to know if there is any API we can use to get a list of all database files on an ObjectDB server. The ObjectDB explorer has such a feature (File->Open C/S Connection->Browse...). Thanks for help! skolb Sebastian Kolb There is an undocumented method, which is indeed in use by
61

Access to client/server database from multiple applications

Is there a preferred way to run a client-server database so that updates from one application are immediately visible to another? The way I managed this was to run PersistenceManagerFactory.getDataStoreCache().evictAll(true,MyClass.class) to ensure that a query on MyClass would contain updated data
59

Eclipse/JPA database tutorial

Eclipse/JPA database tutorial
12

Explorer Features - refresh + viewing open embedded database

Request for feature: Ability to auto-refresh an explorer view, say at regular intervals of a few seconds. (at a minimum one ought to be able to manually refresh, for example the list of persistent types). additionally, it would be useful to be able to view an embedded database (read only mode) via the explorer. dmoshal David Moshal
12

NullPointerException on initial database creation

I'm getting the following exception on initial creation of a database. There's no indication as to what's wrong and there's nothing in the log. com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.SCO.b(SCO.java:209) at com
2

Step 3: Add a Main Class

to store Point objects in the database and then retrieve them from the database. Use copy and paste ... [] args) { // Open a database connection // (create a new database if it doesn't exist ... (); // 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