About example

forum_thread

Best practice: Database update/migration of embedded databases in products

Hello Support, what experience do you have for data migration within a product? An example: There are three versions of a product (v1.0; v1.1, v2.0). In each version, the entities have been modified. Attributes added, removed and renamed. If attributes were removed, then only because the data is now held otherwise. ... you have for data migration within a product? An example: There are three versions of a product (v1.0; v1.1, v2.0). In ... The product store user data in the ObjectDB-Database. Example: V1.0: EntityPerson{ String firstName;  String familyName; ...

 
forum_thread

Schema update: package, class and field

Hello, how can it be specified in the schema, that an entity is moved to another package? Package Structure (version 1) com |- btc |- impl |- Class1.java |- internal |- Class2.java |- Class3.java Now I want to move Class2   from com.btc.internal to com.btc.impl ... doesn't works.   I had extended a example in which i already rename a field. Only rename the field  [example works] <package name = ...   Only move the (embeddable) class [example works too] <package name = ...

 
api-jpa

javax.persistence.JoinTable

Used in the mapping of associations.(Annotation of JPA)

 
api-jpa

javax.persistence.EntityResult

Used to map the SELECT clause of a SQL query to an entity result.(Annotation of JPA)

 
api-jpa

javax.persistence.MapKeyTemporal

This annotation must be specified for persistent map keys of type java.util.Date and java.util.Calendar.(Annotation of JPA)

 
api-jpa

javax.persistence.CollectionTable

Specifies the table that is used for the mapping of collections of basic or embeddable types.(Annotation of JPA)

 
api-jpa

javax.persistence.UniqueConstraint

Specifies that a unique constraint is to be included in the generated DDL for a primary or secondary table.(Annotation of JPA)

 
api-jpa

javax.persistence.SequenceGenerator

Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation.(Annotation of JPA)

 
api-jpa

javax.persistence.SqlResultSetMapping

Specifies the mapping of the result of a native SQL query.(Annotation of JPA)

 
api-jpa

javax.persistence.AssociationOverrides

Used to override mappings of multiple relationship properties or fields.(Annotation of JPA)