You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(32) |
Jun
(175) |
Jul
(209) |
Aug
(302) |
Sep
(287) |
Oct
(339) |
Nov
(314) |
Dec
(329) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(479) |
Feb
(389) |
Mar
(599) |
Apr
(307) |
May
(390) |
Jun
(300) |
Jul
(410) |
Aug
(458) |
Sep
(299) |
Oct
(315) |
Nov
(363) |
Dec
(529) |
2005 |
Jan
(568) |
Feb
(434) |
Mar
(1004) |
Apr
(823) |
May
(767) |
Jun
(763) |
Jul
(854) |
Aug
(862) |
Sep
(560) |
Oct
(853) |
Nov
(763) |
Dec
(731) |
2006 |
Jan
(776) |
Feb
(608) |
Mar
(657) |
Apr
(424) |
May
(559) |
Jun
(440) |
Jul
(448) |
Aug
(58) |
Sep
|
Oct
(17) |
Nov
(16) |
Dec
(8) |
2007 |
Jan
(1) |
Feb
(8) |
Mar
(2) |
Apr
(5) |
May
(3) |
Jun
(3) |
Jul
(3) |
Aug
(16) |
Sep
(10) |
Oct
(4) |
Nov
(4) |
Dec
(4) |
2008 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:54:23
|
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-159?page=all ] Emmanuel Bernard updated EJB-159: --------------------------------- type: Improvement (was: Bug) > RESOURCE_LOCAL should be default in JavaSE > ------------------------------------------ > > Key: EJB-159 > URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-159 > Project: Hibernate Entity Manager > Type: Improvement > Reporter: Bill Burke > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > > > If I leave out the transaction type, I get this error when using HEM outside of app server. You used to not require it. > run.client1: > [java] Exception in thread "main" javax.persistence.PersistenceException: org.hibernate.HibernateException: The cho > sen transaction strategy requires access to the JTA TransactionManager > [java] at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:188) > [java] at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:110) > [java] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37) > [java] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:27) > [java] at com.titan.clients.Client1.main(Client1.java:14) > [java] Caused by: org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA Tran > sactionManager > [java] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:311) > [java] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1180) > [java] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:505) > [java] at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:632) > [java] at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:126) > [java] at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:180) > [java] ... 4 more > [java] Java Result: 1 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:54:23
|
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-167?page=all ] Emmanuel Bernard updated EJB-167: --------------------------------- Summary: EntityManager must return null, if entity does not exist. (was: EntityManager must return null, if entity is not exist.) > EntityManager must return null, if entity does not exist. > --------------------------------------------------------- > > Key: EJB-167 > URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-167 > Project: Hibernate Entity Manager > Type: Bug > Components: EntityManager > Reporter: Sergey Vladimirov > Priority: Minor > Fix For: 3.2.0.cr1 > > > According to specification, EntityManager returns the found entity instance or null if the entity does not exist. > But there is a case when AsbtractEntityManagerIml will not return null, even if entity does not exists, becose Session.get() CAN return proxy, even if entity does not exists: > "Return the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance. (If the instance, or a proxy for the instance, is already associated with the session, return that instance or proxy.)" > So, in the followed case EntityManager.find() will return proxy, but it can't be initialized: > EntityManager.getReference(SomeObjectClass.class, -1) => return uninitialized proxy to unexisted entity > EntityManager.find(SomeObjectClass.class, -1) => return the same uninitialized proxy > Test case can be simply created. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:52:25
|
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-167?page=all ] Emmanuel Bernard updated EJB-167: --------------------------------- Fix Version: 3.2.0.cr1 (was: 3.2.0) > EntityManager must return null, if entity is not exist. > ------------------------------------------------------- > > Key: EJB-167 > URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-167 > Project: Hibernate Entity Manager > Type: Bug > Components: EntityManager > Reporter: Sergey Vladimirov > Priority: Minor > Fix For: 3.2.0.cr1 > > > According to specification, EntityManager returns the found entity instance or null if the entity does not exist. > But there is a case when AsbtractEntityManagerIml will not return null, even if entity does not exists, becose Session.get() CAN return proxy, even if entity does not exists: > "Return the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance. (If the instance, or a proxy for the instance, is already associated with the session, return that instance or proxy.)" > So, in the followed case EntityManager.find() will return proxy, but it can't be initialized: > EntityManager.getReference(SomeObjectClass.class, -1) => return uninitialized proxy to unexisted entity > EntityManager.find(SomeObjectClass.class, -1) => return the same uninitialized proxy > Test case can be simply created. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:52:25
|
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-101?page=all ] Emmanuel Bernard updated EJB-101: --------------------------------- Fix Version: (was: 3.2.0) 3.2.0.cr1 > callback method overriding should avoid supermethod calls > --------------------------------------------------------- > > Key: EJB-101 > URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-101 > Project: Hibernate Entity Manager > Type: Bug > Components: EntityManager > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Priority: Minor > Fix For: 3.2.0.cr1 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:52:25
|
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-172?page=all ] Emmanuel Bernard updated EJB-172: --------------------------------- Fix Version: (was: 3.2.0) 3.2.0.cr1 > Use Hibernate abstraction of the ByteCodeEnhancer for class file transformation > ------------------------------------------------------------------------------- > > Key: EJB-172 > URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-172 > Project: Hibernate Entity Manager > Type: Improvement > Components: EntityManager > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:52:25
|
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-9?page=all ] Emmanuel Bernard updated EJB-9: ------------------------------- Fix Version: 3.2.0.cr1 (was: 3.2.0) > Proxied instances should raise ENFE not LIE > ------------------------------------------- > > Key: EJB-9 > URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-9 > Project: Hibernate Entity Manager > Type: Bug > Components: EntityManager > Versions: 3.1beta1 > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Priority: Minor > Fix For: 3.2.0.cr1 > > > We need a LazyExceptionStrategy in the core. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:52:24
|
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-84?page=all ] Emmanuel Bernard updated EJB-84: -------------------------------- Fix Version: 3.2.0.cr1 (was: 3.2.0) > Integrate the ClassFileTransformer and pass the appropriate entities to enhance > ------------------------------------------------------------------------------- > > Key: EJB-84 > URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-84 > Project: Hibernate Entity Manager > Type: Improvement > Components: EntityManager > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:52:24
|
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-59?page=all ] Emmanuel Bernard updated EJB-59: -------------------------------- Fix Version: (was: 3.2.0) 3.2.0.cr1 > count(*) return Integer and not Long > ------------------------------------ > > Key: EJB-59 > URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-59 > Project: Hibernate Entity Manager > Type: Bug > Components: EntityManager > Versions: 3.1beta2 > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Priority: Minor > Fix For: 3.2.0.cr1 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:52:23
|
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-116?page=all ] Emmanuel Bernard updated EJB-116: --------------------------------- Fix Version: 3.2.0.cr1 (was: 3.2.0) > The EntityManager's configuration overwites configurations from the hibernate.cfg.xml file > ------------------------------------------------------------------------------------------ > > Key: EJB-116 > URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-116 > Project: Hibernate Entity Manager > Type: Bug > Components: EntityManager > Versions: 3.1beta6 > Environment: Hibernate bundled with JBoss 4.03-SP1 > Reporter: Nigel White > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > Attachments: aamyhibernate.jar, hibernateFix.zip, hibernateFix.zip, testcase.par, testsrc.zip > > > I'm using EJB3/hibernate in JBoss. I have the following line in persistence.xml: > <property name="hibernate.ejb.cfgfile" value="hibernate_config.xml"/> > In hibernate_config.xml, I set up event handlers: > <event type="pre-update"> > <listener class="com.fcl.util.HibernateEventListener"/> > </event> > <event type="post-commit-update"> > <listener class="com.fcl.util.HibernateEventListener"/> > <listener class="org.hibernate.lucene.event.LuceneEventListener"/> > </event> > <event type="post-commit-insert"> > <listener class="com.fcl.util.HibernateEventListener"/> > <listener class="org.hibernate.lucene.event.LuceneEventListener"/> > </event> > <event type="post-commit-delete"> > <listener class="com.fcl.util.HibernateEventListener"/> > <listener class="org.hibernate.lucene.event.LuceneEventListener"/> > </event> > My own code is in com.fcl.util.HibernateEventListener. > The 3 post-whatever events are being fired, and I can see my Lucene indices. > My event listener, the com.fcl.util.HibernateEventListener is not called. > After some investigation, I put debug statements to display a stack trace into > org.hibernate.event.EventListeners.setPreUpdateEventListeners(PreUpdateEventListener[] preUpdateEventListener) > From this, I discovered that the configuration setup on app deployment is configuring the SessionFactory twice. > 16:54:16,015 INFO [Configuration] configuring from resource: hibernate_config.xml > 16:54:16,015 INFO [Configuration] Configuration resource: hibernate_config.xml > 16:54:16,031 INFO [STDOUT] java.lang.Exception: Setting PreUpdateEventListeners > 16:54:16,031 INFO [STDOUT] at org.hibernate.event.EventListeners.setPreUpdateEventListeners(EventListeners.java:418) > 16:54:16,031 INFO [STDOUT] at org.hibernate.cfg.Configuration.setListeners(Configuration.java:1661) > 16:54:16,031 INFO [STDOUT] at org.hibernate.cfg.Configuration.setListeners(Configuration.java:1493) > 16:54:16,031 INFO [STDOUT] at org.hibernate.cfg.Configuration.parseEvent(Configuration.java:1469) > 16:54:16,031 INFO [STDOUT] at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1401) > 16:54:16,031 INFO [STDOUT] at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1363) > 16:54:16,031 INFO [STDOUT] at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1339) > 16:54:16,031 INFO [STDOUT] at org.hibernate.cfg.Configuration.configure(Configuration.java:1259) > 16:54:16,031 INFO [STDOUT] at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:378) > 16:54:16,031 INFO [STDOUT] at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:20 > 2) > 16:54:16,062 INFO [STDOUT] at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.j > ava:78) > 16:54:16,062 INFO [STDOUT] at org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(Ejb3Deployment.java:512) > 16:54:16,062 INFO [STDOUT] at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:253) > 16:54:16,062 INFO [STDOUT] at org.jboss.ejb3.Ejb3JmxDeployment.create(Ejb3JmxDeployment.java:230) > 16:54:16,062 INFO [STDOUT] at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:34) > and then, a few milliseconds later: > 16:54:16,171 INFO [STDOUT] java.lang.Exception: Setting PreUpdateEventListeners > 16:54:16,171 INFO [STDOUT] at org.hibernate.event.EventListeners.setPreUpdateEventListeners(EventListeners.java:418) > 16:54:16,171 INFO [STDOUT] at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:124) > 16:54:16,171 INFO [STDOUT] at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:473) > 16:54:16,171 INFO [STDOUT] at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:20 > 2) > 16:54:16,171 INFO [STDOUT] at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.j > ava:78) > 16:54:16,171 INFO [STDOUT] at org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(Ejb3Deployment.java:512) > 16:54:16,171 INFO [STDOUT] at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:253) > 16:54:16,171 INFO [STDOUT] at org.jboss.ejb3.Ejb3JmxDeployment.create(Ejb3JmxDeployment.java:230) > 16:54:16,171 INFO [STDOUT] at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:34) > 16:54:16,171 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245) > 16:54:16,171 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228) > 16:54:16,171 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > 16:54:16,171 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > 16:54:16,171 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > 16:54:16,171 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585) > 16:54:16,171 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) > 16:54:16,171 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) > 16:54:16,171 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) > 16:54:16,171 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) > 16:54:16,171 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) > 16:54:16,171 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) > It's configuring once from my XML configuration file, and then it does its own configuration where it sets the pre update listener to be a org.hibernate.validator.event.ValidateEventListener > The problem is that the org.hibernate.event.EventListeners class only has a method for [b]setting the entire stack[/b] of listeners. OK, you can get the array, create a new one, copy the old one, add yours, and set it, but the org.hibernate.ejb.EventListenerConfigurator doesn't do that, it just uses what's available and stomps over user-specified listeners. > Surely, like most event handling patterns there should be an addBlahEventListener() call in org.hibernate.event.EventListeners? > Either that or org.hibernate.ejb.EventListenerConfigurator should get the handler array, copy it to a new array, and [b]add[/b] it's own listener at the start or end of the array. > I have attached the necessary files in zip archives. > You will need to get the provided org.hibernate.event.EventListeners class (with the stacktrace display) into the classpath ahead of the original one, so put aamyhibernate.jar into the server/default/lib directory and restart. > You don't event need an actual entity bean to see this, just deploy testcase.par. > This just displays a stack trace whenever PostUpdateEventListeners are set. I've just deployed it, and it displays the stack trace [b]three times![/b] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:52:23
|
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-175?page=all ] Emmanuel Bernard updated EJB-175: --------------------------------- Fix Version: (was: 3.2.0) 3.2.0.cr1 > Support for createNativeQuery.executeUpdate() > --------------------------------------------- > > Key: EJB-175 > URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-175 > Project: Hibernate Entity Manager > Type: Improvement > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Priority: Minor > Fix For: 3.2.0.cr1 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:52:23
|
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-173?page=all ] Emmanuel Bernard updated EJB-173: --------------------------------- Fix Version: (was: 3.2.0) 3.2.0.cr1 > Resetting joined transaction state on a closed entity manager raise an exception > -------------------------------------------------------------------------------- > > Key: EJB-173 > URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-173 > Project: Hibernate Entity Manager > Type: Bug > Components: EntityManager > Versions: 3.1.0.Beta8 > Environment: Hibernate core 3.2rc1; Hibernate Annotation 3.1.0 beta 10 > Oracle OC4J 10.1.13 > Oracle 9 > Reporter: Jifeng Liu > Assignee: Emmanuel Bernard > Priority: Minor > Fix For: 3.2.0.cr1 > > > I got an exception as the summary. I add some related debug information and stack trace at the end. > I am using a JTA EntityManager associated with current container managed transaction in a J2EE server. This happends when the stateless session bean finishs its excution. When current transaction commits, the current Session is closed by CacheSynchronization class. Then AbstractEntityManagerImpl$1.afterCompletion() method is called. this method trys to get transaction in the closed session object and causes the exception. > 14:09:48 DEBUG AbstractFlushingEventListener - executing flush > 14:09:48 DEBUG AbstractFlushingEventListener - post flush > 14:09:48 DEBUG CacheSynchronization - transaction after completion callback, status: 3 > 14:09:48 DEBUG SessionImpl - after transaction completion > 14:09:48 DEBUG CacheSynchronization - automatically closing session > 14:09:48 DEBUG SessionImpl - automatically closing session > 14:10:10 DEBUG SessionImpl - closing session > org.hibernate.SessionException: Session is closed! > at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:49) > at org.hibernate.impl.SessionImpl.getTransaction(SessionImpl.java:1281) > at org.hibernate.ejb.AbstractEntityManagerImpl$1.afterCompletion(AbstractEntityManagerImpl.java:496) > at com.evermind.server.ApplicationServerTransaction.callSynchronizationAfterCompletion(ApplicationServerTransaction.jav > a:1074) > at com.evermind.server.ApplicationServerTransactionManager.freeResources(ApplicationServerTransactionManager.java:355) > at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:249) > at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:126) > at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:433) > at com.evermind.server.ApplicationServer$2.commit(ApplicationServer.java:4540) > at com.evermind.server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:136) > at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:63) > at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69) > at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52) > at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69) > at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86) > at IEJBEventDispatcherSBLocal_StatelessSessionBeanWrapper62.dispatchEvent(IEJBEventDispatcherSBLocal_StatelessSessionBe > anWrapper62.java:37) > at com.senior.web.shared.EJBEventDispatcher.dispatchEvent(EJBEventDispatcher.java:49) > at com.senior.web.faces.bean.administration.StudentParentDirectorySetupFace.load(StudentParentDirectorySetupFace.java:4 > 5) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:49:24
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-870?page=comments#action_23025 ] Emmanuel Bernard commented on HHH-870: -------------------------------------- you mean second level cache eviction? What would be the impact on a clustered/transactional cache? > support SQL updates in named queries > ------------------------------------ > > Key: HHH-870 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-870 > Project: Hibernate3 > Type: New Feature > Components: core > Environment: Hibernate 3.0.5, SQL Server 2000 > Reporter: Nathan Moon > Assignee: Max Rydahl Andersen > Priority: Minor > Fix For: 3.2.0 > Attachments: NativeSQLQueryPlan_withNamedParameters.java.txt, patch.txt > > > currently attempting to execute a named <sql-query> that is an update statement throws java.lang.UnsupportedOperationException: Update queries only supported through HQL. > In order to execute sql updates, the Session.connection() must be used directly. > (see forum topic http://forum.hibernate.org/viewtopic.php?t=940281) > It would be very nice to be able to be able to externalize SQL update statements and be able to run them with Session.getNamedQuery(). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:33:22
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-337?page=all ] Emmanuel Bernard updated ANN-337: --------------------------------- type: Improvement (was: Bug) > XML result-set-mapping should overrides @SqlResultSetMapping > ------------------------------------------------------------ > > Key: ANN-337 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-337 > Project: Hibernate Annotations > Type: Improvement > Components: binder > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:31:23
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-323?page=all ] Emmanuel Bernard updated ANN-323: --------------------------------- type: Improvement (was: Bug) > XML overriding should have precedence over annotations for queries, rs, generators > ---------------------------------------------------------------------------------- > > Key: ANN-323 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-323 > Project: Hibernate Annotations > Type: Improvement > Components: binder > Versions: 3.1.0.Beta10 > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:31:23
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-325?page=all ] Emmanuel Bernard updated ANN-325: --------------------------------- type: Improvement (was: Bug) > entity described in XML should be part of the mapped entities > ------------------------------------------------------------- > > Key: ANN-325 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-325 > Project: Hibernate Annotations > Type: Improvement > Components: binder > Versions: 3.1.0.Beta10 > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:31:23
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-195?page=all ] Emmanuel Bernard updated ANN-195: --------------------------------- type: Improvement (was: Bug) > Potentially move from TableA_TableB to EntityA_EntityB on join tables is the spec remains > ----------------------------------------------------------------------------------------- > > Key: ANN-195 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-195 > Project: Hibernate Annotations > Type: Improvement > Components: binder > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Priority: Critical > Fix For: 3.2.0.cr1 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:31:22
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-158?page=all ] Emmanuel Bernard updated ANN-158: --------------------------------- Summary: Support for @ManyToOne or @OneToOne @JoinTable (bidirectional) (was: Support for @ManyToOne or @OneToOne @JoinTable (bidirectional) type: New Feature (was: Bug) > Support for @ManyToOne or @OneToOne @JoinTable (bidirectional) > -------------------------------------------------------------- > > Key: ANN-158 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-158 > Project: Hibernate Annotations > Type: New Feature > Components: binder > Versions: 3.1.0.Beta10 > Reporter: Christian Bauer > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > > > Collection (inverse) side: > class User { > @OneToMany(mappedBy = "buyer") > @JoinTable(table = @Table(name = "ITEM_BUYER"), > joinColumns = { @JoinColumn( name = "USER_ID") }, > inverseJoinColumns = @JoinColumn(name = "ITEM_ID") > ) > private Set<Item> boughtItems = new HashSet<Item>(); > } > Other side: > @SecondaryTable(name = "ITEM_BUYER", > join = { @JoinColumn(name="ITEM_ID") } > ) > public class Item { > @ManyToOne > @JoinColumn(secondaryTable = "ITEM_BUYER", name = "USER_ID") > private User buyer; > } > Exception: > 19:44:04,766 DEBUG CollectionSecondPass:33 - Second pass for collection: org.hibernate.ce.auction.model.User.boughtItems > 19:44:04,776 DEBUG CollectionBinder:673 - Binding a OneToMany: org.hibernate.ce.auction.model.User.boughtItems through an association table > 19:44:04,790 ERROR HibernateUtil:80 - Building SessionFactory failed. > java.lang.ClassCastException: org.hibernate.mapping.ManyToOne > at org.hibernate.cfg.annotations.CollectionBinder.bindManyToManySecondPass(CollectionBinder.java:708) > at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:410) > at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:371) > at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35) > at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1030) > at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:227) > at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1145) > I'm also missing a mechanism to make the ManyToOne inverse, so I could have an indexed collection. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:29:26
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-120?page=all ] Emmanuel Bernard updated ANN-120: --------------------------------- type: Improvement (was: Bug) > Map, OneToMany, join table or @ManyToMany does not work > ------------------------------------------------------- > > Key: ANN-120 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-120 > Project: Hibernate Annotations > Type: Improvement > Components: binder > Versions: 3.1beta6 > Environment: Hibernate 3.1 RC1, Annotations 3.1b6, Java 1.5.0_05 > Reporter: Mattias Arbin > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > Attachments: KeyValue.java, MyEntity.java, TestKeyValue.java > > > Seems like there is a problem with mapping a Map using join table. > I have a relation like this: > @OneToMany(cascade=CascadeType.ALL) > @MapKey(name="name") > public Map<String, KeyValue> getProps() { > return props; > } > The correct tables are created and inserting data works fine. When loading, however, I get the error below. > When using a join column, everything works fine: > @OneToMany(cascade=CascadeType.ALL) > @MapKey(name="name") > @JoinColumn(name="myentity_id") > public Map<String, KeyValue> getProps() { > return props; > } > Attached the two test classes. > The error: > ... > Hibernate: select this_.id as id3_0_ from test_MyEntity this_ > Hibernate: select props0_.MyEntity_id as MyEntity1_1_, props0_.props_id as props2_1_, props0_.name as formula0_1_, keyvalue1_.id as id2_0_, keyvalue1_.val as val2_0_, keyvalue1_.name as name2_0_ from test_MyEntity_KeyValue props0_ left outer join test_KeyValue keyvalue1_ on props0_.props_id=keyvalue1_.id where props0_.MyEntity_id=? > 15:11:49,078 WARN JDBCExceptionReporter:71 - SQL Error: 1054, SQLState: 42S22 > Exception in thread "main" 15:11:49,078 ERROR JDBCExceptionReporter:72 - null, message from server: "Unknown column 'props0_.name' in 'field list'" > org.hibernate.exception.SQLGrammarException: could not initialize a collection: [test.data.MyEntity.props#1] > at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:65) > at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) > at org.hibernate.loader.Loader.loadCollection(Loader.java:1923) > at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:71) > at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:520) > at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60) > at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1565) > at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344) > at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) > at org.hibernate.collection.AbstractPersistentCollection.readElementByIndex(AbstractPersistentCollection.java:161) > at org.hibernate.collection.PersistentMap.get(PersistentMap.java:127) > at test.TestKeyValue.test(TestKeyValue.java:43) > at test.TestKeyValue.main(TestKeyValue.java:57) > Caused by: java.sql.SQLException: null, message from server: "Unknown column 'props0_.name' in 'field list'" > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1876) > at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1098) > at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1192) > at com.mysql.jdbc.Connection.execSQL(Connection.java:2051) > at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1496) > at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:137) > at org.hibernate.loader.Loader.getResultSet(Loader.java:1676) > at org.hibernate.loader.Loader.doQuery(Loader.java:662) > at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:223) > at org.hibernate.loader.Loader.loadCollection(Loader.java:1916) > ... 10 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:29:26
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-281?page=all ] Emmanuel Bernard updated ANN-281: --------------------------------- type: Bug (was: Improvement) > @Mapkey broken if key is Entity > ------------------------------- > > Key: ANN-281 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-281 > Project: Hibernate Annotations > Type: Bug > Components: binder > Environment: JBoss 4.0.4RC1 with included hibernate EJB > Reporter: Alexander Langer > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > Attachments: key-as-entity.patch > > > See this thread: http://forum.hibernate.org/viewtopic.php?t=951281 > In short, if you have a @OneToMany relation with a @MapKey: > @OneToMany(mappedBy="label", fetch=FetchType.EAGER, cascade=CascadeType.ALL) > @MapKey(name="language") > private Map<Language, Translation> translations = new HashMap<Language, Translation>(); > where Language is another @Entity and the field "language" in Translation of type @ManyToOne, hibernate will correctly persist to the database, but loading FROM the database is broken. > For more information please above thread in the forum, I've added some debug output that might help here. > As a workaround I've changed the Map to Map<Long, Translation> and the Translation's field "language" is now of type Long instead of type Language (this works), but it used to work before so something is broken now. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:29:26
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-40?page=all ] Emmanuel Bernard updated ANN-40: -------------------------------- type: New Feature (was: Improvement) > @Parent > ------- > > Key: ANN-40 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-40 > Project: Hibernate Annotations > Type: New Feature > Components: binder > Versions: 3.1beta3 > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Priority: Trivial > Fix For: 3.2.0.cr1 > > > @Parent equivalent of <parent> in an embedded object -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:27:24
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-310?pa= ge=3Dall ] Emmanuel Bernard updated ANN-310: --------------------------------- Summary: Dist is missing resource files (was: Compilation Problem) > Dist is missing resource files > ------------------------------ > > Key: ANN-310 > URL: http://opensource.atlassian.com/projects/hibernate/browse/A= NN-310 > Project: Hibernate Annotations > Type: Bug > Versions: 3.1.0.Beta10 > Environment: Hibernate 3.2.0cr1 > Reporter: Andre Christ > Priority: Minor > Fix For: 3.2.0.cr1 > > > Compiling the tools leads to a broken jar file since the Validator resour= ces are copied to build/classes/java/org/... instead of build/classes/org/.= .. > Seems to be a little thing inside of > <copy todir=3D"${classes.dir}"> > <fileset dir=3D"${src.dir}"> > <include name=3D"**/resources/*.properties"/> > </fileset> > </copy> > Thanks in advance, > Andr=C3=A9 --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators= .jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:09:25
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-307?page=all ] Emmanuel Bernard updated ANN-307: --------------------------------- Summary: BindHelper.findPropertiesByColumns behaviour is non deterministic due to HashSet being used (was: BindHelper.findPropertiesByColumns behaviour is non deterministic due to HashSet being used.) > BindHelper.findPropertiesByColumns behaviour is non deterministic due to HashSet being used > ------------------------------------------------------------------------------------------- > > Key: ANN-307 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-307 > Project: Hibernate Annotations > Type: Bug > Components: binder > Versions: 3.1beta9 > Reporter: Ronn Chinowutthichai > Assignee: Emmanuel Bernard > Priority: Critical > Fix For: 3.2.0.cr1 > > > When trying to associate two attributes of the same type to an object, the second attribute won't always be correcty bind. > BindHelper.bindPropertiesByColumns sometimes return synthetic property mapping for the join column as a result the second attribute won't be hydrated properly. > Please see > http://www.mail-archive.com/hibernate-devel%40lists.sourceforge.net/msg05680.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:06:35
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-195?page=all ] Emmanuel Bernard updated ANN-195: --------------------------------- Fix Version: 3.2.0.cr1 (was: 3.2.0) > Potentially move from TableA_TableB to EntityA_EntityB on join tables is the spec remains > ----------------------------------------------------------------------------------------- > > Key: ANN-195 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-195 > Project: Hibernate Annotations > Type: Bug > Components: binder > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Priority: Critical > Fix For: 3.2.0.cr1 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:06:32
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-120?page=all ] Emmanuel Bernard updated ANN-120: --------------------------------- Fix Version: 3.2.0.cr1 (was: 3.2.0) > Map, OneToMany, join table or @ManyToMany does not work > ------------------------------------------------------- > > Key: ANN-120 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-120 > Project: Hibernate Annotations > Type: Bug > Components: binder > Versions: 3.1beta6 > Environment: Hibernate 3.1 RC1, Annotations 3.1b6, Java 1.5.0_05 > Reporter: Mattias Arbin > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > Attachments: KeyValue.java, MyEntity.java, TestKeyValue.java > > > Seems like there is a problem with mapping a Map using join table. > I have a relation like this: > @OneToMany(cascade=CascadeType.ALL) > @MapKey(name="name") > public Map<String, KeyValue> getProps() { > return props; > } > The correct tables are created and inserting data works fine. When loading, however, I get the error below. > When using a join column, everything works fine: > @OneToMany(cascade=CascadeType.ALL) > @MapKey(name="name") > @JoinColumn(name="myentity_id") > public Map<String, KeyValue> getProps() { > return props; > } > Attached the two test classes. > The error: > ... > Hibernate: select this_.id as id3_0_ from test_MyEntity this_ > Hibernate: select props0_.MyEntity_id as MyEntity1_1_, props0_.props_id as props2_1_, props0_.name as formula0_1_, keyvalue1_.id as id2_0_, keyvalue1_.val as val2_0_, keyvalue1_.name as name2_0_ from test_MyEntity_KeyValue props0_ left outer join test_KeyValue keyvalue1_ on props0_.props_id=keyvalue1_.id where props0_.MyEntity_id=? > 15:11:49,078 WARN JDBCExceptionReporter:71 - SQL Error: 1054, SQLState: 42S22 > Exception in thread "main" 15:11:49,078 ERROR JDBCExceptionReporter:72 - null, message from server: "Unknown column 'props0_.name' in 'field list'" > org.hibernate.exception.SQLGrammarException: could not initialize a collection: [test.data.MyEntity.props#1] > at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:65) > at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) > at org.hibernate.loader.Loader.loadCollection(Loader.java:1923) > at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:71) > at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:520) > at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60) > at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1565) > at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344) > at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) > at org.hibernate.collection.AbstractPersistentCollection.readElementByIndex(AbstractPersistentCollection.java:161) > at org.hibernate.collection.PersistentMap.get(PersistentMap.java:127) > at test.TestKeyValue.test(TestKeyValue.java:43) > at test.TestKeyValue.main(TestKeyValue.java:57) > Caused by: java.sql.SQLException: null, message from server: "Unknown column 'props0_.name' in 'field list'" > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1876) > at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1098) > at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1192) > at com.mysql.jdbc.Connection.execSQL(Connection.java:2051) > at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1496) > at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:137) > at org.hibernate.loader.Loader.getResultSet(Loader.java:1676) > at org.hibernate.loader.Loader.doQuery(Loader.java:662) > at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:223) > at org.hibernate.loader.Loader.loadCollection(Loader.java:1916) > ... 10 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-05 23:06:32
|
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-337?page=all ] Emmanuel Bernard updated ANN-337: --------------------------------- Fix Version: 3.2.0.cr1 (was: 3.2.0) > XML result-set-mapping should overrides @SqlResultSetMapping > ------------------------------------------------------------ > > Key: ANN-337 > URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-337 > Project: Hibernate Annotations > Type: Bug > Components: binder > Reporter: Emmanuel Bernard > Assignee: Emmanuel Bernard > Fix For: 3.2.0.cr1 > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |