data-objects

java.lang.NoClassDefFoundError: org.eclipse.core.runtime.RegistryFactory

*爱你&永不变心* 提交于 2019-12-24 19:07:03
问题 I'm trying to use DataObjects in Java: DataFactory factory = DataFactory.INSTANCE; in one java Project using: import commonj.sdo.DataObject; And I'm getting this error: Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.core.runtime.RegistryFactory at org.eclipse.core.internal.runtime.InternalPlatform.getRegistry(InternalPlatform.java:671) at org.eclipse.core.runtime.Platform.getExtensionRegistry(Platform.java:867) at com.ibm.wsspi.sca.extensions.ServiceProviderRegistry

Using Data Objects while E2E testing with Protractor

风格不统一 提交于 2019-12-22 14:16:35
问题 So a coworker and I were discussing making a data object for our e2e tests. From my understanding about data objects they are used for decoupling your test suites. For example, my first test suite is to create an account and to test if the fields are valid and the second test suite logins into the account and does its own tests. I am told it is good to use data objects (not a page object) just incase the first test suite fails when making an account. That way we can use the data object in the

Refactoring large data object

前提是你 提交于 2019-12-20 08:56:47
问题 What are some common strategies for refactoring large "state-only" objects? I am working on a specific soft-real-time decision support system which does online modeling/simulation of the national airspace. This piece of software consumes a number of live data feeds, and produces a once-per-minute estimate of the "state" of a large number of entities in the airspace. The problem breaks down neatly until we hit what is currently the lowest-level entity. Our mathematical model estimates/predicts

[Silverstripe 2.4]: How to get records containing columns from one-to-many relationship?

北战南征 提交于 2019-12-08 10:52:14
问题 there are two dataobject classes "A" and "B" having one-to-many relationship. I want to get data containing columns from both parent and child dataobject. How to achieve this in Silverstripe 's ORM or SQL Query. Example: Dataobject "A" has two events and first event contain one date info(start and end date). Second event contains two dates info (start and end date). I want to query database to get information containing columns from both "A" and "B" and it should shows 3 row as result. one

Using Data Objects while E2E testing with Protractor

你离开我真会死。 提交于 2019-12-06 05:24:05
So a coworker and I were discussing making a data object for our e2e tests. From my understanding about data objects they are used for decoupling your test suites. For example, my first test suite is to create an account and to test if the fields are valid and the second test suite logins into the account and does its own tests. I am told it is good to use data objects (not a page object) just incase the first test suite fails when making an account. That way we can use the data object in the second test suite to create a new user just for testing login. My problem is that if my first test

Refactoring large data object

一笑奈何 提交于 2019-12-02 17:18:19
What are some common strategies for refactoring large "state-only" objects? I am working on a specific soft-real-time decision support system which does online modeling/simulation of the national airspace. This piece of software consumes a number of live data feeds, and produces a once-per-minute estimate of the "state" of a large number of entities in the airspace. The problem breaks down neatly until we hit what is currently the lowest-level entity. Our mathematical model estimates/predicts upwards of 50 parameters for a timeline of several hours into the past and future for each of these

Can I access R data objects' attributes without fully loading objects from file?

一世执手 提交于 2019-11-29 17:04:11
Here's the situation. My R code is supposed to check whether existing RData files in application's cache are up-to-date. I do that by saving the files with names consisting of base64 -encoded names of a specific data element. However, data corresponding to each of these elements are being retrieved by submitting a particular SQL query per element, all specified in data collection's configuration file . So, in a situation when data for an element is retrieved, but afterwards I had to change that particular SQL query, data is not being updated. In order to handle this situation, I decided to use

Can I access R data objects' attributes without fully loading objects from file?

蓝咒 提交于 2019-11-28 11:03:16
问题 Here's the situation. My R code is supposed to check whether existing RData files in application's cache are up-to-date. I do that by saving the files with names consisting of base64 -encoded names of a specific data element. However, data corresponding to each of these elements are being retrieved by submitting a particular SQL query per element, all specified in data collection's configuration file . So, in a situation when data for an element is retrieved, but afterwards I had to change