About username

manual

Server User List

Explains how to define and set users, directories and permissions in the ObjectDB fast Java database server for JPA/JDO.... ObjectDB Server and specifies their specific settings (username, password, permissions, quota). The default configuration file ... element: <users > <user username = "admin" password = "admin" ip = "127.0.0.1" admin ...

 
forum_thread

failure to enforce NOT NULL for java.lang.String

my test cases are indicating that @Basic(optional=false) and @Persistent(nullValue=NullValue.EXCEPTION) are not enforced in 2.3.7_08 or that i have failed to understand how to annotate. example: @Entity public class Request {   public Request() { }   @Id @GeneratedValue(strategy=GenerationType.IDENTITY)   private Long id; ... NullValue . EXCEPTION ) private String username ;   public Long getId ( ) { ... String getUsername ( ) { return username ; } public void setUsername ( String ...

 
api-jdo

setConnectionUserName(userName)

Set the user name for the data store connection.(Method of javax.jdo.PersistenceManagerFactory)

 
manual

Database Connection using JPA

Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction.... connection url: user - for specifying a username in client server mode. password - for ... To connect to an ObjectDB server registered username and password have to be specified: EntityManagerFactory ...

 
manual

[ODB1] Chapter 5 - JDO Connections

The PersistenShows how to use database connections and transactions in JDO. ceManagerFactory interface represents a factory of database connections. Its main role is to provide PersistenceManager instances. The PersistenceManager interface represents a database connection. Every operation on a database requires a PersistenceManager instance. The Transaction interface represents a transaction on a database. Every operation that modifies the content of the database requires an active transaction.[toc hidden:1]... to enable user identification and permission checking. Username and password are optional in a client server connection only when the ... anonymous access to the database. If not specified here, username and password can also be specified later when obtaining a ...

 
issue

Internal Exception: null

The query SELECT COUNT(t) FROM TrackerUser t WHERE NOT t.username = :username with :username -> "admin" leads to the following exception: ... t ) FROM TrackerUser t WHERE NOT t . username = :username with :username -> "admin" leads to the following ...

 
forum_thread

enumeration table? how to on pure jpa?

Hello , I've relational db , and there is some table named enumerations with , some key and values.We will migrate to objectdb. Our problem is , we want to store some keys and values for global application configs. Like; tablename : enumeration table rows: key                value ... value   servername 127.0.0.1 serverPort 4444 username test password test pictureCount 588 ...   ... ; @ Column ( field = "username" ) private String username ; @ Column ...

 
forum_thread

The server cannot start in CentOS

Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. ... >   <users > <user username = "admin" password = "admin" ip = ... /> </user > <user username = "$default" password = "$$$###" > <dir ... > </user > <user username = "user1" password = "user1" /> </users > ...

 
forum_thread

Replication error - parsing objectdb config

I'm trying to replicate a database using the following config: <server>   <connection port="6136" max="100" />   <data path="$objectdb/db-files" />   <replication url="objectdb://localhost:6126/DEV1/NewMessagePipe.odb;user=admin;password=admin" /> </server> ... line 38: cvc-complex-type.4: Attribute 'username' must appear on element 'replication'. at ... cvc-complex-type.4: Attribute 'username' must appear on element 'replication'. at ... This is a bug. The username attribute was removed in the last version but the old XML schema ...

 
forum_thread

Connection is closed Caused by: java.io.EOFException

I am getting this exception on a regular basis, after a period of time of repeating the same code execution.  I don't understand why.  I restart the DB server and my code works again for another period of time until same exception is encountered again.  I cannot pin down a pattern e.g. after a certain period of time,  because the time  periods between exceptions are not regular, although frequent.  Any test case  I use will pass most of the time but will fail after an undetermined period. ... >   <users > <user username = "admin" password = "admin" ip = "127.0.0.1" admin ... /> </user > <user username = "$default" password = "$$$###" > <dir ...