ObjectDB ObjectDB

Internal Website Search

21-30 of 48 resultsRefresh
23

Database is erased after deploying a new web application version

.getService(ServiceLocatorImpl.java:653) at org.glassfish.jersey.internal.inject.Injections.getOrCreate(Injections.java:169) at org.glassfish.jersey.server.model.MethodHandler$ClassBasedMethodHandler ... (ServiceLocatorImpl.java:653) at org.glassfish.jersey.internal.inject.Injections.getOrCreate(Injections.java
23

Entity factory

via dependency injection like: @Entiy public class User { private final UserService userService;     @Inject private User(UserService userService) { this.userService ... without the possibility to inject dependencies (at least without using static variables which are very bad code
21

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

GuestDao {     // Injected database connection: @PersistenceContext(unitName = "guest-pu") private ... class GuestDao {     // Injected database connection:     @PersistenceContext private EntityManager ... GuestDao {     // Injected database connection: @PersistenceContext(unitName = "guest-pu") private
18

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

(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.jboss.weld.injection ... ) at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.preDestroy(DefaultLifecycleCallbackInvoker.java:82) at org.jboss.weld.injection.producer.BasicInjectionTarget.preDestroy
18

Null enums and IS (NOT) NULL: NullPointerException

:606) at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:89) at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:73) at org.jboss.weld.injection.producer
16

Problem undeploying Glassfish3.1.1 web application cleanly

EntityManager injection, using the undeploy feature under the Glassfish server node of Netbeans7.1, I ... GuestBook example (which also uses @PersistenceContext EntityManager injection)? support Support ... @PersistenceContext EntityManager injection)? Could not build GuestBook example from Maven, but I
16

Cannot save or update entity on Spring App

@Component @Transactional public class LanguageRepository { // Injected database connection ... @MappedSuperclass @Component public class DefaultRepository { // Injected database connection ... : @Component public class LanguageRepository extends DefaultRepository{ // Injected database
13

Spring Data JPA - PersistenceException thrown

.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) at org.springframework.context
13

Not Enhanced: ...: com.objectdb.o.TEX: Type ..._$$_javassist_1 is not found

through @Inject. Both are not entities or anything related to ObjectDB. AuthB is used in a JSF page for login. UserSessionB contains @Inject UserC, which is @Stateless for dealing with CRUD operations on User
13

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

below: package com.epimss.lab.data.bacti import groovy.beans.Bindable import javax.inject.Inject import com.epimss.lab.data.misc.OtherRqst import com.epimss.lab.data.misc

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support