Home » Search

About class

81-90 of 200Refresh
Tutorial
13

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right ... > Java Class.... Enter GuestDao as the class name - use exactly that case sensitive class name. The Package should be guest. Click Finish to create the new DAO Spring component class. Now replace
Tutorial
13

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting New > Class. The package name should be guest. Enter GuestDao as the class name - use exactly that case sensitive class
Forum
13

persistence.xml classes not respected by ObjectDB

Hi! I have the following persistence.xml. The problem is that ObjectDB loads all the classes in P1 (+ their embeddable classes). P2 is created properly, but P1 gets all entity classes (from P2 also). How can this be avoided, so that both P1 and P2 get just the classes that were specified to each
Manual
13

Storing JPA Entity Objects

an instance of the Employee entity class in the database: Employee employee = new Employee("Samuel ... of an entity class. Only instances of entity classes can be stored in the database independently. Objects ... ().commit(); Instances of persistable types other than entity classes are automatically stored
Forum
13

Dependency from enhanced classes to the objectDB library

Hello, we have a Question to the dependency from enhanced classes (required for license ... classes. We have an ANT script in “com.btc.ep.base.dal.impl” to enhance the classes. The log of the enhancer is correct. But in
Forum
12

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

... is old and cannot be used" This report concerns investigation of issues when using with generic classes for "deep" value wrappers with signatures like: @Entity abstract public class Value extends [SomeOtherEntity] implements IValue { @Entity public class BooleanValue extends Value
Manual
12

Literals in JPQL and Criteria Queries

Entity type literals represent entity types in JPQL, similar to the way that java.lang.Class instances ... retrieval by type. In JPQL an entity type literal is written simply as the name of the entity class (e.g. Country). That is equivalent to Country.class in Java code. Notice that the name of the entity
Result
12

Posting to ObjectDB Website - Important Instructions

. Whenever possible: Use a single Java file with one main class + static inner classes for entity / embeddable classes. Avoid dependency on external libraries. Use a console application with a main method ... ; import java.util.*; import javax.persistence.*; public final class MyTestCase {     public
Forum
12

Schema Update: class hierarchy change

Hello, we try to change the class hierarchy of an Entity. You wrote www.objectdb.com/database/forum/899 that ObjectDB support automatic schema evolution for adding and removing fields and for class ... .EntityManagerFactory; import javax.persistence.Persistence; public final class Test { public static void
Forum
12

Schema update: package, class and field

we can specify it like this: <class name ... .btc.internal">     <class name="Class2" new-name="com.btc.impl.Class2" />   Thanks. It works. It does work for entities classes but not for embeddable classes