Internal Website Search

1-50 of 79 results

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component : Open the [New Java Class] dialog box by right ... name. The Package should be guest. Click Finish to create the new DAO Spring component class. Now ... .persistence.TypedQuery; import org.springframework.stereotype. Component ; import org.springframework

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component : Open the [New Java Class] dialog box by right ... that case sensitive class name. Click  Finish to create the new DAO Spring component class. Now ... javax.persistence.TypedQuery; import org.springframework.stereotype. Component ; import org

Should I be able to persist a JFrame (or gui components in general)?

of Entity classes must indeed be persistable types. So I made a user component that extends ... components will still be "interesting" to me. Any help in this regard would be appreciated. milesdyson214

How to Use a SF with extended Persistence Context?

.ejb3. component .interceptors.CurrentInvocationContextInterceptor.processInvocation ... ] at org.jboss.as.ejb3. component .interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor ... . component .NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as

JPA Query Expressions (JPQL / Criteria)

of at least one atomic component . More complex query expressions are built by combining atomic

Literals in JPQL and Criteria Queries

. Unlike most other JPQL components , String literals (which represent data) are case sensitive, so 'abc

Database Explorer

Explorer components . Select one or more elements on the left side and then use the combo boxes on the right

UTF Error

.java:73) at javax.faces. component .ComponentStateHelper.eval(ComponentStateHelper.java:170) at javax.faces. component .ComponentStateHelper.eval(ComponentStateHelper.java:157) at javax.faces. component .UIData.getValue(UIData.java:736) at org.primefaces. component .api.UIData.getDataModel(UIData.java:628

Trouble bug on explorer

.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt. Component .processMouseEvent( Component .java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt. Component .processEvent( Component .java:6270) at java.awt.Container.processEvent

Entity is not related to ObjectDB, but i get exception from ObjectDB

) JBAS014134: EJB Invocation failed on component DialogManagerBean for method public abstract void ... .jboss.as.ejb3. component .interceptors.CurrentInvocationContextInterceptor.processInvocation ... .Final] at org.jboss.as.ejb3. component .interceptors.LoggingInterceptor.processInvocation

Problem to use find method on an abstract Class: AbstractMethodError is thrown

.invocation] (http-localhost-127.0.0.1-8080-1) JBAS014134: EJB Invocation failed on component Tester ... .java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.ejb3. component .interceptors ... (InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.ejb3. component

Error reading UTF string

failed on component AuthenticationBean for method public abstract java.util.UUID granat.dp.ejb ... .jboss.as.ejb3. component .interceptors.CurrentInvocationContextInterceptor.processInvocation ... .Final] at org.jboss.as.ejb3. component .interceptors.LoggingInterceptor.processInvocation

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

.Method.invoke(Method.java:601) org.jboss.as.ee. component .ManagedReferenceMethodInterceptorFactory ... .Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:135) org.jboss.as.ee. component ... .processInvocation(WeavedInterceptor.java:53) org.jboss.as.ee. component .interceptors

Add class to objectdb ?

.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt. Component .processMouseEvent( Component .java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt. Component .processEvent( Component .java:6270) at java.awt.Container.processEvent(Container.java:2229

Unable to execute update query

.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt. Component .processMouseEvent( Component .java:6535) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt. Component .processEvent( Component .java:6300) at java.awt.Container.processEvent(Container.java:2236) at java

UserException - Object User#2 belongs to another EntityManager

:185) at org.apache.webbeans. component .AbstractInjectionTargetBean.postConstructDefault(AbstractInjectionTargetBean.java:259) at org.apache.webbeans. component .AbstractInjectionTargetBean.postConstruct ... .InjectionTargetProducer.postConstruct(InjectionTargetProducer.java:122) at org.apache.webbeans. component

BeanCreationException in spring data JPA with objectDB

(ServletHolder.java:256) at org.mortbay. component .AbstractLifeCycle.start(AbstractLifeCycle.java:39 ... .plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:110) at org.mortbay. component ... (ContextHandlerCollection.java:156) at org.mortbay. component .AbstractLifeCycle.start(AbstractLifeCycle.java

Step 4: Add a Controller Class

. A GuestDao component is automatically constructed and injected by Spring into the guestDao field ... to the "/guest" web request uri (using the @RequestMapping annotation) uses the GuestDao component ... output. The JSP uses the GuestDao component to display the existing Guest objects. The returned

Step 4: Add a Controller Class

a Spring managed web controller using the @Controller annotation. A GuestDao component ... the @RequestMapping annotation) uses the GuestDao component to process the web request: If a new guest ... component to display the existing Guest objects. The returned ModelAndView object defines a target JSP

Trouble viewing db in Explorer.

) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt. Component ... . Component .processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt. Component .dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

.jboss.as.ee. component .ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor ... (WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.ee. component ... -1.1.1.Final.jar:1.1.1.Final] at org.jboss.as.ee. component .interceptors

Problem on JPA Merge Entity.

. This the chain of call that don't work: @ Component public class ... implementation: @ Component @Transactional public class ErgoManagerImpl implements IErgoManager { public void ... ; testCreate Create component of statement, save componenet, assign component to statement and save

query on calendar class

:252) at java.awt. Component .processMouseEvent( Component .java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3320) at java.awt. Component .processEvent( Component .java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt. Component .dispatchEventImpl( Component .java

explorer NullPointerException

) at java.awt. Component .processMouseEvent( Component .java:6290) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt. Component .processEvent( Component .java:6055) at java.awt.Container.processEvent(Container.java:2039) at java.awt. Component .dispatchEventImpl( Component .java:4653

Date field Index is corrupted due to time change

. Component .processMouseEvent( Component .java:6516)         ... ; at java.awt. Component .processEvent( Component .java:6281)         ... ; at java.awt. Component .dispatchEventImpl( Component .java:4872)       

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

.mouseMoved(AWTEventMulticaster.java:330) at java.awt. Component .processMouseMotionEvent( Component ... . Component .processEvent( Component .java:6274) at java.awt.Container.processEvent(Container.java:2229) at java.awt. Component .dispatchEventImpl( Component .java:4861) at java.awt.Container.dispatchEventImpl

java.lang.NullPointerException when using ORDER BY

; at java.awt. Component .processMouseEvent( Component .java:6505)        ... ;   at java.awt. Component .processEvent( Component .java:6270)       ... ;   at java.awt. Component .dispatchEventImpl( Component .java:4861)      

com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV

.java:252)         at java.awt. Component .processMouseEvent( Component .java:6505)         at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)         at java.awt. Component .processEvent

Null enums and IS (NOT) NULL: NullPointerException

.faces. component .ComponentStateHelper.eval(ComponentStateHelper.java:194) at javax.faces. component .ComponentStateHelper.eval(ComponentStateHelper.java:182) at javax.faces. component .UIData.getValue(UIData.java:732) at javax.faces. component .UIData.getDataModel(UIData.java:1822) at javax.faces. component

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

.getValue(TagValueExpression.java:109) at javax.faces. component .ComponentStateHelper.eval(ComponentStateHelper.java:194) at javax.faces. component .UIComponentBase.isRendered(UIComponentBase.java:413) at javax.faces. component .UIComponent.encodeAll(UIComponent.java:1751) at javax.faces.render.Renderer

Redeployment in GlassFish - Failed to open file

(TagValueExpression.java:109) at javax.faces. component .ComponentStateHelper.eval(ComponentStateHelper.java:194) at javax.faces. component .UIComponentBase.isRendered(UIComponentBase.java:413) at javax.faces. component ... .java:168) at javax.faces. component .UIComponentBase.encodeChildren(UIComponentBase.java:845

Cannot initialize db after inserting a java.util.List

) at org.mortbay. component .AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty ... .doStart(RequestLogHandler.java:115) at org.mortbay. component .AbstractLifeCycle.start ... .mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay. component .AbstractLifeCycle.start

PersistenceException UserException: Failed to validate persistence.xml

.ActionListenerImpl.processAction(ActionListenerImpl.java:68) at javax.faces. component .UICommand.broadcast(UICommand.java:120) at javax.faces. component .UIViewRoot._broadcastAll(UIViewRoot.java:1028) at javax.faces. component .UIViewRoot.broadcastEvents(UIViewRoot.java:286) at javax.faces. component .UIViewRoot

Attempt to execute a query using a closed EntityManager

.ActionListenerImpl.processAction(ActionListenerImpl.java:68) at javax.faces. component .UICommand.broadcast(UICommand.java:120) at javax.faces. component .UIViewRoot._broadcastAll(UIViewRoot.java:1028) at javax.faces. component .UIViewRoot.broadcastEvents(UIViewRoot.java:286) at javax.faces. component

[ODB1] Chapter 7 - JDOQL Queries

three components : A candidate collection containing persistent objects (usually an Extent ) A candidate class ... of the candidate class satisfying the given filter. In addition to these three main components , queries can include other optional components , such as parameters, variables and import and order expressions

Criteria Query results in a NoResultException instead of returning object

. component .MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88 ... .faces. component .UICommand.broadcast(UICommand.java:315) at javax.faces. component .UIViewRoot.broadcastEvents(UIViewRoot.java:794) at javax.faces. component .UIViewRoot.processApplication(UIViewRoot.java

CriteriaQuery using isNotNull with other conditions results in InternalException

.faces. component .MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter ... ) at javax.faces. component .UICommand.broadcast(UICommand.java:315) at javax.faces. component .UIViewRoot.broadcastEvents(UIViewRoot.java:794) at javax.faces. component .UIViewRoot.processApplication

2.5.3_02: java.lang.UnsupportedOperationException

.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) at javax.faces. component ... . component .UICommand.broadcast(UICommand.java:315) at javax.faces. component .UIViewRoot.broadcastEvents(UIViewRoot.java:790) at javax.faces. component .UIViewRoot.processApplication(UIViewRoot.java:1282) at com

Error 363 - Failed to read value of inverse relationship

.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) at javax.faces. component ... .application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at javax.faces. component .UICommand.broadcast(UICommand.java:315) at javax.faces. component .UIViewRoot.broadcastEvents

Step 6: Set the Spring XML

content: The settings above guides Spring to support annotations (for components , controllers

Step 6: Set the Spring XML

with the following new content: The settings above guides Spring to support annotations (for components

Step 2: Entity Class and Persistence Unit

is adding a Spring  DAO Component class that will manage Guest entity objects.

Step 2: Entity Class and Persistence Unit

as a JPA provider with the specified database url. The next step is adding a Spring DAO Component class that will manage Guest entity objects.

[ODB1] Chapter 9 - ObjectDB Explorer

the candidate collection of the query. Optional JDOQL components , such as filter, parameters, variables, ordering and imports ( chapter 7 explains all these components ), can also be specified in ... components . Select one or more elements on the left side and then use the combo boxes on the right

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

;   at javax.faces. component .UIInput.validateValue(UIInput.java:1149)         at javax.faces. component .UISelectOne.validateValue(UISelectOne.java:146)         at javax.faces. component .UIInput.validate(UIInput.java:967)  

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 javax.faces. component .ComponentStateHelper.eval(ComponentStateHelper.java:194) at javax.faces. component .ComponentStateHelper.eval(ComponentStateHelper.java:182) at javax.faces. component .UIData.getValue(UIData.java:731) at javax.faces. component .UIData.getDataModel(UIData.java:1798) at javax.faces

ArrayIndexOutOfBounds on showing Tree Window

.mouseMoved(AWTEventMulticaster.java:330) at java.awt. Component .processMouseMotionEvent( Component ... . Component .processEvent( Component .java:6304) at java.awt.Container.processEvent(Container.java:2236) at java.awt. Component .dispatchEventImpl( Component .java:4891) at java.awt.Container.dispatchEventImpl

Internal error

. component .AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util. component ... ) at org.eclipse.jetty.util. component .ContainerLifeCycle.doStart(ContainerLifeCycle.java:105) at org ... .server.Server.doStart(Server.java:419) at org.eclipse.jetty.util. component .AbstractLifeCycle.start

javax.jdo.annotations.Order

JDO Annotation Order Target: ElementType.FIELD, ElementType.METHOD Implemented Interfaces: Annotation Annotation for the ordering component of an ordered container member, such as Java Collections Framework Array and List types and Java native array types. Corresponds to the xml element "order

javax.jdo.PersistenceManager

JDO Interface PersistenceManager PersistenceManager is the primary interface for JDO-aware application components . It is the factory for Query and Transaction instances, and contains methods to manage the life cycle of PersistenceCapable instances. A PersistenceManager is obtained from