Home » Search

About example

161-170 of 200Refresh
JPA Doc
2

javax.persistence.SecondaryTables

javax.persistence Annotation SecondaryTables Target: Classes Specifies multiple secondary tables for an entity. Example 1: Multiple secondary tables assuming primary key columns are named the same in ... { ... } Example 2: Multiple secondary tables with differently named primary key columns. @Entity
JPA Doc
2

javax.persistence.TableGenerator

unit (across all generator types). Example 1: @Entity public class Employee ... ="empGen") int id; ... } Example 2: @Entity public class Address
JDO Doc
2

javax.jdo.Query

declaring an expression (for example, e1 != e2). Rules for constructing valid expressions follow ... with a leading ":". For example, setRange("50, 70"); or setRange(":from, :to"); or setRange("50
Forum
2

Remove a modified entity cause an optimistic lock exception

Hello, the following examples load and modify an entity, and load and remove the same entity. The first example 'SetAndRemoveIssue.java' is a simple java program which executes without errors. The second example is an OSGi program which fails with an optimistic lock exception. Both examples
Forum
2

InternalError on multiple AND and JOIN Query

] ------------------------------------------------------------------------ [INFO] Building Example Objectdb test [INFO]    task-segment: [clean, package] [INFO ... -clean}] [INFO] Deleting directory /home/pedwards/CONTEXTSPACE_workarea/objectdb_example/target [INFO ... /pedwards/CONTEXTSPACE_workarea/objectdb_example/target/classes [INFO] [resources:testResources {execution
Forum
2

Problem with byte arrays in JDO - internal exception

.PersistenceManagerFactory; import javax.jdo.Query; import spiffy.test.model.Example; /** * * @author steve ... .newQuery(Example.class); query.deletePersistentAll(); pm.currentTransaction().commit(); pm.currentTransaction().begin(); Example example1 = new Example
JDO Doc
2

copyKeyFieldsFromObjectId(pcClass, fm, oid)

for each key field in the ObjectId. For example, an ObjectId class that has three key fields ( int id
JDO Doc
2

copyKeyFieldsToObjectId(pcClass, fm, oid)

for each key field in the ObjectId. For example, an ObjectId class that has three key fields (int id
Result
2

Exception(cause)

that are little more than wrappers for other throwables (for example, java.security.PrivilegedActionException
JPA Doc
2

get(attributeName)

. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from