Internal Website Search

41-50 of 195 resultsRefresh

multi EntityManager with Spring Boot, but 'Too many persistable types (>10)

JpaConfig { @Value("${javax.persistence.jdbc.url}") public String url; @Value("${javax ... (); props.put("javax.persistence.jdbc.url",url); props.put("javax.persistence.jdbc.user",user ... ("${javax.persistence.jdbc2.url}") public String url; @Value("${javax.persistence.jdbc2.user

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

manager fails to try the second URL in the list: objectdb://10.9.2.15:9998//10.9.2.15:9999/test.odb;user ... ;  <url-history size="50" user="true" password="true" />        ... ;                 <url

Connecting to a remote objectdb server

; <properties> <property name="javax.persistence.jdbc.url" value="objectdb://db ... ="javax.persistence.jdbc.url" value="objectdb://db.mydomain.com/db/myapp.odb"/> - when objectdb on remote server <property name="javax.persistence.jdbc.url" value="objectdb://db

Drop the entire database, Change the schema

adding ;drop as a url parameter:   ... ; On the other hand the URL would work just as well for me and is in some senses clearer ... an existing database file by adding ;drop to the url:

Failover from Master to Slave

>But there is another option.  Your application can switch 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 ... your application: identifying a failure, moving to the replicated database url, switching the master and slave

Replication issue, Replayer failing due to NullPointerException.

; <url-history size="50" user="true" password="true" /> <log path="/var/log/test/" max ... ; <network inactivity-timeout="0" /> <url-history size="50" user="true" password="true" /> ... /backend/db/" /> <replication url="objectdb://master:2122/w.odb;user=backend-ro;password

How force always recreate database on redeployment.

database if its file is not locked by Glassfish. See the connection url section in the EntityManagerFactory: Connection URL Parameters To obtain a connection ... the drop parameter to the url that you specify in the

Server vs embedded mode in multi-instance scenario

other machines - the first process should use a url such as: test.odb;port=3333 ... > Hello!   Whats the full connection URL that i should pass ... should use a url such as: test.odb;port=3333 (specifying a port).

Externalising persistence.xml properties in Glassfish?

to persistence.xml and externalising 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 ... at all costs not to have any URL or AUTH info here - so that it will depend on my dev/test

How to change properties in urls2.xml ?

;url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt> ... ;/url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. I have no control on the port