ObjectDB ObjectDB

Internal Website Search

1-10 of 74 resultsRefresh
234

system exception occurred during an invocation on EJB GuestDao

during an invocation on EJB GuestDao, method: public java.util.List guest.GuestDao.getAllGuests() 2014-09-01T19:09:01.324+0200|Avertissement: javax.ejb.EJBException at com.sun.ejb.containers ... .ejb.containers.EJBContainerTransactionManager.completeNewTx(EJBContainerTransactionManager.java:698
173

ObjectDB with JRebel: copious 'Not Enhanced:' errors with EJBs

output for nearly every @EJB on startup. Typical message is like: Info: [2016-10-30 09:16:46 #6 enhancer.agent] Not Enhanced: com/example/ejb/query/__EJB31_Generated__ExampleQuery__Intf__: com.objectdb.o.TEX: Type com.example.ejb.query.__EJB31_Generated__ExampleQuery__Intf__ is not found at com
161

How to package orm.xml when using EJB in WAR?

when the (EJB) project is built. When that EJB is deployed to e.g. GlassFish 3.1.1 all apperar to be OK ... to the database EJB is built and deployed, this error message pops up: Caused by: com.objectdb.o ... project that depends on the EJB .. but it's not great to have duplicate copies of the file, and this isn't
147

Issue deploying EJB project to Jboss/Glassfish

I have been trying to deploy an EJB project created in Eclipse/Juno to both JBOSS and Glassfish. The error I get with Glassfish is cannot Deploy HappyThought Deployment Error for module: HappyThought: Error occurred during deployment: Exception while preparing the app : java.lang
66

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean (EJB) class ... ) > Session Bean and clicking Next. Enter GuestDao as the EJB class name - use exactly that case sensitive class name. The Java package name should be guest. Click Finish to create the new session bean (EJB
65

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean (EJB) class ... the new session bean (EJB) class. Now replace the content of the new source file with the following code: package guest; import java.util.List; import javax.ejb.Stateless; import javax
32

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

via a querying @EJB gives many fields null (and not even empty, I mean truly null). In the following ... . When I serve the query via and @EJB TestQuery and @RequestScoped Page JSF to a simple XHTML page ... either empty or populated are served as null (!). The query is performed by an @EJB: @Stateless public class
24

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

.1 and then: Set DO_FORCE_COMMIT_AFTER_BUILD = false in com.greensoft.objectdb.test.mini.ejb ... class ExtConfigBean extends All_ { @EJB private ExtProjectBuilder builder ... { ... Warning: A system exception occurred during an invocation on EJB ExtProjectBuilder, method
7

Step 4: Add a Servlet Class

javax.ejb.EJB; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet ... ; // Injected DAO EJB: @EJB GuestDao guestDao; @Override protected void doGet ... automatically (since the field is marked with the @EJB annotation). The next step is adding a JSP
7

Step 4: Add a Servlet Class

; import java.io.IOException; import javax.ejb.EJB; import javax.servlet.ServletException ... final long serialVersionUID = 1L; // Injected DAO EJB: @EJB GuestDao guestDao ... the application server into the guestDao field automatically (since the field is marked with the @EJB

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