Internal Website Search
101-150 of 200 resultsExternalising 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 | |
run several embedded systems on one server, problem with double used port 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 ... that case you should be able to specify a port to be used when you open a database in the url /path | |
Cannot save or update entity on Spring App @Component @Transactional public class LanguageRepository { // Injected database connection ... _NAME_JDBC_ URL , environment.getRequiredProperty("objectdb. url ")); map.put(PROPERTY_NAME_JDBC_USER ... { // Injected database connection : @PersistenceUnit(unitName="pu") EntityManagerFactory | |
ObjectDB within a resource adapter module and Java EE Connector Architecture database file name. Under http://www.objectdb.com/java/jpa/start/ connection it is explained ... (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 | |
best practice for DB recovery and have a number of applications connecting to it. I realize that I'm able to stand up read only replications ... 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 | |
ObjectDB Clustering VS Hadoop Hbase using composite urls the order of the urls defines the connection priority. No need to restart the master server to add a new slave since the configuration of the master-slave connection | |
How to use ObjectDB properly in spring boot application? connection and transaction operations as described at https://www.objectdb.com/java/jpa/persistence ... in order to properly close connections . I want to refactore my application so that database ... message when I run after mentioned modifications: Failed to configure a DataSource: ' url ' attribute | |
Using explorer with a live embedded db an error when trying to connect : "...database ... currently in use by another process" I used an explorer on the same machine, trying to connect in both embedded and client-server mode. I could connect when I stopped my program that embedded the db. Is still supposed to work | |
Convert embedded database to server your application using a client-server connection url . support Support Thank you support for your answer. What are the pros and cons between an embedded database ( with remote connection enabled ) and a real ... be available when the application closes its connections to the database or stopped. In | |
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   | |
lockfiles in client/server mode is defined in src/main/webapp/META-INF/persistence.xml with a jdbc URL that looks to me as though it ought to connect to the server rather than attempt to start in embedded mode. i have also tried creating the EMF with the explicit URL . when running `mvn test`, the exception is: java.lang | |
ObjectDB is opening too many sockets with opened DB connections as we are monitoring them, and they are staying under 20. thamal Tomas Hamal If you open connections (create EntityManager / PersistenceManager instances) without closing ... , it is related to the connection to much Let's look on the results of lsof command for ODB Server process, from | |
Explorer in 2.3, threads, query-cache, memory usage, etc...) to use for tuning b. Show all database connections ... . Auto-login of last opened (remote) database puts the full URL into the Database Path field ... 'recent connections '. 2. When editing a field in an @Embedded object, I get an error message | |
Replication failed Dear support members, I am trying to set up a replication url in objectdb.conf and have the the following error in the log files: [ObjectDB 2.3.4] javax.persistence.PersistenceException Failed to connect to server 127.0.0.1:6136 ( Connection refused) (error 522) at com.objectdb.jpa.EMF | |
Bulk Delete and Update - best practice?, would be more efficient. drop in the connection url should work also in server mode if the database is not in use by ... the connection string in other circumstances but I need a method that can work in both embedded and server | |
Drop in Client/server mode not working Hi, can't seem to get drop to work in c/s mode: version : objectdb-2.3.5_04 config : url : 'objectdb://localhost/testStorage1.tmp;drop;user=admin;password=admin' suggestions? David ... is not connected to the database. ie: If explorer is connected to a c/s database then it is not | |
Query problem after transaction commit I have a machine running the objectdb server and the client on another machine connect to it. The client program can connect to the server and query to get all the records ... [Remarks] 01 Test_ Connection : connecting 02 Test_ Connection : connected 03 UI: start query [query | |
OneToMany and cascade delete problem contains URL of product that I can parse for price. But this is not important here :) The main ... , all " connected " offers are also removed (cascade). After that, when I iterate over offers in store | |
Compare old and new schema to the classloader and get information about the new schema. I have tried to connect to the "old" db ... hierarchy to compare with. To do so, I create a new URLClassLoader with a URL pointing to the folder | |
Not able to update records your views on the same. n126961 Sandip Here Constants.DATABASE_FILE_CLIENTSERVER_MODE is the connection URL . n126961 Sandip As per my knowledge I have already tried all known things. Waiting for reply. I | |
unable to update table in slave server database between the slave and the master by your application, by connecting to the slave directly ... . As slave database is storing data in replication path ,while we are giving replication url as | |
Is there a function of "drop table" or "delete from table"? extensions. See this forum thread and the explanation of the ;drop connection url parameter in | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 This is neither a bug report nor a feature | |
File lock exception on odb$ tried to upload the databases to the ftp site but I'm unable to connect - is it still available with the same connection details? felixobjectdb Richard Szurgot Ok, the ftp problem was on my end ... an error due to an invalid url specified. Your question was moved to this forum thread and answered there. support Support | |
ObjectDB 2.3.2 Fixed a bug in "p.id IN :ids" queries. Fixed a bug in handling NOT = queries ( issue #536 ). Fixed ClassCastException and NullPointerException in using a composite index in queries ( issue #531 ). Fixed Explorer bugs: editing embedded objects and using connection urls . Fixed | |
objectdb.home for client/server machines so all we do really need to supply should be the server connection url and no objectdb.home | |
ObjectDB 2.3.4 ). Fixed a page cache purge deadlock ( issue #559 ). Fixed handling ;drop in client-server connection url . Fixed performance issue ( fetch optimization ) in range queries. Fixed cached result size | |
javax.persistence.EntityTransaction JPA Interface EntityTransaction Interface used to control transactions on resource-local entity managers. The EntityManager.getTransaction() method returns the EntityTransaction interface. Since: JPA 1.0 The Database Connection using JPA article explains how to use EntityTransaction . Public | |
javax.persistence.EntityManagerFactory. Since: JPA 1.0 The Database Connection using JPA article explains how to use EntityManagerFactory . Public | |
javax.persistence.EntityManager Connection using JPA article explains how to use EntityManager . Public Methods void clear () Clear | |
javax.persistence.Persistence environments. Since: JPA 1.0 The Database Connection using JPA article explains how to use Persistence | |
ObjectDB BIRT Driver Update(ConfigurationElementHandle.java:55) at org.eclipse.datatools. connectivity .internal.InternalProfileManager.initializeLocalDatabase(InternalProfileManager.java:1380) at org.eclipse.datatools. connectivity .internal ... . connectivity .internal.InternalProfileManager.loadProfiles(InternalProfileManager.java:1070) at org | |
Memory leak in com.objectdb.o.CST instances mistake. Regarding the CST instances, these are connections to the database. Please check if every created EntityManager instance is closed. support Support If there is connection pooling ... ? Trianglehead Json Error You are right, these objects may exist also in the connection pool | |
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 | |
PersistenceManagerFactory.getConnectionFactoryName() - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory String getConnectionFactoryName () Get the name for the data store connection factory. Return: the name of the data store connection factory. Since: JDO 1.0 | |
PersistenceManagerFactory.setConnectionFactoryName(connectionFactoryName) - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionFactoryName ( String connectionFactoryName ) Set the name for the data store connection factory. Parameters: connectionFactoryName - the name of the data store connection factory. Since: JDO 1.0 | |
PersistenceManagerFactory.getConnectionFactory() - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory Object getConnectionFactory () Get the data store connection factory. Return: the data store connection factory. Since: JDO 1.0 | |
PersistenceManagerFactory.getConnectionDriverName() - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory String getConnectionDriverName () Get the driver name for the data store connection . Return: the driver name for the data store connection . Since: JDO 1.0 | |
PersistenceManagerFactory.setConnectionDriverName(driverName) - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionDriverName ( String driverName ) Set the driver name for the data store connection . Parameters: driverName - the driver name for the data store connection . Since: JDO 1.0 | |
PersistenceManagerFactory.setConnectionUserName(userName) - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionUserName ( String userName ) Set the user name for the data store connection . Parameters: userName - the user name for the data store connection . Since: JDO 1.0 | |
PersistenceManagerFactory.setConnectionPassword(password) - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory void setConnectionPassword ( String password ) Set the password for the data store connection . Parameters: password - the password for the data store connection . Since: JDO 1.0 | |
PersistenceManagerFactory.getConnectionUserName() - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory String getConnectionUserName () Get the user name for the data store connection . Return: the user name for the data store connection . Since: JDO 1.0 | |
PersistenceManager.checkConsistency() - JDO Method to do so. If an optimistic transaction is active, this method obtains a datastore connection |