171 | Hi, I have an object I am trying to persist (java) - It has several fields of type long[][]. It is taking very long to persist and sometimes never finish - it hangs on getTransaction().commit ... static final long serialVersionUID = 1L; public @Id String id; @OneToMany(fetch |
153 | Hi, I need to change field type in our model from long to String. After changing filed type in our model and repairing database with doctor, most of our entities is gone. Doctor puts some errors ... ? lwalkowski Lukasz Walkowski Changing a field from long to String should not require any specific action |
153 | .**.Datapoint,com.**.Advalm); long t0 = System.currentTimeMillis(); projects = service ... , generator = "PROJECT_SEQUENCE") private Long id; .. .. @OneToMany(cascade |
152 | EntityManager.refresh takes a long time for entity object Person in this code: logger.log(Level.INFO, "begin select for person " + new Date().toString()); TypedQuery<Person> personQuery = em.createQuery("SELECT m FROM Person m", Person.class); List<Person |
152 | " /> Could you explain the long time for first persist? btc_es BTC EmbeddedSystems Some operations |
152 | Hi! I have seen a strange behavior of ObjectDB Explorer: it shows @Id as being Long, not Integer as it's normally declared in the java class. This happens now with all entities in all 3 databases used for one project. If I open one of the entities in the explorer, then I click on it's id (in |
24 | key cannot be modified. It represents the entity object as long as it exists in the database. As ... 64 bit number (long) that is set automatically by ObjectDB for every new entity object ... key field: @Entity public class Project { @Id @GeneratedValue long id; // still set |
22 | ID attribute - including inherited: SingularAttribute<MyEntity,Long> id1 = entityType.getId(Long.class); // Gets a single ID attribute - excluding inherited: SingularAttribute<MyEntity,Long> id2 = entityType.getDeclaredId(Long.class); // Checks if the type has a version |
21 | to any numeric type. In this context numeric types are: byte, short, char, int, long, float, double, Byte, Short, Character, Integer, Long, Float, Double, BigInteger, BigDecimal and enum values ... long as the elements are convertible (e.g. from int[] to ArrayList<Long>). From any object to any |
2 | , 0xFFFF, 07777, ... long 2003L, -127L, 0L, 0xFFFFL, 07777L, ... float 3.14F, 0f, 1e2f, -2.f, 5.04e+17f ... (Byte, Short, Character, Integer, Long, Float, Double), as well as BigInteger and BigDecimal can participate in comparisons as if they were primitive numeric types (byte, short, char, int, long, float |