Internal Website Search

1-50 of 120 results

Database Replication and Clustering

;  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 ... =a"); A slightly different URL is required in order to access the slave database: EntityManagerFactory emf

Attempt to store an instance of a non persistable type java.net.URL

Link(String name, String $ url ) //throws MalformedURLException { this.name = name; try { url = new URL ($ url ); } catch (MalformedURLException ex) { log_error(ex); } }     private URL url ; public URL getUrl() { return url ; } public void setUrl( URL url ) { this. url = url ; } I

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

Database Connection using JPA

the EntityManagerFactory closes the database file. Connection URL The createEntityManagerFactory method takes as an argument a name of a persistence unit . As an extension, ObjectDB enables specifying a database URL (or ... :  or ends with .odb or .objectdb is considered by ObjectDB to be a database URL rather than as

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

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

BIRT/ODA ObjectDB Driver

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

Database Management Settings

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

Obtaining a JPA Database Connection

by ObjectDB to be a database URL rather than a persistence unit name. The $objectdb variable

JPA Persistence Unit

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

SSL Configuration

"objectdb" protocol) in the connection URL on the client side: EntityManagerFactory emf = Persistence

javax.persistence.PersistenceException Attempt to store an instance of a non persistable type java.net.URL

(String name, String $ url ) //throws MalformedURLException     {      ... ;          url = new URL ($ url );      ... ;     log_error(ex);         }     } private URL

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

Database size is much larger than expected (x2)

@ 8042217472 id = 0 @ 7703244276 Url = http://cimg2.163.com/catchpic/E/E9/E96492634557CE291CDF3AADC710F373.jpg NO = 155648 @ 8042217472 id = 0 @ 8016831165 Url = http://pic.tiexue.net/pics/2005_10_19_99028 ... @ 15621180 Url = http://www.jspet.com.cn/UploadThumbs/200459214931523.jpg NO = 512 @ 8042217472 id = 512

How to change properties in urls2.xml?

is autogenerated by objectdb. And it describes the locals databases url and their port / user / password ... properties ? Adding ?port=XXXX at the end of the persistence.xml database local url doesn't work. ( Tomcat says "Connection refused" ) Thanks, Xirt xirt Sylvain You may  disable the url history

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 ... props = new Properties(); props.put("javax.persistence.jdbc. url ", url ); props.put("javax.persistence ... public class JpaConfig2 { @Value("${javax.persistence.jdbc2. url }") public String url ; @Value("${javax

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

Drop the entire database, Change the schema

;drop as a url parameter:     EntityManagerFactory emf =      ... ; On the other hand the URL would work just as well for me and is in some senses clearer and more transparent... I ... database file by adding ;drop to the url :     EntityManagerFactory emf

Failover from Master to Slave

to the replicated database by changing connection url , i.e. by connecting to the replicated database using its own url . In that case, the new connection is an ordinary connection that is not limited to read ... to the replicated database url , switching the master and slave roles (in order to replicate changes in

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

Difficulty with the BIRT plugin

url is not accurate and a new empty database (without the type) is created and used. support Support Hmm, I don't think it's that, because it pings successfully, (and doesn't ping if I use an url which doesn't point to a data file). dmoshal David Moshal Actually a new database is created if the url

[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

How force always recreate database on redeployment.

url section in the manual  and relevant configuration . See also this forum thread . support ... : Connection URL Parameters To obtain a connection to an empty database (discarding existing content if any ... to the url that you specify in the persistence.xml file. Q: 'In client-server mode

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 ... : 5000 Average X: 499.5 7.) Also, if I start both servers, and change the URL to connect ... described. Switching urls works only when the initial connection is to the master server

Glassfish 3.1.2.1 and ObjectDB 2.4.3

- which one are you running? Please specify the url that you are trying to access. What tools are you using (IDE ... Support OK, I run the NetBeans/JPA Java EE 6 Guestbook with following url : http://localhost:8080 ... on JMXService URL service:jmx:rmi://aliph3:8686/jndi/rmi://aliph3:8686/jmxrmi INFO: Initiating

Externalising persistence.xml properties in Glassfish?

the URL for the database. You see I'm trying to create a 'server' and be able to have the datasource 'javax.persistence.jdbc. url ' be supplied by the server. Currently, I'm doing all sorts of tricks ... with the url and another one with the creadentials. If i recall correctly the application should be able

Eclipse plugin problem (using ObjectDB as a separate bundle)

Please check the update urls and write them here (copy & paste from png doesn't work). I tried the first (https://launchpad.net/rcptoolbox) and failed. support Support Sorry, URLs : https://launchpad.net ... Clarke The first url still doesn't work and the whole procedure seems too complex. Sorry, but I

[ODB1] Chapter 5 - JDO Connections

or a relative path of a local database file has to be specified. To use client server mode, a url in ... : System.out.println("Database URL : " + pmf.getConnectionURL()); System.out.println("Username: " + pmf ... connection url specifies the location of the database. Using an ObjectDB extension, a PersistenceManager

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.

ObjectDB within a resource adapter module and Java EE Connector Architecture

(which can also be an ObjectDB database url ) in the unitName parameter of @PersistenceContext ... the way that ObjectDB interprets urls as implicit persistence units, and support some syntax that replaces a logical path with a parameter (similar to $objectdb in the url ) with a value from

virtual servers and one file

_SpellingAlternatives.style.behavior = (state == "activate" ? " url (#default#BabyBtn)" : ""); BABID ... .Microsoft.BasicImage(opacity=.5)"); BABID_SuggestLingoz.style.behavior = (state == "activate" ? " url ... .BasicImage(opacity=.5)"); BABID_OnlineGlossaries.style.behavior = (state == "activate" ? " url (#default

Catching exceptions from online backup

_SpellingAlternatives.style.behavior = (state == "activate" ? " url (#default#BabyBtn)" : ""); BABID ... .Microsoft.BasicImage(opacity=.5)"); BABID_SuggestLingoz.style.behavior = (state == "activate" ? " url ... .BasicImage(opacity=.5)"); BABID_OnlineGlossaries.style.behavior = (state == "activate" ? " url (#default

Replicated cluster recovery

via PMF? Switching is automatic - between a main url and backup urls , which may also reference ... /support/151   hare is the connection url : javax.jdo.option.ConnectionURL=objectdb://localhost

JSON serialization and __odbHidden members

;  " url ": "user/reguser"    },    "lastActivity__odbHidden":    ... NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0",        " url ": "user ... ",        " url ": "user/reguser"    }, // and so on So the problem

best practice for DB recovery

a dual url , but by using only the master url and when it fails switching to the slave url by your DAO

How to have a distribuited GWT application with ObjectDB and Spring?

the other remote databases via URL ...I would need some explanation on how to do it, or a simple guid. Can you help ... . If every host runs its own ObjectDB database as a database server, each database has a unique url and each database can be accessed by that url . In standard JPA you may define several persistence units

run several embedded systems on one server, problem with double used port

that case you should be able to specify a port to be used when you open a database in the url /path ... specify a port as part of the connection url . This stack trace should not be generated if the configuration file includes the above line and no port is specified as part of the connection url (with the port= parameter). support Support

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

Master database switching to read-only mode, possibly caused by slave failure

? In that case, if you use a combined master/slave url requests to the master all the requests ... ;would see the failure straight away.  In that case, if you use a combined master/slave url requests ... combined master/slave url in our client as read-only access is not sufficient for our needs

Remove not working

(String[] args) { String url = "objectdb:$objectdb/db/test.tmp;drop"; EntityManagerFactory emf = Persistence.createEntityManagerFactory( url ); EntityManager em = emf.createEntityManager(); em

Connecting to a remote objectdb server

- when objectdb on localhost The objectdb.conf server data url configured like: Thoughts?   ... there is no issue on that.  Still, no db files were created. Tried this url too, "objectdb

[ODB1] Chapter 1 - About ObjectDB

URL ), because the JDO API is the same for both modes. 1.3  ObjectDB Editions ObjectDB

docker documentation

) piped.println( ) piped.write(13) piped.flush() } }   Now here's the strange bit, the license url truncates some of the output! for example, here is the correct url when the activation ... $,(the rest ommited as it's the same) but when done with the above program, the url is: http://www

Automatic Switch to Replicated Server Limitations

to another server when a server goes down, by specifying a composite url . Currently this feature has the following limitations: The first server in the composite url has to be available ... should address these issues and improve the ability of automatic url switch. support Support

How to change properties in urls2.xml ?

is autogenerated by objectdb. And it describes the locals databases url and their port / user / password ... properties ? Adding ?port=XXXX at the end of the persistence.xml database local url doesn't work

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

PersistenceManagerFactory.getConnectionURL() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory String getConnectionURL () Get the URL for the data store connection. Return: the URL for the data store connection. Since: JDO 1.0