Internal Website Search
51-100 of 118 resultsMulti-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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 without javax.persistence(ProfileApplicationServiceImpl.java:131) at com.btc.ep.base.ui. session .SessionManager.createNewSession(SessionManager.java | |
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 | |
evictAll() behavior is more like a session cache? andrewmcveigh Andrew McVeigh The L1 cache is per EntityManager | |
Pooling of EntityManagers different threads or sessions . So I assume that there will be no much difference between creating | |
Problem upgrading.0.3.RELEASE] at org.springframework.security.web. session .SessionManagementFilter.doFilter | |
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 | |
migration path from JPA / Hibernate Hibernate API / extensions (e.g. Session instead of EntityManager , queries with HQL syntax instead of JPQL | |
What are the steps of creating small web app? Hello guys, I have a question about creating small new web application, I am almost done with researching and studying and I have covered all the important concepts e.g. # Starting from web technologies: HTML, CSS, JS, JQuery. # Moving to Java Technologies: Core Java, Servlet, Managed Beans | |
General Performance Issues Illustrated with a Specific Method java.util.Date; import lk.gov.health.phsp. bean .CommonController; /** * * @author buddhika */ public | |
JRebel integration feature a lot of frustration, enabling me to develop JSF backing beans and parts of EJBs (such as queries | |
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 | |
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 | |
Property fields Hello How can I use a Property, such as: javafx. beans .property.BooleanProperty as a field within an entity class? I want to bind a JavaFX CheckBoxTableCell control to the property. Thanks Russ russ0ne Russell Martin You can use a simple boolean or Boolean persistent field in | |
Online backup in embedded mode fails) at pl.hplxtool. beans .UtilsServiceImpl.makeDatabaseBackup(UtilsServiceImpl.java:412) at sun.reflect | |
ClassCastException on SELECT NEW ... after UPDATE over Java RMI is (simple bean ): public class FileNameDTO { private Long id; private String fileName; public FileNameDTO | |
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 | |
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 | |
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.  | |
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 | |
ObjectDB 2.3.1 . Fixed a Doctor and Replication regression (Type session exceeds timeout). Removed Conflicting modifiers validation check and error message. | |
Monitoring and Performance counters from last start - caches hit rate - total sessions from clients - memory usage (for heap space | |
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 | |
Unexpected exception (Error 990) - NullPointerException.dataenricher.__EJB31_Generated__DataEnrichmentService__Intf____ Bean __.enrichVerfahren(UnknownSource | |
com.objectdb.o._PersistenceException: Failed to locate set method for field property using reflection using observable javafx. beans .properties which can (I have found) result in problems if a bound |