Home » Search

About activation code

61-70 of 200Refresh
Tutorial
3

Step 3: Add a Context Listener Class

the new listener class. Now replace the content of the new source file with the following code: package ... "); emf.close(); } } The code above: Invokes the Enhancer to enhance the entity class
Tutorial
3

Step 3: Add a Main Class

In this step we will add a main class to the project with code that will store Point objects in the database and then retrieve them from the database: Open the [New Java Class] dialog box by right ... . A detailed explanation of the code is provided in the Quick Tour chapter of the ObjectDB Manual
Tutorial
3

Step 3: Add a Main Class

In this step we will add code to the Main class (that was generated with the project) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste ... the database. Finally it closes the database. A detailed explanation of the code is provided in the Quick
FAQ
3

What are the main benefits of using ObjectDB?

. The ability to store ordinary objects in the database directly can simplify the code significantly. Less (and more simple) code to write, debug and test, as well as a much easier learning curve leads
JDO Doc
3

javax.jdo.PersistenceManagerFactory

addFetchGroups( FetchGroup... groups) Add the FetchGroups to the set of active fetch groups. Add the FetchGroups to the set of active fetch groups. FetchGroups are made unmodifiable before being added ... to see that all PersistenceManager instances obtained from this PersistenceManagerFactory have no active
Issue
3

Super class' field access fails

activity; protected HotObject() { activity = 1; } public Integer getActivity() { return activity; } public void setActivity(Integer activity) { this.activity = activity; } public void increaseActivity() { activity += 1; } protected abstract
JPA Doc
3

JPA Exceptions

, an attempt to update the database with no active transaction is represented by: Database update
Manual
3

JPA Persistable Types

the original classes and enable transparent activation and transparent persistence. For example
Result
3

ObjectDB License

days of the purchase date, provided that you haven't activated your license. Server License ObjectDB
Issue
3

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

1st project)) INFO: RequestBean []: Created: com.greensoft.entity.Activity [null](TEST: the 1st activity) INFO: RequestBean []: Persisted: com.greensoft.entity.Activity [14](TEST: the 1st activity) INFO: RequestBean []: Created: com.greensoft.entity.Activity [null](TEST: the 2nd activity) INFO