[Hibernate-JIRA] Created: (HHH-2375) Persistence problems with Object relational mappings
by bansi (JIRA)
Persistence problems with Object relational mappings
----------------------------------------------------
Key: HHH-2375
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2375
Project: Hibernate3
Type: Bug
Components: core
Versions: 3.1.2
Environment: HSQLDB, MyEclipse 5.0, JSF , Spring
Reporter: bansi
Priority: Blocker
My web application uses
JSF 1.1.01 as Presentation Layer
Spring 1.2.6 as Business Layer
Hibernate 3.12 as Persistence Layer
The JSF form has
- One drop down which automatically populates the remaining textfields on the form
-One h:selectManyListbox which populates all the possible user Roles
- Add /Remove h:commandButtons
- One h:selectManyListbox which gets populated with selected user roles on click of Add button. This will work only if i set the scope to session in faces-config.xml
I have two POJOS i.e. DeviceType and Role. The relationship is uni-directional and Many-To-Many. That means DeviceType can have multiple Roles.
Expected Results :
If i persist DeviceType object then i expect the following insert statements to happen
1)insert into DeviceType(Id, Name, Desc) values(?,?,?)
2)insert into DeviceType_Roles(DeviceType_Id,Role_Id) values(?,?)
Please Note DeviceType object is associated with set of Roles
Observed Results :
2007-01-21 20:53:26,796 ERROR [org.hibernate.property.BasicPropertyAccessor] - <IllegalArgumentException in class: test.Role, getter method of property: id>
2007-01-21 20:53:26,796 WARN [test.TestBean] - <IllegalArgumentException occurred calling getter of test.Role.id; nested exception is org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of test.Role.id>
Here is my posting on Hibernate Forums : http://forum.hibernate.org/viewtopic...981&highlight=
Please Note I have read the Hibernate Documentation extensively & strictly followed the example . Nothing helps hence looks like its a Bug with Hibernate 3.1.2. Please note i am using hibernate 3.1.jar and hibernate-annotations.jar under Spring 1.2 ORM/DAO/Hibernate framework
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
17 years, 4 months
[Hibernate-JIRA] Created: (HBX-856) many-to-one with spaces in column name
by Derek Price (JIRA)
many-to-one with spaces in column name
--------------------------------------
Key: HBX-856
URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-856
Project: Hibernate Tools
Type: Bug
Components: reverse-engineer
Versions: 3.2beta9
Environment: Hibernate Tools 3.2beta9, MySQL 5.0.27
Reporter: Derek Price
When reverse engineering a database to mapping XML, when a column name which contains foreign keys to another table also contains spaces in its name, it ends up appearing twice in the mapping XML, once as:
<many-to-one name="ParentTableName" class="orm.ParentTableName" fetch="select">
<column name="column name" />
</many-to-one>
and again as:
<property name="columnName" type="java.lang.Integer">
<column name="`column name`">
<comment></comment>
</column>
</property>
This mapping generates similar POJOs which compile, but cause a run-time error about duplicate columns. It looks like this is a simple quoting problem - I'm guessing that if the many-to-one column name attribute were quoted correctly, then the lookups would happen correctly and only the many-to-one entity would be created.
There is a related problem in reverse-engineering the parent class. The mapping file for the parent class has the ChildTable set mapped to the column name without quoting as well, so if only the child class XML is repaired and POJOs are regenerated, then the one-to-many link from the parent class causes a runtime exception since the one-to-many link now shows mappedby="unresolved".
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
17 years, 4 months
[Hibernate-JIRA] Created: (HHH-2366) Changing a component's value does not trigger an update during flush
by Rob Hasselbaum (JIRA)
Changing a component's value does not trigger an update during flush
--------------------------------------------------------------------
Key: HHH-2366
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2366
Project: Hibernate3
Type: Bug
Components: core
Versions: 3.2.1
Environment: Hibernate 3.2.1, Oracle 10g
Reporter: Rob Hasselbaum
Priority: Critical
If a value is changed in a persistent entity's component after a flush, no update is triggered on the next flush. The change is lost. For example, suppose we have two POJOs:
public class Person {
private Long m_id;
private int m_age;
private Name m_name = new Name();
... getters and setters not shown ...
}
public class Name {
private String m_lastName;
... getter and setter not shown ...
}
The POJOs are mapped as follows:
<class name="Person" table="tbl_person">
<id name='id' column='objid'>
<generator class='native'/>
</id>
<property name="age" column="age"/>
<component name='name' class="Name">
<property name="lastName" column="last_name"/>
</component>
</class>
The following code demonstrates a loss of data:
Session sess = getSessionFactory().getCurrentSession();
Person p = new Person();
p.getName().setLastName("Smith");
sess.saveOrUpdate(p);
sess.flush();
p.getName().setLastName("Jones");
sess.flush();
p.getName().setLastName("Hill");
sess.flush();
// Reload from the database. We expect last name to be "Hill".
sess.evict(p);
p = (Person)sess.load(Person.class, p.getId());
String lastName = p.getName().getLastName();
assert "Hill".equals(lastName); // FAILS! Last name is still "Jones"!
The problem is that after the second flush, the "loadedState" of the entity in the session's persistence context contains a reference to the SAME instance of the component object as the entity itself. So when dirty checking is performed during the third flush, Hibernate is comparing the component object to itself, and the entity is not marked as dirty.
This is a regression from Hibernate 2, which updates correctly in this scenario.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
17 years, 4 months
[Hibernate-JIRA] Created: (HHH-2172) Could not determine fecht owner exception with 3.2.0GA (worked in 3.2rc2)
by Alexander Rupsch (JIRA)
Could not determine fecht owner exception with 3.2.0GA (worked in 3.2rc2)
-------------------------------------------------------------------------
Key: HHH-2172
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2172
Project: Hibernate3
Type: Bug
Versions: 3.2.0.ga
Environment: Annotations 3.2.0GA (16.10.06)
Core 3.2.0GA (16.10.06)
Reporter: Alexander Rupsch
HI,
I have a named query like this:
<sql-query name="loadMDGraphJoined-AllPathFromAndToChildSlow">
<return-join alias="parent" property="goe.parent"/>
<return-join alias="child" property="goe.child"/>
<return alias="goe" class="com.ecg.mts.tsm.impl.domain.MasterDataEdge"/>
<![CDATA[
select
pa.id AS {parent.id},
pa.periodstart AS {parent.validPeriod.start},
pa.periodend AS {parent.validPeriod.end},
pa.shortdesc AS {parent.shortDesc},
pa.longdesc AS {parent.longDesc},
pa.name AS {parent.name},
pa.class AS {parent.class},
pa.clientid AS {parent.clientId},
ch.id AS {child.id},
ch.periodstart AS {child.validPeriod.start},
ch.periodend AS {child.validPeriod.end},
ch.shortdesc AS {child.shortDesc},
ch.longdesc AS {child.longDesc},
ch.name AS {child.name},
ch.class AS {child.class},
ch.clientid AS {child.clientId},
goe.parent_id AS {goe.parent},
goe.child_id AS {goe.child},
goe.id AS {goe.id}
from tsm_master_data pa, tsm_master_data ch,
(select DISTINCT ROWID, goe.* from tsm_master_data_edge goe
start with parent_id in (
( /* Selection der Pfade nach "oben" */
SELECT DISTINCT goe2.parent_id
FROM tsm_master_data_edge goe2
START WITH goe2.child_id = :parentId
OR goe2.child_id IN ((SELECT DISTINCT child_id
FROM tsm_master_data_edge
START WITH parent_id = :parentId
CONNECT BY PRIOR parent_id = child_id))
CONNECT BY PRIOR goe2.parent_id = goe2.child_id
)
) or parent_id = :parentId
connect by prior goe.child_id = goe.parent_id) goe
where pa.id = goe.parent_id
and ch.id = goe.child_id
]]>
</sql-query>
And I call it like this (using spring):
List items = getHibernateTemplate().findByNamedQueryAndNamedParam(
"loadMDGraphJoined-AllPathFromAndToChildSlow", "parentId", id);
This works fine with Core 3.2.0rc2 and annotations 3.2.0rc1. After switching to 3.2.0GA I got the following exception:
org.springframework.orm.hibernate3.HibernateSystemException: Could not determine fetch owner : null; nested exception is org.hibernate.HibernateException: Could not determine fetch owner : null
org.hibernate.HibernateException: Could not determine fetch owner : null
at org.hibernate.loader.custom.CustomLoader.determineAppropriateOwnerPersister(CustomLoader.java:250)
at org.hibernate.loader.custom.CustomLoader.<init>(CustomLoader.java:150)
at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1688)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:150)
at org.springframework.orm.hibernate3.HibernateTemplate$35.doInHibernate(HibernateTemplate.java:947)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:366)
at org.springframework.orm.hibernate3.HibernateTemplate.findByNamedQueryAndNamedParam(HibernateTemplate.java:938)
at org.springframework.orm.hibernate3.HibernateTemplate.findByNamedQueryAndNamedParam(HibernateTemplate.java:928)
at com.ecg.mts.tsm.impl.persistence.HibernateMasterDataRepository.getMasterDataGraphComplete(HibernateMasterDataRepository.java:116)
at com.ecg.mts.tsm.test.persistence.MasterDataRepositoryTestBase.testGetMasterDataGraphComplete(MasterDataRepositoryTestBase.java:201)
at com.ecg.mts.tsm.test.persistence.hibernate.HibernateMasterDataRepositoryTest.testGetMasterDataGraphComplete(HibernateMasterDataRepositoryTest.java:39)
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 junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
The variable "entityName" in CustomerLoader.determineAppropriateOwnerPersister() ist null because the parameter ownerDescriptor ist null. This is because EntityFetchReturn.getOwner also returns null at line 146.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
17 years, 4 months
[Hibernate-JIRA] Commented: (HHH-925) DetachedCriteria.createCriteria not working with alias
by Yajun Shi (JIRA)
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-925?page=co... ]
Yajun Shi commented on HHH-925:
-------------------------------
Sorry for the confusion, ignore the comment above.
> DetachedCriteria.createCriteria not working with alias
> ------------------------------------------------------
>
> Key: HHH-925
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-925
> Project: Hibernate3
> Type: Bug
> Components: core
> Versions: 3.0 alpha, 3.0 beta 1, 3.0 beta 2, 3.0 beta 3, 3.0 beta 4, 3.0 rc 1, 3.0 final, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1 beta 1, 3.1 beta 2
> Environment: Hibernate 3.0.5, Oracle
> Reporter: Felipe Cuozzo
> Priority: Minor
>
> Original Estimate: 10 minutes
> Remaining: 10 minutes
>
> DetachedCriteria.createCriteria(associationPath, alias) is calling the wrong Criteria.createCriteria method
> public DetachedCriteria createCriteria(String associationPath, String alias)
> throws HibernateException {
> return new DetachedCriteria( impl, criteria.createCriteria(associationPath) );
> }
> should be:
> public DetachedCriteria createCriteria(String associationPath, String alias)
> throws HibernateException {
> return new DetachedCriteria( impl, criteria.createCriteria(associationPath, alias) );
> }
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
17 years, 4 months
[Hibernate-JIRA] Commented: (HHH-925) DetachedCriteria.createCriteria not working with alias
by Yajun Shi (JIRA)
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-925?page=co... ]
Yajun Shi commented on HHH-925:
-------------------------------
KB Candidate:
Title:
DetachedCriteria doesn't create criteria with alias
There is a known bug in Hibernate 3.1.3 and 3.2.1. In class DetachedCriteria, method DetachedCriteria createCriteria(String associationPath, String alias) ignores parameter alias so that you cannot create criteria with alias. We are providing a patch for it in Sash 2.0.
If you need further assistance, feel free to contact Sourcelabs Support.
> DetachedCriteria.createCriteria not working with alias
> ------------------------------------------------------
>
> Key: HHH-925
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-925
> Project: Hibernate3
> Type: Bug
> Components: core
> Versions: 3.0 alpha, 3.0 beta 1, 3.0 beta 2, 3.0 beta 3, 3.0 beta 4, 3.0 rc 1, 3.0 final, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1 beta 1, 3.1 beta 2
> Environment: Hibernate 3.0.5, Oracle
> Reporter: Felipe Cuozzo
> Priority: Minor
>
> Original Estimate: 10 minutes
> Remaining: 10 minutes
>
> DetachedCriteria.createCriteria(associationPath, alias) is calling the wrong Criteria.createCriteria method
> public DetachedCriteria createCriteria(String associationPath, String alias)
> throws HibernateException {
> return new DetachedCriteria( impl, criteria.createCriteria(associationPath) );
> }
> should be:
> public DetachedCriteria createCriteria(String associationPath, String alias)
> throws HibernateException {
> return new DetachedCriteria( impl, criteria.createCriteria(associationPath, alias) );
> }
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
17 years, 4 months
[Hibernate-JIRA] Closed: (HHH-1880) Syntax Error in .hbm.xml file reports error but is missing replacement text
by Steve Ebersole (JIRA)
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1880?page=all ]
Steve Ebersole closed HHH-1880:
-------------------------------
Resolution: Rejected
No, the substitution did occur. The "problem" is that it is substituting the empty string that you gave (type="")
> Syntax Error in .hbm.xml file reports error but is missing replacement text
> ---------------------------------------------------------------------------
>
> Key: HHH-1880
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1880
> Project: Hibernate3
> Type: Bug
> Components: metamodel
> Versions: 3.0.2
> Environment: Hibernate 3.0.2, Sybase 12.5.3, PeopleSoft 8's Job_Code table
> Reporter: Arnie Morein
> Priority: Minor
>
>
> This table has 122 fields. I made a typo in the definition of a field thusly:
> <property name="GvtFunctionClass" column="string" type="" update="false" insert="false"/>
> should have been:
> <property name="GvtFunctionClass" column="GVT_FUNC_CLASS" type="string" update="false" insert="false"/>
> Obviously, Hibernate reported an error - but it wasn't every helpful:
> 2006-07-05 09:02:18,750 ERROR [org.jboss.hibernate.jmx.Hibernate] Starting failed jboss.jca:service=HbmEmployeeWarehouse
> org.hibernate.MappingException: Could not determine type for: , for columns: [org.hibernate.mapping.Column(string)]
> at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:265)
> Two Things:
> 1) The error is in the HbmPsJobCodeTable.hbm.xml file - NOT the HbmEmployeeWarehouse.hbm.xml file.
> 2) Missing substitution values for the error string "Could not determine type for: , for columns: " apparently aren't making it into the string prior to its output. Perhaps 1 is related to 2?
> Thanks.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
17 years, 4 months
[Hibernate-JIRA] Created: (HHH-1979) Unable to locate current JTA transaction
by Kuldeep Singh Virdi (JIRA)
Unable to locate current JTA transaction
----------------------------------------
Key: HHH-1979
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1979
Project: Hibernate3
Type: Bug
Components: core
Versions: 3.1
Environment: Hibernat 3.1, My-SQL 5.0, JBOss
Reporter: Kuldeep Singh Virdi
Hi,
I have made a hibernate-service.xml file and deployed it under myApplication.har file
The xml file contents are
<?xml version="1.0"?>
<server>
<mbean code="org.hibernate.jmx.HibernateService"
name="jboss.jca:service=HibernateFactory,name=HibernateFactory">
<!-- Required services -->
<depends>jboss.jca:service=RARDeployer</depends>
<!-- Bind the Hibernate service to JNDI -->
<attribute name="JndiName">java:/hibernate/SessionFactory</attribute>
<!-- Datasource settings -->
<attribute name="Datasource">java:/jdbc/mysqlserverr</attribute>
<attribute name="Dialect">org.hibernate.dialect.MySQLDialect</attribute>
<!-- Transaction integration -->
<attribute name="TransactionStrategy">
org.hibernate.transaction.JTATransactionFactory</attribute>
<attribute name="TransactionManagerLookupStrategy">
org.hibernate.transaction.JBossTransactionManagerLookup</attribute>
<attribute name="FlushBeforeCompletionEnabled">true</attribute>
<attribute name="AutoCloseSessionEnabled">true</attribute>
<!-- Fetching options -->
<attribute name="MaximumFetchDepth">5</attribute>
<!-- Second-level caching -->
<attribute name="SecondLevelCacheEnabled">true</attribute>
<attribute name="CacheProviderClass">org.hibernate.cache.EhCacheProvider</attribute>
<attribute name="QueryCacheEnabled">true</attribute>
<!-- Logging -->
<attribute name="ShowSqlEnabled">true</attribute>
</mbean>
</server>
Through my Stateless Session EJB i call a method
private Session getSession() {
if (sessionFactory == null)
sessionFactory = // by look up
}
return sessionFactory.getCurrentSession();
}
I get following excpetion
09:29:14,304 INFO [STDOUT] org.hibernate.HibernateException: Unable to locate current JTA transaction
at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61)
at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:604)
at com.daffodilwoods.framework.datasource.ResourceManager.currentSession(ResourceManager.java:234)
at com.daffodilwoods.framework.core.dataobject.server.DataObjectMetaDataLoader.getHibernateSession(DataObjectMetaD
at com.daffodilwoods.framework.core.dataobject.server.DataObjectMetaDataLoader.getDefaultColumns(DataObjectMetaDat
at com.daffodilwoods.framework.core.dataobject.server.DataObjectMetaDataLoader.getObject(DataObjectMetaDataLoader.
at com.daffodilwoods.framework.core.view.server.metadataloader.AbsTableMetaDataUtil.loadMetadata(AbsTableMetaDataU
at com.daffodilwoods.framework.table.server.TableMetaDataLoader.getObject(TableMetaDataLoader.java:87)
at com.daffodilwoods.framework.table.server.TableService.createView(TableService.java:32)
at com.daffodilwoods.framework.core.view.server.service.AbsViewService.init(AbsViewService.java:41)
at com.daffodilwoods.framework.core.view.server.service.AbsViewService.getViewMetaDataHandler(AbsViewService.java:
at com.daffodilwoods.framework.table.server.TableService.getData(TableService.java:56)
at com.daffodilwoods.framework.core.view.server.service.AbsViewService.getData(AbsViewService.java:68)
at com.daffodilwoods.framework.core.view.server.service.ViewService.getData(ViewService.java:71)
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 com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:299)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:186)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
09:29:14,304 INFO [STDOUT] org.hibernate.HibernateException: Unable to locate current JTA transaction
Can u tell me wht can i do for it.
I think there is not support for providing currentSessionContext attribute in this xml file also
Please reply
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
17 years, 4 months