ObjectDB Database Search

51-100 of 118 results

Multi-tenant capability with hierarchies

the entityManagerFactory bean which I don't use. public EntityManager getEntityManger () { String tenantId = ThreadContext ... to create the entityManagerFactory bean for startup or else I am getting an error "Caused by: org.hibernate.AnnotationException: @OneToOne or @ManyToOne", even if I don't use the bean because I

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

.jdbc.persistenceUnitName}")     private String persistenceUnitName; @ Bean (name ... () { return DataSourceBuilder.create().build(); } @Primary @ Bean (name = "entityManagerFactory1") public ... .afterPropertiesSet(); return entityManagerFactoryBean; } @ Bean (name = "transactionManager") public

Query vs Extent for retrieving data

.getPersistenceManagerFactory(getProperties(filename)); PersistenceManager pm = pmf.getPersistenceManager(); List beans ... = (Collection)q.execute(); for(Object o : c) { beans .add((PositionReportManagerBean)o); } q.closeAll(); pm.close(); pmf.close(); for(PositionReportManagerBean bean : beans ) { System.out.println( bean

"Attempt to lock a non entity object" error

object" session .rollback() is somehow causing the problem (found through debugging ... {     session .beginTransaction();     session .lock(subjectJList ... ;   session .rollback(); . . . } //doCancelEdit

Out of memory

-exec-3] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected method of bean ... .hplxtool. beans .InspirationServiceImpl.getLastModifiedInspirations(10) execution time: 214 ms 2012-09-20 ... .hplxtool. beans .ReportingServiceImpl.getProductQuantitiesPerInspiration() execution time: 612 ms 2012

Null enums and IS (NOT) NULL: NullPointerException

(BeanInjectionTarget.java:65) at org.jboss.weld. bean .ManagedBean.create(ManagedBean.java:161) at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:103) at org.jboss.weld. bean .proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:93) at org.jboss.weld. bean .proxy.ProxyMethodHandler.invoke

system exception occurred during an invocation on EJB GuestDao

.getAllGuests(Unknown Source) at guest.__EJB31_Generated__GuestDao__Intf____ Bean __.getAllGuests(Unknown ... _Generated__GuestDao__Intf____ Bean __.getAllGuests(Unknown Source) at guest.GuestServlet.doGet ... .$Proxy165.getAllGuests(Unknown Source) at guest.__EJB31_Generated__GuestDao__Intf____ Bean __.getAllGuests

A lot of ENT and SIV instances which are not cleared by GC

? I use simple EJB managers containing EntityManagers. On bean's PreDestroy and in servlet's i make ... .mycityseason.managers.__EJB31_Generated__WearManager__Intf____ Bean __.detachAll(Unknown Source) at ru.mycityseason. beans .ShowCollectionsBean.destroy(ShowCollectionsBean.java:160) at sun.reflect

Configure ObjectDB in spring context

be able to inject EntityManagerFactory to my beans . Could you help me on this? vachagan Vachagan ... it is simply ignored. But I am not sure how it will work with these Spring Framework beans . Regarding ... ("entityManagerFactory"); } @ Bean public JpaTransactionManager transactionManager() throws

Memory leak while merging parent with No Cascade annotation with children

but there is a problem. Indeed, my beans are not correctly Enhanced, reason is my beans are created by ... proxy with my entities beans . My conclusion is that the Enhancer is not able to process correctly ... found a workaround with my JAXB beans . But i think you should resolve the problem for reflection case

Question about overriding default equals and hashcode

Hello Support, I have overrided equals and hashcode method in my entities beans . I don't know if you use these methods in your objectdb implementation. ( for comparing bean ? ) If yes, does ... % org.jvnet.jaxb2_commons.lang.ToString It correspond to my entity bean includes ( use JAXB

Unable to persist fields in subclass

: package miscTests; import javafx. beans .property.SimpleStringProperty; import javafx. beans .property ... .persistence.Id; import javafx. beans .property.ObjectProperty; import javafx. beans .property

ObjectDB and Spring Boot - sharing a simple working example

.properties and/or in pom.xml I added the following beans : @ Bean @ConfigurationProperties ("app ... (). build (); } @ Bean (name = " entityManagerFactory") public EntityManagerFactory ... - data - jpa - test.odb"); } @ Bean public PlatformTransactionManager transactionManager

java.nio.channels.OverlappingFileLockException

.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.wicket. session .DefaultPageFactory.createPage(DefaultPageFactory.java:192) at org.apache.wicket. session .DefaultPageFactory.newPage

Felix, rollback exception, error 613

)     at org.eclipse.jetty.server. session .SessionHandler.doHandle(SessionHandler.java:224 ... :512)     at org.eclipse.jetty.server. session .SessionHandler.doScope(SessionHandler.java

PersistenceException UserException: Failed to validate persistence.xml

.Thread.run(Thread.java:722) Caused by: javax.el.ELException: javax.ejb.EJBException: The bean ... :96) ... 30 more Caused by: javax.ejb.EJBException: The bean encountered a non-application exception ... (AuthorizationService.java:42) at net.heatboxes.core. bean .view.Login.submit(Login.java:49) at sun

Spring 2.5 LocalContainerEntityManagerFactoryBean, no getSharedCacheMode()

.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291) at org.springframework. beans .factory.support ... .springframework. beans .factory.support.AbstractAutowireCapableBeanFactory.initializeBean ... a property on the bean . Why do I get this exception? purecharger Ryan This old version of Spring

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

__GuestDao__Intf____ Bean __.persist(Unknown Source) at guest.GuestServlet.doPost(GuestServlet.java:36 ... .__EJB31_Generated__GuestDao__Intf____ Bean __.persist(Unknown Source) at guest.GuestServlet.doPost

Attempt to begin a new transaction when a transaction is active

The code I have a RecordDao stateless java bean :  @Stateless public class RecordDao { private EntityManagerFactory emf; private EntityManager em; public RecordDao() { } @PostConstruct public ... like this : com.objectdb.jpa.Provider   From other beans I need concurrent access to the database

How to track memory leak with ObjectDb.

inside objectdb.MST containing some trace of my entities beans . It seems objectdb keep in memory some ... seems to contain a byte[] object ( i observed that it represent some data of my entities beans ). xirt Sylvain

ObjectDB within a resource adapter module and Java EE Connector Architecture

and business logic ops) CoreWeb (common JSF managed bean classes that only speak to DB via EJBs) SpecWeb1 ... and SpecWeb2 respectively use different @Singleton @Startup beans to set objectdb.home, I can likewise

Cannot save or update entity on Spring App

: @ Bean public JpaTransactionManager transactionManager() throws ClassNotFoundException ... (); return transactionManager; } Ieodaq Daniele Lotti Also, I've got this as a requirement: @ Bean public

evictAll() behavior

is more like a session cache? andrewmcveigh Andrew McVeigh The L1 cache is per EntityManager

migration path from JPA / Hibernate

Hibernate API / extensions (e.g. Session instead of EntityManager , queries with HQL syntax instead of JPQL

Eclipse plugin problem (using ObjectDB as a separate bundle)

;Investigations. The console includes: ! SESSION 2011-07-13 23:37:23.812

Changing from client server to embedded mode

of the database file (from the client-server session ) on your computer (under objectdb/db ), you can also use

ObjectDB without javax.persistence

(ProfileApplicationServiceImpl.java:131) at com.btc.ep.base.ui. session .SessionManager.createNewSession(SessionManager.java

Problem upgrading

.0.3.RELEASE] at org.springframework.security.web. session .SessionManagementFilter.doFilter

Pooling of EntityManagers

different threads or sessions . So I assume that there will be no much difference between creating

virtual servers and one file

and what we see in remote sessions . As far as I understand it is not the problem of less memory

JRebel integration feature

a lot of frustration, enabling me to develop JSF backing beans and parts of EJBs (such as queries

Error 363 - Failed to read value of inverse relationship

.create(Unknown Source) at edu.um.fcsit.jpa.ejb.__EJB31_Generated__GuestFacade__Intf____ Bean __.create

Mysterious "Attempt to persist a reference to a non managed instance" error

....  Failed to commit transaction: Attempt to persist a reference to a non managed jpa_ beans

InternalError on multiple AND and JOIN Query

.springframework:spring- beans :3.0.5.RELEASE          o org

Finance data from SQL Server into ObjectDB daily

it to a bean and store it in the ObjectDB. This would all happen in an automated fashion. Does

Online backup in embedded mode fails

) at pl.hplxtool. beans .UtilsServiceImpl.makeDatabaseBackup(UtilsServiceImpl.java:412) at sun.reflect

Type ... is not defined as an entity (@Entity is missing) (error 302)

groovy. beans .Bindable import javax.inject.Inject import com.epimss.lab.data.misc.OtherRqst import com

Redeployment in GlassFish - Failed to open file

Source) at edu.um.fcsit.jpa.ejb.__EJB31_Generated__GuestFacade__Intf____ Bean __.findRange(Unknown

Failed to enhance dynamic type

why the ObjectDB Enhancer even cares about my non-jpa methods (it is not a Bean Getter nor Setter) wo why not

How force always recreate database on redeployment.

Is there some easy way to force recreation/deletion of the current database on deployment of a web application (to Glassfish). My web application uses a @Singleton @Startup bean to create and persist a test model each run. I keep getting models on top of each other on rerunning my web application

Internal exception when quering

(BillingCodeSessionData.java:55) at eu.ysoft.ds. session .DSSession.loadBillingCodes(DSSession.java:370) at eu.ysoft.ds. session .DSSession.validateUserRequest(DSSession.java:336) at eu.ysoft.ds. session .DSSession.runActionForMessage(DSSession.java:188) at eu.ysoft.ds. session .DSSession.run(DSSession.java:148) at java.lang

JPQL support for Maps (JPA 2.0)

. It seems to me they are not supported. Query : "SELECT s FROM Session s JOIN s.data d WHERE VALUE(d) = :value" Object : public class Session implements Serializable {     ...     ... yet. Try: SELECT s FROM Session s JOIN s.data d WHERE d = :value support Support That works. 

ObjectDB can't be activated

of the database. Would it help if we set up a web- session with access to the server? skolb Sebastian Kolb Hopefully we can solve it with no web session . Please try build 2.5.5_08.   support Support ... activated server. skolb Sebastian Kolb Should we set-up a web session so you can take a look

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

) at luc.example.__EJB31_Generated__UserFacade__Intf____ Bean __.getAll(Unknown Source) at sun.reflect ... .SecureReflections.invoke(SecureReflections.java:263) at org.jboss.weld. bean .proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:110) at org.jboss.weld. bean .proxy

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

(EMImpl.java:297) at de.advolux.jpa.network.rmi. session .StandAloneDatabaseConnector.EndTransaction(StandAloneDatabaseConnector.java:803) at de.advolux.jpa.network.rmi. session .StandAlonePM

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null:

.TransactionRolledbackLocalException: Exception thrown from bean at com.sun.ejb.containers.BaseContainer ... .ext.__EJB31_Generated__ExtGreenStarRequestBean__Intf____ Bean

Monitoring and Performance counters

from last start - caches hit rate - total sessions from clients - memory usage (for heap space

ObjectDB 2.3.1

. Fixed a Doctor and Replication regression (Type session exceeds timeout). Removed  Conflicting modifiers  validation check and error message.

ArrayIndexOutOfBoundsException on flush

.Constructor.newInstance(Constructor.java:513) at org.springframework. beans .BeanUtils.instantiateClass

File lock exception on odb$

.springframework. beans .BeanUtils.instantiateClass(BeanUtils.java:100) ... 32 more Caused by: com