Jye,
That was a very helpful hint and it's much further along, thanks. I plan to
make a Wiki entry to help others get going more quickly once I've gotten it
going. I think I'm asymptotically close now. I created a META-INF directory
under my resource directory and placed ejb-jar.xml and persistence.xml in it.
I'm reading up on EJB3 as fast as I can, but don't yet know how to fix what is
going wrong. Compared to the ant session that is linked in will all the Seam
source, my Eclipse project is missing the following messages (timestamps
removed so I could diff):
anonymous wrote :
| ...
| INFO (Ejb3DescriptorHandler.java:addClassAnnotation:1699) -adding class
annotation org.jboss.annotation.internal.DefaultInterceptorMarker to
org.jboss.seam.example.registration.RegisterAction [EMAIL PROTECTED]
| ...
| INFO (Log4JLogger.java:info:94) -found EJB3 Entity bean:
org.jboss.seam.example.registration.User
| ...
| INFO (Log4JLogger.java:info:94) -Binding entity from annotated class:
org.jboss.seam.example.registration.User
| INFO (Log4JLogger.java:info:94) -Bind entity
org.jboss.seam.example.registration.User on table users
| ..
| INFO (Log4JLogger.java:info:94) -Registered new user #{user.username}
| INFO (Log4JLogger.java:info:94) -no pages.xml file found
| ...
and then instead of
anonymous wrote : Creating
C:\java\jboss\jboss-seam-1.0.1.GA\examples\registration\test-output\Register.html
|
I get
anonymous wrote : javax.ejb.EJBException:
javax.persistence.PersistenceException:
org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [select username
from User where username=:username]
| at
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
| ...
| Caused by: javax.persistence.PersistenceException:
org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [select username
from User where username=:username]
| at
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:567)
| ...
| Caused by: org.hibernate.hql.ast.QuerySyntaxException: User is not mapped
[select username from User where username=:username]
| at
org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
|
|
Thanks,
Dave
The full unedited console output is:
anonymous wrote : INFO 26-06 09:19:00,800 (Log4JLogger.java:info:94) -reading
components.xml
| INFO 26-06 09:19:01,019 (Log4JLogger.java:info:94) -reading properties
from: /seam.properties
| INFO 26-06 09:19:01,050 (Log4JLogger.java:info:94) -reading properties
from: /jndi.properties
| INFO 26-06 09:19:01,050 (Log4JLogger.java:info:94) -initializing Seam
| INFO 26-06 09:19:01,144 (Log4JLogger.java:info:94) -Component:
org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.Init
| INFO 26-06 09:19:01,316 (Log4JLogger.java:info:94) -Component:
org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.Pages
| INFO 26-06 09:19:01,332 (Log4JLogger.java:info:94) -Component: events,
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
| INFO 26-06 09:19:01,347 (Log4JLogger.java:info:94) -Component:
org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class:
org.jboss.seam.core.Manager
| INFO 26-06 09:19:01,379 (Log4JLogger.java:info:94) -Component: switcher,
scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
| INFO 26-06 09:19:01,394 (Log4JLogger.java:info:94) -Component: redirect,
scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
| INFO 26-06 09:19:01,394 (Log4JLogger.java:info:94) -Component: httpError,
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
| INFO 26-06 09:19:01,410 (Log4JLogger.java:info:94) -Component:
userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.UserPrincipal
| INFO 26-06 09:19:01,425 (Log4JLogger.java:info:94) -Component:
isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.IsUserInRole
| INFO 26-06 09:19:01,441 (Log4JLogger.java:info:94) -Component:
conversation, scope: CONVERSATION, type: JAVA_BEAN, class:
org.jboss.seam.core.Conversation
| INFO 26-06 09:19:01,457 (Log4JLogger.java:info:94) -Component:
conversationList, scope: PAGE, type: JAVA_BEAN, class:
org.jboss.seam.core.ConversationList
| INFO 26-06 09:19:01,472 (Log4JLogger.java:info:94) -Component:
conversationStack, scope: PAGE, type: JAVA_BEAN, class:
org.jboss.seam.core.ConversationStack
| INFO 26-06 09:19:01,488 (Log4JLogger.java:info:94) -Component:
facesContext, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.FacesContext
| INFO 26-06 09:19:01,488 (Log4JLogger.java:info:94) -Component:
pageContext, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.PageContext
| INFO 26-06 09:19:01,519 (Log4JLogger.java:info:94) -Component:
eventContext, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.EventContext
| INFO 26-06 09:19:01,519 (Log4JLogger.java:info:94) -Component:
sessionContext, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.SessionContext
| INFO 26-06 09:19:01,535 (Log4JLogger.java:info:94) -Component:
statelessContext, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.StatelessContext
| INFO 26-06 09:19:01,535 (Log4JLogger.java:info:94) -Component:
applicationContext, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.ApplicationContext
| INFO 26-06 09:19:01,535 (Log4JLogger.java:info:94) -Component:
conversationContext, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.ConversationContext
| INFO 26-06 09:19:01,613 (Log4JLogger.java:info:94) -Component:
businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.BusinessProcessContext
| INFO 26-06 09:19:01,613 (Log4JLogger.java:info:94) -Component: locale,
scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
| INFO 26-06 09:19:01,629 (Log4JLogger.java:info:94) -Component: messages,
scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
| INFO 26-06 09:19:01,644 (Log4JLogger.java:info:94) -Component:
interpolator, scope: STATELESS, type: JAVA_BEAN, class:
org.jboss.seam.core.Interpolator
| INFO 26-06 09:19:01,660 (Log4JLogger.java:info:94) -Component:
facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class:
org.jboss.seam.core.FacesMessages
| INFO 26-06 09:19:01,691 (Log4JLogger.java:info:94) -Component:
resourceBundle, scope: SESSION, type: JAVA_BEAN, class:
org.jboss.seam.core.ResourceBundle
| INFO 26-06 09:19:01,707 (Log4JLogger.java:info:94) -Component:
localeSelector, scope: SESSION, type: JAVA_BEAN, class:
org.jboss.seam.core.LocaleSelector
| INFO 26-06 09:19:01,707 (Log4JLogger.java:info:94) -Component:
uiComponent, scope: STATELESS, type: JAVA_BEAN, class:
org.jboss.seam.core.UiComponent
| INFO 26-06 09:19:01,722 (Log4JLogger.java:info:94) -Component:
org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION,
type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
| INFO 26-06 09:19:01,754 (Log4JLogger.java:info:94) -Component: pojoCache,
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
| INFO 26-06 09:19:01,988 (Log4JLogger.java:info:94) -Component:
org.jboss.seam.core.ejb, scope: APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.core.Ejb
| INFO 26-06 09:19:02,082 (Log4JLogger.java:info:94) -scanning:
C:\eclipse\workspace\seam-play\bin
| INFO 26-06 09:19:02,160 (Log4JLogger.java:info:94) -scanning:
C:\eclipse\workspace\seam-play\resource
| INFO 26-06 09:19:02,175 (Log4JLogger.java:info:94) -Component: register,
scope: STATELESS, type: STATELESS_SESSION_BEAN, class:
org.jboss.seam.example.registration.RegisterAction, JNDI: RegisterAction/local
| INFO 26-06 09:19:02,238 (Log4JLogger.java:info:94) -Component: user,
scope: SESSION, type: ENTITY_BEAN, class:
org.jboss.seam.example.registration.User
| INFO 26-06 09:19:02,269 (Log4JLogger.java:info:94) -starting the embedded
EJB container
| WARN 26-06 09:19:04,285 (BeanSchemaBinding.java:init:227) -You should use
the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0'
| INFO 26-06 09:19:05,550 (LocalTxDataSource.java:bindConnectionFactory:117)
-Bound datasource to JNDI name 'java:/DefaultDS'
| INFO 26-06 09:19:06,707 (Ejb3Deployment.java:create:467) -EJB3 deployment
time took: 344
| INFO 26-06 09:19:07,035 (Ejb3Deployment.java:create:467) -EJB3 deployment
time took: 328
| INFO 26-06 09:19:07,035 (MCKernelAbstraction.java:install:84) -installing
bean: persistence.units:unitName=userDatabase with dependencies:
| INFO 26-06 09:19:07,035 (MCKernelAbstraction.java:install:87) - [EMAIL
PROTECTED]
| INFO 26-06 09:19:07,113 (Log4JLogger.java:info:94) -Hibernate
EntityManager 3.2.0.CR1
| INFO 26-06 09:19:07,129 (Log4JLogger.java:info:94) -Hibernate Annotations
3.2.0.CR1
| INFO 26-06 09:19:07,144 (Log4JLogger.java:info:94) -Hibernate 3.2 cr2
| INFO 26-06 09:19:07,160 (Log4JLogger.java:info:94) -hibernate.properties
not found
| INFO 26-06 09:19:07,160 (Log4JLogger.java:info:94) -Bytecode provider
name : cglib
| INFO 26-06 09:19:07,191 (Log4JLogger.java:info:94) -using JDK 1.4
java.sql.Timestamp handling
| INFO 26-06 09:19:07,347 (Log4JLogger.java:info:94) -Processing
PersistenceUnitInfo [
| name: userDatabase
| ...]
| WARN 26-06 09:19:07,347 (Log4JLogger.java:warn:104) -Persistence provider
caller does not implements the EJB3 spec correctly.
PersistenceUnitInfo.getNewTempClassLoader() is null.
| INFO 26-06 09:19:07,363 (Log4JLogger.java:info:94) -Reading mappings from
resource: META-INF/orm.xml
| INFO 26-06 09:19:07,363 (Log4JLogger.java:info:94) -[PersistenceUnit:
userDatabase] no META-INF/orm.xml found
| INFO 26-06 09:19:07,425 (Log4JLogger.java:info:94) -Initializing
connection provider:
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| INFO 26-06 09:19:07,441 (Log4JLogger.java:info:94) -Using provided
datasource
| INFO 26-06 09:19:07,800 (Log4JLogger.java:info:94) -RDBMS: HSQL Database
Engine, version: 1.8.0
| INFO 26-06 09:19:07,800 (Log4JLogger.java:info:94) -JDBC driver: HSQL
Database Engine Driver, version: 1.8.0
| INFO 26-06 09:19:07,832 (Log4JLogger.java:info:94) -Using dialect:
org.hibernate.dialect.HSQLDialect
| INFO 26-06 09:19:07,879 (Log4JLogger.java:info:94) -Transaction strategy:
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
| INFO 26-06 09:19:07,879 (Log4JLogger.java:info:94) -instantiating
TransactionManagerLookup:
org.hibernate.transaction.JBossTransactionManagerLookup
| INFO 26-06 09:19:07,879 (Log4JLogger.java:info:94) -instantiated
TransactionManagerLookup
| INFO 26-06 09:19:07,879 (Log4JLogger.java:info:94) -Automatic flush
during beforeCompletion(): disabled
| INFO 26-06 09:19:07,879 (Log4JLogger.java:info:94) -Automatic session
close at end of transaction: disabled
| INFO 26-06 09:19:07,879 (Log4JLogger.java:info:94) -JDBC batch size: 15
| INFO 26-06 09:19:07,879 (Log4JLogger.java:info:94) -JDBC batch updates
for versioned data: disabled
| INFO 26-06 09:19:07,894 (Log4JLogger.java:info:94) -Scrollable result
sets: enabled
| INFO 26-06 09:19:07,894 (Log4JLogger.java:info:94) -JDBC3
getGeneratedKeys(): disabled
| INFO 26-06 09:19:07,894 (Log4JLogger.java:info:94) -Connection release
mode: auto
| INFO 26-06 09:19:07,894 (Log4JLogger.java:info:94) -Default batch fetch
size: 1
| INFO 26-06 09:19:07,894 (Log4JLogger.java:info:94) -Generate SQL with
comments: disabled
| INFO 26-06 09:19:07,894 (Log4JLogger.java:info:94) -Order SQL updates by
primary key: disabled
| INFO 26-06 09:19:07,894 (Log4JLogger.java:info:94) -Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
| INFO 26-06 09:19:07,894 (Log4JLogger.java:info:94) -Using
ASTQueryTranslatorFactory
| INFO 26-06 09:19:07,894 (Log4JLogger.java:info:94) -Query language
substitutions: {}
| INFO 26-06 09:19:07,894 (Log4JLogger.java:info:94) -Second-level cache:
enabled
| INFO 26-06 09:19:07,894 (Log4JLogger.java:info:94) -Query cache: disabled
| INFO 26-06 09:19:07,910 (Log4JLogger.java:info:94) -Cache provider:
org.hibernate.cache.HashtableCacheProvider
| INFO 26-06 09:19:07,910 (Log4JLogger.java:info:94) -Optimize cache for
minimal puts: disabled
| INFO 26-06 09:19:07,910 (Log4JLogger.java:info:94) -Structured
second-level cache entries: disabled
| INFO 26-06 09:19:07,925 (Log4JLogger.java:info:94) -Statistics: disabled
| INFO 26-06 09:19:07,925 (Log4JLogger.java:info:94) -Deleted entity
synthetic identifier rollback: disabled
| INFO 26-06 09:19:07,925 (Log4JLogger.java:info:94) -Default entity-mode:
pojo
| INFO 26-06 09:19:08,019 (Log4JLogger.java:info:94) -building session
factory
| INFO 26-06 09:19:08,019 (Log4JLogger.java:info:94) -Not binding factory
to JNDI, no JNDI name configured
| INFO 26-06 09:19:08,035 (Log4JLogger.java:info:94) -Running hbm2ddl
schema export
| INFO 26-06 09:19:08,035 (Log4JLogger.java:info:94) -exporting generated
schema to database
| INFO 26-06 09:19:08,175 (Log4JLogger.java:info:94) -schema export complete
| INFO 26-06 09:19:08,191 (Log4JLogger.java:info:94) -JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| INFO 26-06 09:19:08,222 (MCKernelAbstraction.java:install:84) -installing
bean: jboss.j2ee:jar=bin,name=RegisterAction,service=EJB3 with dependencies:
| INFO 26-06 09:19:08,222 (MCKernelAbstraction.java:install:87) - [EMAIL
PROTECTED]:unitName=userDatabase}
| INFO 26-06 09:19:08,613 (EJBContainer.java:start:553) -STARTED EJB:
org.jboss.seam.example.registration.RegisterAction ejbName: RegisterAction
| INFO 26-06 09:19:08,644 (Log4JLogger.java:info:94) -done initializing Seam
| INFO 26-06 09:19:09,097 (Log4JLogger.java:info:94) -stopping the embedded
EJB container
| INFO 26-06 09:19:09,129 (Log4JLogger.java:info:94) -closing
| INFO 26-06 09:19:09,129 (Log4JLogger.java:info:94) -Running hbm2ddl
schema export
| INFO 26-06 09:19:09,129 (Log4JLogger.java:info:94) -exporting generated
schema to database
| INFO 26-06 09:19:09,129 (Log4JLogger.java:info:94) -schema export complete
| FAILED: testLogin
| javax.ejb.EJBException: javax.persistence.PersistenceException:
org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [select username
from User where username=:username]
| at
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
| at
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
| at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
| at
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| at $Proxy30.register(Unknown Source)
| at
org.jboss.seam.example.registration.RegisterTest$1.invokeApplication(RegisterTest.java:33)
| at org.jboss.seam.mock.SeamTest$Script.run(SeamTest.java:242)
| at
org.jboss.seam.example.registration.RegisterTest.testLogin(RegisterTest.java:47)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:552)
| at org.testng.internal.Invoker.invokeMethod(Invoker.java:407)
| at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:778)
| at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105)
| at org.testng.TestRunner.privateRun(TestRunner.java:682)
| at org.testng.TestRunner.run(TestRunner.java:566)
| at org.testng.SuiteRunner.privateRun(SuiteRunner.java:220)
| at org.testng.SuiteRunner.run(SuiteRunner.java:146)
| at org.testng.eclipse.runner.RemoteTestNG.run(RemoteTestNG.java:98)
| at org.testng.eclipse.runner.RemoteTestNG.main(RemoteTestNG.java:138)
| Caused by: javax.persistence.PersistenceException:
org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [select username
from User where username=:username]
| at
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:567)
| at
org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:79)
| at
org.jboss.ejb3.entity.TransactionScopedEntityManager.createQuery(TransactionScopedEntityManager.java:127)
| at
org.jboss.seam.example.registration.RegisterAction.register(RegisterAction.java:35)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109)
| at
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| at
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| ... 32 more
| Caused by: org.hibernate.hql.ast.QuerySyntaxException: User is not mapped
[select username from User where username=:username]
| at
org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
| at
org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:87)
| at
org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:70)
| at
org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:267)
| at
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3049)
| at
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2938)
| at
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688)
| at
org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:544)
| at
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
| at
org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
| at
org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:227)
| at
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:159)
| at
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:110)
| at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:77)
| at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:56)
| at
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71)
| at
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
| at
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
| at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1612)
| at
org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:76)
| ... 47 more
|
|
| ===============================================
| Register
| Tests run: 1, Failures: 1, Skips: 0
| ===============================================
|
|
| ===============================================
| Registration
| Total tests run: 1, Failures: 1, Skips: 0
| ===============================================
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953492#3953492
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953492
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user