Internal Website 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 | |
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;   | |
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 | |
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 | |
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 | |
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 | |
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 | |
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)   | |
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 | |
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 | |
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 | |
Error using query with MAX() function = "mySchema") public class TestEntity { @Id private int id; @ Basic @Lob private String remark; @ Basic | |
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 | |
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 | |
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 | |
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 | |
Query over the keySet of a map field with collection parameter static class EntityParent { @ Basic String value; public EntityParent(String name) { value = name ... EntityChild { @ Basic String value; public EntityChild(String name) { value = name; } } btc_es BTC | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
javax.persistence.MapKeyClass JPA Annotation MapKeyClass Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the type of the map key for associations of type java.util.Map . The map key can be a basic type, an embeddable class, or an entity. If the map is specified using Java generics, the MapKeyClass annotation | |
javax.persistence.Temporal may be used in conjunction with the Basic annotation, the Id annotation, or the ElementCollection annotation | |
javax.persistence.criteria.From: IllegalStateException - if invoked on a path that corresponds to a basic type IllegalArgumentException | |
javax.persistence.Converts JPA Annotation Converts Target: METHOD, FIELD, TYPE Implemented Interfaces: Annotation Used to group Convert annotations. Multiple converters must not be applied to the same basic attribute. See Also: Convert Since: JPA 2.1 Public Annotation Attributes Convert [] value default null The Convert mappings that are to be applied. Since: JPA 2.1 | |
javax.persistence.criteria.Path: IllegalStateException - if invoked on a path that corresponds to a basic type | |
javax.persistence.criteria.Join JPA Interface Join Type Parameters: - the source type of the join - the target type of the join 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 Methods Attribute getAttribute () Return the metamodel | |
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 | |
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 | |
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 | |
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 |