ObjectDB Database Search
51-100 of 168 resultsComposite Index error 328 getId() { return id; } public void setId(int id) { this.id = id; } @ Basic @Column(name = "dy_id") public int getDyId() { return dyId; } public void setDyId(int dyId) { this.dyId = dyId; } @ Basic @Column ... ; } @ Basic @Column(name = "usr_name") public String getUsrName() { return usrName; } public void | |
Schema Update: class hierarchy change of MyEntity package profileMigration.classhierachychange; import javax.persistence. Basic ; import javax ... ; emf.close(); } @Entity public static class BaseEntity { @ Basic String id; } @Entity public static class NamedEntity extends BaseEntity { @ Basic String name; } @Entity public | |
Date field Index is corrupted due to time change results if we are successful. As for the use of the DB, our use is very basic , simple (I guess ... (DefaultButtonModel.java:259) at javax.swing.plaf. basic ... . Basic ; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax | |
Trouble bug on explorer.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf. basic .BasicMenuItemUI.doClick ... .swing.plaf. basic .BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt.Component ... .AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf. basic .BasicMenuItemUI.doClick | |
Should derived fields of an EmbeddedId be manually maintained by app code?.persistence. Basic ; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax ... id = "1"; @SuppressWarnings("unused") // used by JPA @Version private int version; @ Basic protected ... .persistence. Basic ; import javax.persistence.Embeddable; import javax.persistence.EmbeddedId; import javax | |
How to avoid NULL values on Embedded entities private Cliente cliente; //Opcional @ Basic (optional=false ... ; @ Basic (optional=false) private String calle; @ Basic (optional=false) private int numero; @ Basic (optional=false) private String ciudad;   | |
Performance issue in a query due to internal calls visitRefs and visitKeyRefs and visitKeyRefs? @Entity @Access (AccessType.FIELD) public class TCVector { @ Basic private String architecture; @ Basic private String scopeID; @ Basic private String name; @ Basic private String description; @ Basic private int signalIndex = 0; @OneToMany (cascade = CascadeType.ALL, targetEntity = TCSignal | |
Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne).persistence. Basic ; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax ... "; @SuppressWarnings("unused") // used by JPA @Version private int version; @ Basic protected java.lang.Integer ... .persistence. Basic ; import javax.persistence.Entity; import javax.persistence.FetchType; import javax | |
@ElementCollection of type enum.EAGER) private Set permissions; package x.x.x.x public enum UserPermission { BASIC , COACH, ADMIN } Use case: there are users which contain the first 2 permissions ( BASIC and COACH, so the first 2 entries). Bug: If UserPermission enum is modified by adding, for example, BASIC231 between BASIC | |
Schema-Update: Rename superclass and remove one subclass SuperClass { @ Basic public String kind; @ Basic public String mode; protected ChildClassA() { } } ChildClassB: @Entity @Access(AccessType.FIELD) public class ChildClassB extends SuperClass { @ Basic ... ) public class ChildClassA extends RenamedSuperClass { @ Basic public String kind; @ Basic public String | |
failure to enforce NOT NULL for java.lang.String my test cases are indicating that @ Basic (optional=false) and @Persistent(nullValue=NullValue ... ; //@Persistent(nullValue=NullValue.EXCEPTION) @ Basic ... ; //@ Basic (optional=false)   | |
First query takes 4+ minutes to complete class in the DB. The class has data members that are basic Java types. Here is extract of the code ... .channelNumber DESC We limit the result to 50 records. Basically we wish to get the last 50 records ... the application that uses the DB in embedded mode. So we basically start the application and let is stabilise | |
Wrong data stored in time only fields.util.List; import javax.persistence. Basic ; import javax.persistence.Entity; import javax.persistence ... ; @ Basic (optional = false)   ... ; @ Basic (optional = false)   | |
Performance issue in a query due to compareTo calls (AccessType.FIELD) public class TCStep extends Identifiable { @Index private long stepNumber; @ Basic private String comment; @ Basic private boolean isVisible; @ Basic private int numberOfDefinedValues = 0; @ Basic private int lastIdentifierIndex = -1; @Deprecated @Removed (version = EPVersion.EP2_5_0 | |
Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x to database, basically created a Persistance manager object for odb file 2.x 4. Run the doctor Am i right ... the old odb file 3. Connect to database, basically created a Persistance manager object for odb file ... file 3. Connect to database, basically created a Persistance manager object for odb file 2.x 4. Close | |
Add class to objectdb ?) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf. basic ... (AbstractButton.java:376) at javax.swing.plaf. basic .BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157) at javax.swing.plaf. basic | |
Wrong data stored in date only fileds private Date startTime; // Time: time part of startDateTime @ Basic (optional = false) @Temporal ... setStartDateTime(Date startDateTime) { this.startDateTime = startDateTime; } @ Basic (optional = false) @Temporal ... startDate) { this.startDate = startDate; } @ Basic (optional = false) @Temporal(TemporalType.TIME) public | |
Unexpected internal exception during set field of an Embeddable to null.persistence. Basic ; import javax.persistence.Embeddable; import com.btc.ep.architecture.bl.dmos.values ... ; @ Basic private boolean defined; @ Basic String | |
Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices still have another question. Have @ Basic long types with @Index instead of string types the same advantages as primary long keys. btc_es BTC EmbeddedSystems Have @ Basic long types with @Index instead ... advantages as primary keys with long types in comparing to fields with string types. @Index @ Basic long | |
New to Product & Having An Issue; this.objectId = objectId; } public DomainId() { super(); } @ Basic (optional=false) public String ... = accountId; } @ Basic (optional=false) public String getObjectId() { return objectId; } public void setObjectId | |
Error using query with MAX() function = "mySchema") public class TestEntity { @Id private int id; @ Basic @Lob private String remark; @ Basic | |
em.flush(); em.clear(); loosing data and not persisting managed objects.persistence. Basic ; import javax.persistence.Entity; import javax.persistence.Id; import javax ... ; @ Basic @Lob private String remark;   | |
Help with 'not like/lower' query Hi all, Honestly, I'm fairly new with JPA2 Criteria queries - but as far as code effort goes, it has saved me a bit of pain. I'm writing a dynamic query builder (only 1 level deep for basic ... ) ... 1 more So I am definitely saying - maybe my query is stuffed.. which is basically | |
explorer NullPointerException.doClick(AbstractButton.java:357) at javax.swing.plaf. basic .BasicMenuItemUI.doClick(BasicMenuItemUI.java:809) at javax.swing.plaf. basic .BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850 | |
Trouble viewing db in Explorer.) at javax.swing.plaf. basic .BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component ... .swing.plaf. basic .BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster | |
com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV; } @ Basic public String getMapFromCli() {   ... ; at javax.swing.plaf. basic .BasicButtonListener.mouseReleased(BasicButtonListener | |
Dependency from enhanced classes to the objectDB library & orm.xml) and has a reference to all bundles with entities. Basically this works. But only as long as ... Support Hello Support, yes in this thread Several topics were discussed. The basic Topic | |
Accessiblity of attributes in entities in several OSGi-Bundles { @ Basic private String name; public void setName() { this.name = name; } public String getName() { return name; } } @Entity class MessageImpl { @OneToOne private ModelElementImpl e; @ Basic private | |
Mismatch client-server protocol prefix. That's all. Basically this also updated all the Spring libraries to a newer version and maybe the tomcat ... them and creates new ones if there are more needed. Basically I have to use it this way to make @Transactional | |
Should I be able to persist a JFrame (or gui components in general)? if I tried them from command line). 3. Basically what I did to the sample was, I morphed ... . The point is, it has been a goal of mine for some time now, to find a way of programming basic "editor | |
Unable to execute update query.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf. basic ... ) at javax.swing.plaf. basic .BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt | |
Empty temporary dat files in the temp folder files, not RAM. I prepared a TestCase to demonstrate the behavior: import javax.persistence. Basic ... MyEntity { @ Basic String name; } } Why are the files are not removed? btc_es BTC | |
Problem with entities detection.io.Serializable; import java.util.Date; import java.util.List; import javax.persistence. Basic ... ; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @ Basic (optional = false) @Column(name = "id | |
multiple different applications access one odb file. thanks. peric.emil Emil Perić Basically , ObjectDB doesn't support using different versions ... .emil Emil Perić We can investigate the option to work on a very basic read-only JDBC driver | |
Missing (null) elements in eager loaded references children ; @ManyToOne private DataElement parent ; @ Basic private String label ; etc... } Embedable: @Embeddable public class Cost { @OneToMany (fetch = FetchType. EAGER ) private List dataElements ; @ Basic | |
javax.persistence.MapKeyEnumerated JPA Annotation MapKeyEnumerated Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the enum type for a map key whose basic type is an enumerated type. The MapKeyEnumerated annotation can be applied to an element collection or relationship of type java.util.Map , in conjunction | |
javax.persistence.Temporal may be used in conjunction with the Basic annotation, the Id annotation, or the ElementCollection annotation | |
javax.persistence.criteria.From to a basic type IllegalArgumentException - if attribute of the given name does not otherwise exist | |
javax.persistence.criteria.Join JPA Interface Join Type Parameters: - the source type of the join - the target type of the join Super Interfaces: Expression , FetchParent , From , Path A join to an entity, embeddable, or basic type. Since: JPA 2.0 The FROM clause (JPQL / Criteria API) article explains how to use Join . Public | |
javax.persistence.criteria.Path to a basic type IllegalArgumentException - if attribute of the given name does not otherwise exist | |
Path | |
Best practise loading big data ( fetch = LAZY ) ArrayList values; } @Embeddable class MyValue { @ Basic boolean flag; @ Basic String ... MyValue { @ Basic boolean flag; @ Basic String stringValue; } btc_es BTC EmbeddedSystems Hello, sorry ... / lazy setting. There may be other reasons. If you could post a simple basic test case | |
com.objectdb.o.InternalException: null) at javax.swing.plaf. basic .BasicTreeUI.paint(BasicTreeUI.java:1185) at com.apple.laf.AquaTreeUI.paint ... .isLeaf(DefaultTreeModel.java:203) at javax.swing.plaf. basic .BasicTreeUI.paint(BasicTreeUI.java:1185 ... ) at javax.swing.tree.DefaultTreeModel.isLeaf(DefaultTreeModel.java:203) at javax.swing.plaf. basic | |
Schema-Update: Rename superclass and remove one subclass SuperClass { @ Basic public String kind; @ Basic public String mode; protected ChildClassA() { } } ChildClassB: @Entity @Access(AccessType.FIELD) public class ChildClassB extends SuperClass { @ Basic ... ) public class ChildClassA extends RenamedSuperClass { @ Basic public String kind; @ Basic public String | |
Entity field renaming does not work (AccessType.FIELD) public class ToleranceDeviationImpl { @ Basic private String referenceDatatype; @ Basic private String comparisonDatatype; } to: @ Basic private | |
ArrayIndexOutOfBounds on showing Tree Window.java:120) at javax.swing.plaf. basic .BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI ... .tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:199) at javax.swing.plaf. basic .BasicTreeUI.getPathBounds(BasicTreeUI.java:529) at javax.swing.plaf. basic .BasicTreeUI.getPathBounds | |
NPE when doing a find() I added a simple User entity during Tomcat startup: class User { @Id @GeneratedValue private long id; @ Basic (optional = false) private String firstName; private String middleName; @ Basic (optional = false) private String lastName; } Everything works fine until I restart the server, which does | |
Navigation through lazy loading from Detached Objects an initial attempt to provide some sort of basic support of this feature. A new system property ( "objectdb.temp.no-detach" ) can be set to disable detachment of objects. Basically | |
InternalException when using MEMBER OF on a large list in a query.setParameter(1, scopeIDs); //scopeIDs is a Set List resultArray = q.getResultList(); Basically , the query ... of String: @ Basic private List properties = new ArrayList (); btc_es BTC EmbeddedSystems The stack | |
javax.jdo.FetchGroup.MULTIVALUED JDO Static Field in javax.jdo.FetchGroup MULTIVALUED For use with addCategory and removeCategory calls. This category includes members of all multi-valued types, including Collection, array, and Map types of basic and relationship types. Since: JDO 2.2 |