ObjectDB Database Search

1-50 of 86 results

Database Replication and Clustering

with the appropriate elements in its configuration file: The url attribute of the element specifies the master database. As shown in the example, you must specify a full URL , including the user ... database requires a slightly different URL : EntityManagerFactory emf = Persistence

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

JPA Connections and Transactions

the EntityManagerFactory closes the database file. Connection URL The createEntityManagerFactory method takes a persistence unit name as an argument. As an extension, ObjectDB lets you specify a database URL or path ... string that starts with objectdb: or ends with .odb or .objectdb to be a database URL

Server Configuration

the connection URL string, as explained in the JPA Overview section. The max attribute specifies ... the connection URL is resolved relative to the data path. For example, objectdb://localhost/my/db

Database Management Settings

tests. The content of these temporary databases is deleted when you use the drop URL connection

Obtaining a JPA Database Connection

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

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

[ODB1] Chapter 8 - ObjectDB Server

the connection URL string. 8.1  Running an ObjectDB Server The ObjectDB server is a pure Java ... in the url connection string (as explained in section 5.1 ) when connecting to the database ... . When connecting to the server, the path specified in the url connection is resolved relative to the data

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

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 entities.

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 entities.

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 entities.

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

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

ObjectDB Clustering VS Hadoop Hbase

using composite urls the order of the urls defines the connection priority. No need to restart

_PersistenceException: Failed to open file

is : What could be the problem?   my best regards hussamcs Ibrahim Hussam The url that you were trying to use ... ObjectDB home directory. Your url should be: "objectdb://localhost:8080/db/guests.odb" and not "$objectdb://localhost:8080/db/guests.odb" support Support

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

Lotti Solved, it was really because of the activation code I wasn't able to fetch from URL . Ieodaq Daniele Lotti  Solved, it was really because of the activation code I wasn't able to fetch from URL

Gradle-Kotlin Code Contributions

") } repositories { mavenCentral() // Custom Maven repository maven { url = uri("https://m2.objectdb.com ... () // Custom Maven repository maven { url = uri("https://m2.objectdb.com") } } dependencies { implementation

Cannot save or update entity on Spring App

_NAME_JDBC_ URL , environment.getRequiredProperty("objectdb. url ")); map.put(PROPERTY_NAME_JDBC_USER

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

JPA 2.1 and AttributeConverter

own adapter for storing property, which is File and URL class. Bot01 Frantisek Novak You can use a transient field for the File or URL and convert it from/to byte[] or String in JPA lifecycle events methods

Objectdb Server Mode set up with glassfish

. The only difference is the database connection url . If specified in the persistence.xml a client-server url could be specified as follows:         My Persistence Unit  

Glassfish 4 JTA Data Source Support

urls can be specified either as a virtual persistence unit name, or using the "javax.persistence.jdbc. url " property in a real persistence unit. Note that JTA is supported by ObjectDB but JDBC is not

lockfiles in client/server mode

is defined in src/main/webapp/META-INF/persistence.xml with a jdbc URL that looks to me as ... creating the EMF with the explicit URL . when running `mvn test`, the exception is: java.lang

Login Error (bad username 'admin' or password)

addition, you should remove blanks from the connection url . support Support Thank you for qiuck response ... .conf on client as one on server. Also, i tried with removing blanks from the connection url

Explorer in 2.3

. Auto-login of last opened (remote) database puts the full URL into the Database Path field

SSL cannot connect from client StackOverflow error

uses a connection url that starts with  objectdbs:// instead of  objectdb

Is 2 level cache in use?

on server uses the same amount of CPU and memory. I'm calling the same url in benchmark

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

ObjectDB can't be activated

. support Support As i wrote in the last reply i did that. Opening the generated url shows the same ... , not the one you sent us via email.   Here is the generated URL for activation, maybe

ObjectDB 2.5.1

) to-many relationship in embedded objects (issue #1131 , #13). Fixed a bug in automatic url