Internal Website Search

1-50 of 200 results

Database Connection using JPA

the EntityManagerFactory closes the database file. Connection URL The createEntityManagerFactory method takes as ... to the server data root path. Connection URL Parameters The following parameters are supported as part of an ObjectDB connection URL : user - for specifying a username in client server mode. password

Obtaining a JPA Database Connection

In JPA a database connection is represented by the EntityManager interface. Therefore, in order ... by ObjectDB to be a database URL rather than a persistence unit name. The $objectdb variable ... : EntityManager em = emf. createEntityManager (); The EntityManager instance represents a connection

Database Replication and Clustering

the connection will automatically switch (temporarily) to the next available URL (i.e. in ... ;  The  url  attribute of the element defines a master database. As demonstrated above, a full URL has to be specified including user and password attributes. The slave server uses

Database connection url

sure about the connection url for the code, and for the explorer. I tried this: Transactor.emf ... You have to fix the connection url . See: https://www.objectdb.com/java/jpa/persistence/overview ... .odb created under db-files/ nor can I connect to it from explorer. So, how does one set up odb as

Server Configuration

. If another port is specified it also has to be specified by clients in the URL connection string ... . When connecting to the server the path that is specified in the URL connection is resolved relative ... specifies how clients can connect to the server: The port attribute specifies a TPC port

SSL Configuration

"objectdb" protocol) in the connection URL on the client side: EntityManagerFactory emf = Persistence ... these Keystore and Trustore files a client can verify during SSL handshaking that it is connected to the real ... the middle attack"). The server, on the other hand, might be less selective and allow connections

BIRT/ODA ObjectDB Driver

connection URL - either embedded (e.g. c:\points.odb ) or client-server (e.g.  objectdb ... ... In the [Work with] field enter the ObjectDB update site URL : http://www.objectdb.com/eclipse

[ODB1] Chapter 5 - JDO Connections

connection url specifies the location of the database. Using an ObjectDB extension, a PersistenceManager ... The PersistenceManagerFactory interface represents a factory of database connections . Its main ... connection . Every operation on a database requires a PersistenceManager instance. The Transaction

connection pooling

how do you handle connection pooling?  I don't understand how to open and close connection ... ; The element specifies how clients can connect to the server:     The port attribute specifies a TPC port on which the server is listening for new connections . Usually the default port 6136

Does "error 522" (connect timed out) have something to do with restrictions despite license activation?

with multiple foreign keys. Indeed, it returns the following error: Failed to connect to server 35.181.88.206:6136 ( connect timed out) (error 522) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:152 ... .main(RemoteTestRunner.java:206) Caused by: com.objectdb.o.UserException: Failed to connect to server 35

BIRT plugin: Trouble with Client/Server connection

file.  The connection using the server url fails the ping test.  I get (Failed to connect ... Server 2.5.6_04 Configurations:     connection URL : objectdb://localhost:6136/points.odb ... I am having trouble setting up the birt points.odb sample with a client/server connection . I

How to connect to an embedded ObjectDB in a JPA/JEE application?

the client-server connection url with an embedded connection url , e.g. an absolute file path. See this documentation section regarding client-server and embedded connection urls . support Support ... It is easy to change the properties in persistence.xml file to connect to an ObjectDB server

Database Management Settings

of these temporary databases is deleted when using the drop URL connection parameter . The elements

Connecting to a remote objectdb server

.mydomain.com 6136 (worked fine, is able to connect ...) My db was configured below: On my application ... With all these configuration, I am still not able to connect on remote server. I am pretty sure that defaultObjectDBPersistenceUnit was used on my app. Also, if my app was able to connect

Get activation code for a server with no Internet connection

require an Internet connection . The output of the activation console application is a url that you can open on another computer that is connected to the Internet, in order to retrieve the activation code ... Hello, We bought a license, but the server is not connected to the Internet

SSL cannot connect from client StackOverflow error

uses a connection url that starts with  objectdbs:// instead of  objectdb ... Hello, i am trying to set up the SSL for connections to objectDB server. I cannot connect the Client, when SSL is enabled. I can connect from Explorer, when "Use SSL" is checked, isn't there some

Problem connecting to the replicated server

user permission to the same path as the master user. Trianglehead Json Error In the connection url ... I've got a master/slave cluster set up with just a master and a slave.  I can connect to the master with a client app no problem.  My slave can connect to the master and replicate

General Settings and Logging

   ObjectDB manages a list of the recently accessed database URLs for use by the Explorer ... with URLs (in client server mode). The password attribute specifies if passwords should also be saved with URLs . Saving username and password with the URL makes accessing recently used databases in

Database Explorer

the shell file, setting the paths to the objectdb.jar file and to the JVM). Connecting to the Database Opening a Database Connection To open a local database file in embedded mode use the  File Open ... select File Open C/S Connection ...  and provide host, port, username and password for a client

ObjectDB Object Database Features

. Up to 9,223,372,036,854,775,808 entity objects per database file. Unlimited database connections ... competing products . Connection Pooling Automatic connection pool managed by EntityManagerFactory. Configurable - minimum/maximum connections and timeout. Caching L1 entity object cache

Server User List

that have to be provided when the user connects to the server. The optional ip attribute, if specified, restricts the user to connect to the server only from the specified IP addresses. For instance, "127.0.0.1 ... connecting from any IP address in the range of 192.18.0.0 to 192.18.194.255 , as well as from 127.0.0.1

Step 3: Create an ObjectDB Data Source

the database connection url : Download and save the points.odb  database file (from the Quick Start tutorial ). Specify an ObjectDB connection url - either embedded (e.g. c:\points.odb ) or client ... the Test Connection button to check the connection url : Click the Finish button to complete the creation

[ODB1] Chapter 8 - ObjectDB Server

the connection URL string. 8.1  Running an ObjectDB Server The ObjectDB server is a pure Java ... other than the default is specified, it also has to be specified by clients in the url connection ... , the path specified in the url connection is resolved relative to the data directory. For instance, a url

JPA Persistence Unit

properties. JPA 2 defines standard properties for specifying database url , username and password, as

Privacy Policy

transfer Your personal information in connection with, or during negotiations of, any merger, sale ... connection with the Service Protect the personal safety of Users of the Service or the public

Online Backup

 ( em ) that represents the connection (local or remote) to the database:     ... argument is specified as a java.io.File instance and em represents a client-server connection

Is ObjectDB scalable? What are its limitations?

. Up to 9,223,372,036,854,775,808 entity objects per database file. Unlimited database connections (limited by operating system resources).

CRUD Database Operations with JPA

Given an EntityManager , em , that represents a JPA connection to the object database, we can use it to store, retrieve, update and delete database objects. Storing New Entity Objects The following code fragment stores 1,000 Point  objects in the database: em. getTransaction (). begin

Eclipse Public License - v 1.0

Contributor in connection with its distribution of the Program in a commercial product offering

Posting Sample Code

method (preferred over JUnit). Use embedded mode to connect to the ObjectDB database directly

Database Server

The TPC/IP port on which the server listens for new connections is also specified in the Server

PersistenceManagerFactory.setConnectionURL(url) - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionURL (   String  url ) Set the URL for the data store connection . Parameters: url - the URL for the data store connection . Since: JDO 1.0

[ODB1] Chapter 1 - About ObjectDB

. Moving from one mode to the other can be done simply by changing a single string (the connection URL ), because the JDO API is the same for both modes. 1.3  ObjectDB Editions ObjectDB

Step 1: Install BIRT and ObjectDB Driver

selecting Help Install New Software... In the [Work with] field enter the BIRT update site url . http ... update site url : http://www.objectdb.com/eclipse and press ENTER. Select the ObjectDB Birt/ODA feature

Step 4: Add a Servlet Class

, IOException { // Obtain a database connection : EntityManagerFactory emf = (EntityManagerFactory ... , response); } finally { // Close the database connection : if (em.getTransaction().isActive()) em ... connection ) is constructed. If a new guest has registered (using a JSP form that is shown in

Step 4: Add a Servlet Class

, HttpServletResponse response) throws ServletException, IOException { // Obtain a database connection ... .getRequestDispatcher("/guest.jsp") .forward(request, response); } finally { // Close the database connection ... , and then an EntityManager (representing a database connection ) is constructed. If a new guest has registered

Step 2: Entity Class and Persistence Unit

with the specified database url . The next step is adding an EJB Session Bean that will manage Guest entity objects.

Step 2: Entity Class and Persistence Unit

with the specified database url . The next step is adding an EJB Session Bean that will manage Guest entity objects.

Step 2: Entity Class and Persistence Unit

Now ObjectDB should be used as a JPA provider with the specified database url . The next step

Step 2: Entity Class and Persistence Unit

as a JPA provider with the specified database url . The next step is adding a Spring DAO Component class that will manage Guest entity objects.

[ODB1] Chapter 9 - ObjectDB Explorer

To open a connection  to a remote database using client-server mode (supported only by ObjectDB ... the Open dialog you have to fill in the host, port, username and password of the remote connection ... " menu command to close a local database file or a connection  to a remote database file. The Tabbed

javax.jdo.PersistenceManagerFactory

getConnectionURL () Get the URL for the data store connection . Return: the URL for the data store ...   url ) Set the URL for the data store connection . Parameters: url - the URL for the data store ... be configured. If the ConnectionFactory property is set (non- null ) then all other Connection properties

Step 3: Define an EJB Session Bean

{ // Injected database connection : @PersistenceContext private EntityManager em; // Stores a new guest

Step 3: Define a Spring DAO Component

connection : @PersistenceContext private EntityManager em; // Stores a new guest: @Transactional public

Step 3: Add a Main Class

(String[] args) { // Open a database connection // (create a new database if it doesn't exist

Step 3: Add a Main Class

a database connection // (create a new database if it doesn't exist yet): EntityManagerFactory emf

Step 3: Define a Spring DAO Component

connection : @PersistenceContext private EntityManager em; // Stores a new guest: @Transactional public

Step 3: Define an EJB Session Bean

; @Stateless public class GuestDao { // Injected database connection : @PersistenceContext private

ObjectDB 1.0 Manual

metadata for persistence capable classes. Chapter 5 - JDO Connections Shows how to use database connections

[ODB1] Chapter 2 - A Quick Tour

"); 15 System.exit(1); 16 } 17 18 try { 19 // Obtain a database connection : 20 Properties properties