ObjectDB Database Search
101-150 of 200 resultsTransaction isolation support? of an object. To avoid using the same object by different users concurrently (even for read ... : We have a User class and a Book class, and each User have a list of books which the user ... the User table, just to make the explanation more easy). Now imagine the following where A and B | |
openejb jpa jaas module.*; /** * Created with IntelliJ IDEA. * User : apple * Date: 31.01.2013 * Time: 06:01 * To change this template ... String username; private char[] password; private Map options; /** * User . */ protected String login ... (); properties.put("javax.persistence.jdbc. user ",options.get(" user ")); properties.put("javax.persistence.jdbc | |
Unable to convert 1.x odb file to 2.x have been found: Type eu.extech.quant.data. user _attribute.UserAttributesMap, field "map" - 12 ... 10:58:29 #53 type.registry] New type eu.extech.quant.data. user _attribute.UserAttributesMap [2014-05-06 10:58:29 #54 type] Type eu.extech.quant.data. user _attribute.UserAttributesMap is not enhanced | |
Object explorer cannot open odb file. ObjectDB many-to-many relationship in attachement) @Entity public class User { @Id private String code; @OneToMany(mappedBy = " user ") @MapKey private Map ... ; private User user ; @Id @ManyToOne(cascade = CascadeType | |
Handling deleted references the following hierarchy: class User { Profile profile } class Profile { ... } Whenever the profile of a user is set to null we create a new (default) one to achieve that each user has a profile. To reset ... and no version. To simplify the use case I added a @PostLoad method to the User class, which simply checks | |
Trouble bug on explorer numeric value of field field model. User .gid using enhanced method (error 362) at javax.swing ... .java:97) Caused by: com.objectdb.o.UserException: Failed to set numeric value of field field model. User ... more Caused by: java.lang.IllegalArgumentException at model. User .__odbSetNumMember(Unknown Source) at com | |
JSON serialization and __odbHidden members before). Here's my class: public class User implements Serializable { private Long id; private ... ; private Profile profile; private List comments = new ArrayList (); public User (){ } // here the usual ... with relevant getters/setters) RESTful service class: @Path("/ user ") public class rs1 | |
Optimistic Locking an optimistic lock. I have two users logged on to our system. They both read and display the same data. Then I change the data with user 1 and submit, and then I change it with user 2 and submit. User 2 does not get an optimistic lock exception, so the database has user 2’s change | |
Level 2 cache not hit in @ManyToOne Hi! I have 2 entities: User and Item, both @Cacheable. Item has @ManyToOne private User user ... " user ". " user " is loaded each time from the DB (tested by changing data in explorer and reading in my app). " user " should also be taken from L2 cache, shouldn't it? Otherwise...it's a huge | |
Type xxx is not found (error 301) The error: Type User is not found (error 301) occurs when I query the db for a type before any instances of that type have been persisted, e.g.: return em.createQuery ("SELECT a FROM User ... query execution by using: em.find( User .class, User .class); but this is not | |
Dirty checking view messages based on that graph of objects. e.g: if a collection of User Entity objects changed in a transaction, I'd like to generate a Json object with a list of the Users which were Added ... of thing. There are plenty of reactive user interface libraries, knockoutjs, Vuejs (actually based | |
Find the error...JPA ENTITY HIBERNATE; @SuppressWarnings("unused") @Entity @Table(name = " user ") public class user implements ... ) { this.email = email; } public user () { } } package com.example.demo ... (name = "message") private String message; @ManyToMany(mappedBy = "messages") private Set user ; public | |
Update is ignored by ObjectDB the database, and User entity remains modified only in code, even if I go: user = smdb.find( User .class, user .id); In this source highlighted lines modifying entity, but not the database. @Stateless ... userID, int itemID) { Order order = shopdb.find(Order.class, orderID); if (order == null) { User | |
objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation] New type com.greensoft.objectdb.test.entity.value.BooleanValue [2016-08-24 16:14:34 #16 type. user ... .greensoft.objectdb.test.entity.value.EnumValue [2016-08-24 16:14:34 #19 type. user ] Enhancement ... #16 type. user ] Enhancement of type com.greensoft.objectdb.test.entity.value.BooleanValue is old | |
NPE after an @embedded obj is updated for a detached entity I have an entity that looks like this: class User { @embedded private ... ; User user = entityManager.createQuery("select...... entityManager.detach( user ); user .getProfile().setDescription("Something... I get the following | |
use of Singleton into tomcat for example with serarch for name of a user , a search for a lastname, so way. but i ask if all method it to be syncorniuzed into signature?????? for example: public syncronized User searchForName(String name){ User user =null //query for get the user correspondant. return user ; } public void  | |
LazyInitialization / join fetch I have a survey that carries the tabla Items . A company has several items , a user charge and technical user also . A specialty has several technical users . Area A has a charge . What happens ... have a survey that carries the tabla Items . Being a company that has multiple items , a user charge | |
Remove an entity which attributes were changed - OptimisticLockException instances, i.e. this could also be demonstrated by a non OSGi application: User 1 retrieves an object and changes it. User 2 retrieves an object, removes it and commit. This should work if the changes of user 1 are local in memory and will fail with OptimisticLockException if user 1 is committing or | |
multi EntityManager with Spring Boot, but 'Too many persistable types (>10).persistence.jdbc.url}") public String url; @Value("${javax.persistence.jdbc. user }") private String user ... .jdbc. user ", user ); props.put("javax.persistence.jdbc.password",password); entityManagerFactoryBean ... .persistence.jdbc2. user }") private String user ; @Value("${javax.persistence.jdbc2.password}") private | |
Field level privileges addons and privileges on access some of the fields on java side. Can we give privileges to users , for example some users can only read some fields and some just can write java fields. Some users ... ). But this could be handled by your application that will have to manage its own users | |
Change path for urls2.xml file the program still creates objectdb/urls2.xml in my system user folder. Is there a setting to change ... and log files. jb11 James Evarts This file is created in a directory .objectdb under the user home directory (regardless of the ObjectDB home path). You can change the user home directory by changing | |
Entity has be persistended,but query not fetched?(); User user = new User (); em.persist( user ); Query query = em.createQuery("SELECT u FROM User u");   | |
LDAP and ObjectDB st.clair.clarke St Clair Clarke Most applications manage users and permissions in the database but not in the configuration file. You can use one shared user in objectdb.conf for the entire application and manage your application users and permissions using your own persistent objects in | |
ODB tries to create log files inside its own jar on Win7 I sent a demo of an app I've been developing on Linux to some Windows 7 users ... it. Either way, it does not affect Linux users ; I can copy my executable jar to another Linux ... to 2.3.7.b15, but in my haste to get feedback from Win7 users , that wasn't the only change I | |
EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable to try the second URL in the list: objectdb://10.9.2.15:9998//10.9.2.15:9999/test.odb; user =admin ... ("objectdb://10.9.2.15:9999/test.odb; user =admin;password=password|" + "objectdb://10.9.2.15:9998//10.9.2.15:9999/test.odb; user =admin;password=password");   | |
How to enhance the JPA/Spring/MVC to implement RESTfull for CURL client?" http://localhost:8080/Guestbook/ user /siegfried -X GET The logs say Oct 11, 2013 11:21:28 PM org ... with URI [/Guestbook/ user /siegfried] in DispatcherServlet with name 'spring' Here is my controller ... ; private GuestDao guestDao; @RequestMapping(value = "/ user /{username}", method = org | |
Multitenancy with discriminator User { protected String id; protected Domain mainDomain ... ; ... } Here are some feature of the required filtering system: a user ... 1" domain a User with no specified "mainDomain" will be able to see al entities (no filtering | |
Problem with Composite indices class Client { @Index (unique = "true") private String name; } and a User class which looks like: @Index (members = {"client", "emails"}) public class User { private Client client; private List emails; } So I want to be sure that each User which belongs to one Client has an unique Email address | |
Does ObjectDB support @Parent for @Embeddable reference to parent? instrumentation: @Entity class User implements Serializable { @Id @GeneratedValue(strategy = GenerationType ... { User user ; public void setUser( User user ) {..} setURL(String url) { if ( user .active | |
Problem connecting to the replicated server.com:6136//masterserverurl.net:6136/prod/theFile.odb; user =slaveUserName;password=slavePassword; I get an error: User slaveUserName has no permission to to access database file (error 572) Why is that? Trianglehead Json Error Check that you add the user (slaveUserName | |
OneToMany and cascade delete problem(ErrorMessage.java:74) at com.objectdb.type. user .UserMember.newException(UserMember.java:868) at com.objectdb.type. user .UserMember.write(UserMember.java:544) at com.objectdb.type. user .UserMemberList.write ... .TypeWriter.writeElement(TypeWriter.java:262) at com.objectdb.type. user .UserMember$ReflectionMember.write0 | |
Possible Bug in MEMBER OF Hello! I maybe found another bug in version 2.3.3. I'll send you a test DB via support ticket. Try the following query in explorer: SELECT u FROM Unit u WHERE : user MEMBER OF u. users Set user ... for operator MEMBER OF SELECT u FROM Unit u WHERE : user MEMBER OF u. == users | |
Can't post on your forum and posted your email about this issue as a test (and to let other users know about this problem ... another user and apparently after a similar action of changing his password the problem was solved ... cookies that are used to identify a logged in user . I use Chrome and do not have that problem | |
client server mod of communication.createEntityManagerFactory("objectdb://localhost:6137/settercode.odb; user =admin;password=admin"); 2 ... /settercode.mem; user =admin;password=admin"); i do not want to first one, i want second ... .createEntityManagerFactory("objectdb://localhost:6137/settercode.mem; user =admin;pass=admin;); in this way | |
Replication error - parsing objectdb config.persistence.PersistenceException Replicated database objectdb:///localhost:6136/TestReplication.odb; user ... ; user =admin;password=admin is unavaliable at com.objectdb.o.MSG.d(MSG.java:74) at com.objectdb.o.SMR ... :6136/TestReplication.odb; user =admin;password=admin"); EntityManagerFactory replicatedEmf | |
OptimisticLockException - it is acceptable to present an error to the user if it tries to commit changes on a document ... to present an error to the user if it tries to commit changes on a document that has been concurrently ... " However, my application runs a time critical state machine, and it's not acceptable to do a round trip to the user | |
ObjectDB Roles and Groups for this. For example, I would like to place several users under a given group or role, but I see no way of doing ... $default user and all the other users will inherit these settings. It would be possible to support inheritance from other virtual users (in addition to $default ) in next versions - will this help | |
persists and update together ? and this will reduce finding same object again. On jpa : User obj2 = ...; User usr2 = entityManager.find( User .class, user .getGid()); if(usr2 != null) {   | |
newbie - lots of exeptions_DataSync-war_war/, URLEntry : file:/C:/ Users /Administrator/Documents/NetBeansProjects/ProhireNetwork ... , URLEntry : file:/C:/ Users /Administrator/Documents/NetBeansProjects/ProhireNetwork_DataSync/dist/gfdeploy ... to read from file 'C:\ Users \ADMINI~1\AppData\Local\Temp\1\objectdb_8889438785985987880\list_21.val | |
2.9.x query issue with @Unique constraint ..) clause. It ignores the or operator. @Entity public class User { .. @Unique private String userName; .. } select u from User u where (u.userName = :userName or :userName is null) // null input ... User locating all the User (u) instances. [Step 2] Evaluate fields in User (u) instances. [Step 3 | |
ObjectDB 2 JDO Manual that focuses on using ObjectDB 2 with JDO can help JDO users . But since writing a new manual ... , this will be done only if there is a sufficient demand. support Support As a user of the JDO side of ObjectDB a JDO ... has hundreds of thousands of current users . Most of those users are probably now looking for a new | |
Indexes broken after schema update.userservice.entities. User [profile] [2012-08-19 19:42:25 #77 store] BTree Page: 7 [2012-08-19 19:42:25 ... objectdb.jar com.objectdb.Doctor ../../db/ user .odb ObjectDB Doctor [version 2.4.2_02] Copyright (c ... it is very small with only 1 User in it. To replicate the issue you can do the following: SELECT u from | |
ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection;(most ObjectDB users use field access mode and are not affected). A critical Enhancer bug in handling ... , as noted above, most ObjectDB users do not use property access so are not affected. Build 2.6.9_01 ... :7605639074554134295) Severe: [2016-08-17 09:27:21 #62 type. user ] Enhancement of type com.greensoft.entity.value | |
stress test -> com.objectdb.o.InternalException: null I am running a stress test with 2 users , each making a request to the JSON API (which uses as ... /issue/new com.objectdb.o.InternalException: Negative snapshot user count com.objectdb.o.InternalException: Negative snapshot user count at com.objectdb.o.SNP.D(SNP.java:344) at com.objectdb.o.SFL.aa(SFL | |
Page cache File handling produced an java.io.IOException: Negative seek offset The Exception: Failed to read from file 'C:\ Users \DEVELO~1\AppData\Local\Temp\objectdb ... .PersistenceException Failed to read from file 'C:\ Users \DEVELO~1\AppData\Local\Temp\objectdb ... : com.objectdb.o.UserException: Failed to read from file 'C:\ Users \DEVELO~1\AppData\Local\Temp\objectdb | |
each 1-2 days objects on some objectdb level lock/block each other return fast enough it tries running it again and again? This could also be a user or users that send ... (and a few seconds could also be considered by users as slow), e.g. by using additional indexes, to prevent ... . after a user refresh the page. support Support we already have a query timeout. All the client | |
missing merger users use version-check="false" and others version-check="true". This is probably not ... also a mixed environment in which some users use version-check="false" and others version ... users use version-check="false" and others version-check="true". hgzpincher Hans-Georg | |
ArrayIndexOutOfBoundsException: -1 after failure in writing to database file 'C:\ Users \Home\workspace\Object.Test\test\persistTest.odb ... : Attempt to commit a transaction after failure in writing to database file 'C:\ Users \Home\workspace ... transactions) and it should serve the right version of every page for every user (depending | |
StateManager.setObjectField(pc,field,currentValue,newValue) - JDO Method JDO Method in javax.jdo.spi.StateManager void setObjectField ( PersistenceCapable pc, int field, Object currentValue, Object newValue ) Mark the field as modified by the user . Parameters: pc - the calling | |
Transaction.setSynchronization() - JDO Method JDO Method in javax.jdo.Transaction setSynchronization () The user can specify a Synchronization instance to be notified on transaction completions. The beforeCompletion method is called prior to flushing instances to the data store. The afterCompletion method is called after performing state |