About long

81-90 of 200Refresh
JDO Doc
2

providedLongField(pc, field, currentValue)

Method javax.jdo.spi.StateManager void providedLongField(   PersistenceCapable pc,   int field,   long currentValue ) The value of the field requested to be provided to the StateManager. Parameters: pc - the calling PersistenceCapable instance field - the field number currentValue - the current value of the field Since: JDO 1.0
JDO Doc
2

replacingLongField(pc, field)

Method javax.jdo.spi.StateManager long replacingLongField(   PersistenceCapable pc,   int field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Returns: the new value for the field Since: JDO 1.0
JDO Doc
2

setResultClass(cls)

may be specified to be one of the java.lang classes Character, Boolean, Byte, Short, Integer, Long, Float
Forum
2

TemporalType injection with Calendar using JPA

explained on the primary key page. Probably Calendar may be supported in the future - but as long as ... .   Based on that, I have replaced the Calendar fields with "long" data types which represent ... .PROPERTY) public class TimePeriod implements Serializable { private long beginTime
Forum
2

Database Inconsistency or corruption

", pkColumnValue = "objectValueId", allocationSize = 1)   protected Long id;   private String type;   private Long revision;   protected boolean markedDeleted = false;   @ManyToOne   private Project project ... (       String type,       Long revision,       Project project,       Set attributes
Forum
2

Failing to read entities under load in multithreaded tests

Serializable{     private static final long serialVersionUID = 1L;     private long version;     private long longId;     @Id     @GeneratedValue(strategy=GenerationType.TABLE, generator="TestIdTableGen")     public long getLongId() {         return longId;     }     public void setLongId
Forum
2

IDs of Entities suddenly became UUIDs?

do have a UUID String as their id instead of Long which is of course causing a lot of troubles. Note that this even occurrs on the same "Table" -- some saved Entitities of same type do still have a Long ID, others a String UUID. Our Base-Entity everything inherits from is declared as usual with Long
Forum
2

Internal exception when updating date filed (TemporalType.DATE)

initDatabase() {             long personsCount = getPersonsCount();             if (personsCount == 0 ... ();         }         private void createPersons(long count) {             try ... ());             return person;         }         private long getPersonsCount() {             try
Forum
2

Problem of query With an aggregate function

) from table If yes I have this methode that return a list of Long: public List<Long ... (); List<Long> listSommeLong = new ArrayList<Long>(); for (BigDecimal[] bigDecimals : listRes ... that Object can't cast to Big decimal  and my query always retuen a list of Long like
Forum
2

Should derived fields of an EmbeddedId be manually maintained by app code?

; } int endCnt = lastInstanceInMap + numberToGen; int startCnt = lastInstanceInMap; long ... .setParameter("container", this); q.setFlushMode(FlushModeType.AUTO); try { long l = (Long) q ... public static class ECompoundKeyMapItemId implements Serializable { private static final long