ObjectDB Database Search
51-100 of 200 resultsException on creation when running multithreaded transaction. The process is as followed: 1. The organisation gets created 2 . The acl is being searched ... the of the creations fail with the following exception: [ObjectDB 2 . 2 .8_07] javax.persistence ... ) ... 40 more The exception is being thrown during step 2 . Any ideas regarding | |
Extended mapping-definitions (respectively its class) gets mapped to a java class. So cats get mapped to the java class 'Cat', dogs to 'Dog ... and 2 .) not all classes are known at project start (an editor). To deal with especially the 2 ... for the name of the class. Now this leads to the following problem: By default a Java object gets | |
Cast exception? have anything to do with any method from ObjectDB. So I looked into the class loaders and found out: Getting class loader 1: java.net.URLClassLoader@40834bca Getting class loader 2 : com.objectdb.o.TYM@16b62091 ... I'm getting a weird exception: java.lang.ClassCastException: database.entity.Player cannot be cast | |
Mismatch client-server protocol prefix:757) I checked multiple times if the versions match. They do. DB server version 2 .6. 2 . Client version 2 .6. 2 . Also there's only one objectdb jar on the classpath. It's also not a network problem ... ; This exception gets thrown at the getSingleResult line: java.lang.ClassCastException: at.co.pjm.tracker | |
Can I Disable the Creation of the "log" Directory?" directory still gets created. A "log" directory also gets created when I run com.objectdb.Enhancer ... the location of the ObjectDB configuration file. support Support Can you confirm that "log" file still gets ... an issue (a bug report in the Issue Tracking system)? CBE CBE Build 2 .6.8_07 should fix this issue | |
Jboss 6 persistence.xml startup error out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS. Here is my setup ... : Specification violation [EJB3 JPA 6. 2 .1. 2 ] - You have not defined a jta-data-source for a JTA enabled ... . (PersistenceUnitInfoImpl.java:124) [: 2 .0.0] I have followed the examples also - but none refer to the jta | |
Duplicate Entity class names causes Exception in Query to run your test. support Support Build 2 . 2 .9_05 includes an attempt to fix the NullPointerException ... 2 different PUs. This works fine with one JPA Provider like Eclipselink, but with ObjectDb as well I am getting the class not found error again ( I have removed the 2nd mode project and duplicate | |
Activation Issue the jar, and everything was happy. (this was with 2 .3.7). However after a reboot I'm now getting ... the activation key in objectdb.conf). I tried upgrading to 2 .3.7_02 and updating objectdb.conf ... of objectdb.conf: [ObjectDB 2 .3.7_02] javax.persistence.PersistenceException Too many | |
InternalError on query of empty database Support Hi, Query I'm running is: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.attributeList $ 2 JOIN $1.attributeList $3 WHERE ((($ 2 .name='firstname') AND ($ 2 .valueAsString='Alex')) AND (($3.name='lastname ... the exception, and doing a create, and then the next query is happy. Exception thrown is: [ObjectDB 2 . 2 | |
Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance Hi, I don't have a useful test case to expose this issue, but I am getting an intermittent "Attempt to reuse an existing primary key value". In this particular instance, the error is: Attempt ... : 2 . 2 .8_05 Willks William This might be related to a bug that was fixed in build 2 . 2 .8_06. Please check that new build. support Support | |
JQL-Update Queries fails with activated L2-Cache-Query and fetching Entities afterwards from database. Expected result: Getting changed Entities from database - Actual result: No changes are visble. Scenario 2 : Disabled L2 Cache, updating elements ... . Expected result: Getting changed Entities from database - Actual result: Everything ok | |
jakarta.persistence.Index CollectionTable JoinTable TableGenerator Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements String ... : "" Since: Jakarta Persistence (JPA) 3. 2 Additional JDK methods inherited from java.lang.annotation | |
jakarta.persistence.ForeignKey AssociationOverride Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements String name (Optional ... Persistence (JPA) 3. 2 Additional JDK methods inherited from java.lang.annotation.Annotation java.lang | |
jakarta.persistence.MapKeyColumn to filename ... } Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements String name (Optional ... . May not be used in conjunction with columnDefinition . Default: "" Since: Jakarta Persistence (JPA) 3. 2 | |
jakarta.persistence.MapKeyClass images; // map from image name to image filename ... } Example 2 : // MapKeyClass and target type ... Persistence (JPA) 2 .0 Annotation Elements Class value (Required) The type of the map key | |
jakarta.persistence.MapKeyJoinColumns (JPA) 2 .0 Annotation Elements MapKeyJoinColumn[] value (Required) The map key join columns ... : @ForeignKey(PROVIDER_DEFAULT) Since: Jakarta Persistence (JPA) 2 .1 Additional JDK methods inherited | |
jakarta.persistence.Convert) boolean fullTime; ... } Example 2 : Auto-apply conversion of a basic attribute @Converter(autoApply ... GenericEmployee { ... } See Also: Converter Converts Basic Since: Jakarta Persistence (JPA) 2 .1 Annotation | |
jakarta.persistence.EntityTransaction (JPA) 3. 2 boolean isActive () Indicate whether a resource transaction is in progress. Returns ... that the database server should set the timeout Since: Jakarta Persistence (JPA) 3. 2 | |
Server crash - Mismatch client-server protocol prefix (which fortunately gets auto-mailed to me): [ObjectDB 2 .5. 2 ] javax.persistence.PersistenceException ... We've been having a problem where our ObjectDB server goes unresponsive every 2 days or so.   ... ;Once the server gets in this state, it is unresponsive to bin/server.sh restart; I have had to reboot | |
jakarta.persistence.PessimisticLockException, is marked for rollback. Since: Jakarta Persistence (JPA) 2 .0 Public Constructors | |
jakarta.persistence.PersistenceUnitTransactionType via the EntityTransaction interface. Since: Jakarta Persistence (JPA) 3. 2 Enum Constants JTA | |
jakarta.persistence.PersistenceUtil (JPA) 2 .0 Public Instance Methods boolean isLoaded ( Object entity , String attributeName | |
jakarta.persistence.GeneratedValue") @Column(name = "CUST_ID") public Long getId() { return id; } Example 2 : @Id @GeneratedValue | |
jakarta.persistence.Lob) @Column(name = "REPORT") protected String report; Example 2 : @Lob @Basic(fetch = LAZY) @Column(name | |
jakarta.persistence.LockOption. See Also: LockModeType PessimisticLockScope Timeout EntityManager.lock(Object, LockModeType, LockOption...) Since: Jakarta Persistence (JPA) 3. 2 | |
jakarta.persistence.JoinColumns Persistence (JPA) 2 .1 Additional JDK methods inherited from java.lang.annotation.Annotation java.lang | |
jakarta.persistence.MapKeyEnumerated Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements EnumType value (Optional) The type used in mapping | |
jakarta.persistence.ManyToMany 2 : // In Customer class: @ManyToMany(targetEntity = com.acme.PhoneNumber.class) public Set | |
jakarta.persistence.LockTimeoutException (JPA) 2 .0 Public Constructors LockTimeoutException () Constructs a new LockTimeoutException | |
jakarta.persistence.MapKey = "dept_id") public Department getDepartment() { ... } ... } Example 2 : @Entity public class Department | |
jakarta.persistence.ManyToOne getCustomer() { return customer; } Example 2 : @Entity public class Employee { @Id int id; @Embedded JobInfo | |
jakarta.persistence.NamedEntityGraph , and may be passed to EntityManager.find . Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements String | |
jakarta.persistence.NamedAttributeNode Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedAttributeNode Implemented Interfaces: Annotation A NamedAttributeNode is a member element of a NamedEntityGraph . See Also: NamedEntityGraph NamedSubgraph Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements String value | |
jakarta.persistence.NamedEntityGraphs Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedEntityGraphs Implemented Interfaces: Annotation Target: Type Used to group NamedEntityGraph annotations. See Also: NamedEntityGraph Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements NamedEntityGraph[] value Since: Jakarta | |
jakarta.persistence.MapKeyTemporal the date/time types defined in java.time . Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements | |
jakarta.persistence.MapsId is derived from the referenced parent entity. Since: Jakarta Persistence (JPA) 2 .0 Annotation Elements String | |
jakarta.persistence.ConstructorResult NamedNativeQuery ColumnResult Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements Class | |
jakarta.persistence.Converts Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Converts Implemented Interfaces: Annotation Target: Method, Field, Type Used to group Convert annotations. Multiple converters must not be applied to the same basic attribute. See Also: Convert Since: Jakarta Persistence (JPA) 2 .1 | |
jakarta.persistence.Converter. See Also: AttributeConverter Convert Since: Jakarta Persistence (JPA) 2 .1 Annotation Elements boolean autoApply | |
jakarta.persistence.ConnectionConsumer EntityManager.runWithConnection(ConnectionConsumer) Since: Jakarta Persistence (JPA) 3. 2 Public Instance | |
jakarta.persistence.ColumnResult Since: Jakarta Persistence (JPA) 2 .1 Additional JDK methods inherited from java.lang.annotation | |
jakarta.persistence.ConstraintMode Jakarta Persistence (JPA) Enum jakarta.persistence.ConstraintMode java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence.ConstraintMode Implemented Interfaces: Constable , Comparable , Serializable Used to control the application of a constraint. Since: Jakarta Persistence (JPA) 2 .1 Enum | |
jakarta.persistence.ConnectionFunction EntityManager.callWithConnection(ConnectionFunction) Since: Jakarta Persistence (JPA) 3. 2 Public | |
jakarta.persistence.Embeddable; ... } Example 2 : @Embeddable public class PhoneNumber { protected String areaCode; protected String | |
jakarta.persistence.EmbeddedId empName, Date birthDay) {} Example 2 : @Embeddable public class DependentId { String name | |
jakarta.persistence.DiscriminatorColumn with columnDefinition . Default: "" Since: Jakarta Persistence (JPA) 3. 2 int length (Optional) The column length | |
jakarta.persistence.ElementCollection nickNames = new HashSet(); ... } See Also: CollectionTable Since: Jakarta Persistence (JPA) 2 .0 Annotation | |
jakarta.persistence.EntityResult by the SQL query. Default: LockModeType.OPTIMISTIC Since: Jakarta Persistence (JPA) 3. 2 FieldResult | |
jakarta.persistence.FindOption Timeout EntityManager.find(Class, Object, FindOption...) EntityManager.find(EntityGraph, Object, FindOption...) Since: Jakarta Persistence (JPA) 3. 2 | |
jakarta.persistence.EnumeratedValue (JPA) 3. 2 Annotation Elements This is a marker annotation with no members/elements. Additional JDK |