[Hibernate-JIRA] Created: (HHH-4481) org.hibernate.QueryException: query must begin with SELECT or FROM: update
by venkata rajesh (JIRA)
org.hibernate.QueryException: query must begin with SELECT or FROM: update
---------------------------------------------------------------------------
Key: HHH-4481
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4481
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.3.1
Environment: struts and Hibernate
Reporter: venkata rajesh
org.hibernate.QueryException: query must begin with SELECT or FROM: update
org.hibernate.QueryException: query must begin with SELECT or FROM: update [update com.cmsstruts.hibernate.Pojos.Session set Outtime = :Outtime where Rand = :Rand]
at org.hibernate.hql.classic.ClauseParser.token(ClauseParser.java:83)
at org.hibernate.hql.classic.PreprocessingParser.token(PreprocessingParser.java:108)
at org.hibernate.hql.classic.ParserHelper.parse(ParserHelper.java:28)
at org.hibernate.hql.classic.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:178)
at org.hibernate.hql.classic.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:154)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:75)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:54)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:134)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:113)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1600)
at com.cmsstrus.hibernate.utils.DataObject.sessionUtilities(DataObject.java:1523)
at ui.Utilities.SessionMgmt(Utilities.java:53)
at org.apache.jsp.jsp.success_jsp._jspService(org.apache.jsp.jsp.success_jsp:72)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
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.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
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.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
--
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
14 years, 7 months
[Hibernate-JIRA] Created: (HHH-4480) org.hibernate.exception.SQLGrammarException: could not execute query Caused by: java.sql.SQLException: ORA-00903: invalid table name
by venkata rajesh (JIRA)
org.hibernate.exception.SQLGrammarException: could not execute query Caused by: java.sql.SQLException: ORA-00903: invalid table name
-------------------------------------------------------------------------------------------------------------------------------------
Key: HHH-4480
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4480
Project: Hibernate Core
Issue Type: Bug
Components: query-hql
Affects Versions: 3.3.1
Environment: Struts with hibernate
Reporter: venkata rajesh
Attachments: New Text Document.txt
hi
when iam executing my project iam getting blow error
when i execute my project in mysql it is working fine but oracle10g its giving lot of problems .
connection is conncting but query is not executing
pls any one help me
my database is oracle10g
my query is String query = "SELECT a.Uid, b.Roleid, b.Login, c.Rname, b.Id, b.Pwd FROM Session a, Iuser b, Irole c WHERE a.Rand='"+rand+ "' and a.Uid=b.Id and b.Roleid = c.Roleid";
and
hibernate cfg.xml file is below
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<!-- Database connection settings -->
<property name="hibernate.dialect">org.hibernate.dialect.OracleDialect</property>
<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="connection.url">jdbc:oracle:thin:@192.168.100.11:1521:cms</property>
<property name="connection.username">cms</property>
<property name="connection.password">ptcms09</property>
<!-- JDBC connection pool (use the built-in) -->
<property name="connection.pool_size">1</property>
<!-- SQL dialect -->
<!-- Important! addendum to what is in text -->
<property name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
<!--<property name="hibernate.transaction.factory_class"> org.hibernate.transaction.JTATransactionFactory</property>-->
<!-- Enable Hibernate's automatic session context management -->
<!-- It tell hibernate that is is being used in a non managed environment e.g.no application server. Then Hibernate manage transaction and keep track ofthreads, session etc. -->
<property name="current_session_context_class">thread</property>
<!-- Disable the second-level cache -->
<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
<!-- Echo all executed SQL to stdout -->
<property name="show_sql">true</property>
<!-- Drop and re-create the database schema on startup
<property name="hbm2ddl.auto">create</property> -->
<mapping resource="hbm/iuser.hbm.xml" />
<mapping resource="hbm/session.hbm.xml" />
<mapping resource="hbm/sessiondetail.hbm.xml" />
<mapping resource="Pricepointmgmt.hbm.xml" />
<mapping resource="Pricepointmapping.hbm.xml" />
<mapping resource="TelcoInfo.hbm.xml" />
<mapping resource="Itemtype.hbm.xml" />
<mapping resource="Defaultpricepoint.hbm.xml" />
<mapping resource="Itemdetail.hbm.xml" />
<mapping resource="Itemgroup.hbm.xml" />
<mapping resource="Category.hbm.xml" />
<mapping resource="Supercategory.hbm.xml" />
<mapping resource="Handsetinfo.hbm.xml" />
<mapping resource="Cmsproperties.hbm.xml" />
<mapping resource="Iuserinfo.hbm.xml" />
<mapping resource="Copyright.hbm.xml" />
<mapping resource="BulletDetail.hbm.xml" />
<mapping resource="Iuser.hbm.xml" />
<mapping resource="Drm.hbm.xml" />
<mapping resource="Cpdetail.hbm.xml" />
<mapping resource="CircleInfo.hbm.xml" />
<mapping resource="Taxmgmt.hbm.xml" />
<mapping resource="Happyhour.hbm.xml" />
<mapping resource="Wappushmsisdn.hbm.xml" />
<mapping resource="Bannercategory.hbm.xml" />
<mapping resource="Banner.hbm.xml" />
<mapping resource="Weblog.hbm.xml" />
<mapping resource="Mobileseriesmaster.hbm.xml" />
<mapping resource="Handsetsupportinfo.hbm.xml" />
<mapping resource="TelcoInfomation.hbm.xml" />
<mapping resource="Imenu.hbm.xml" />
<mapping resource="Zonedetails.hbm.xml" />
<mapping resource="Zonecategory.hbm.xml" />
<mapping resource="Content.hbm.xml" />
<mapping resource="ZonePackage.hbm.xml" />
<mapping resource="KioskAdmin.hbm.xml" />
<mapping resource="Copyrightgrp.hbm.xml" />
<mapping resource="Session.hbm.xml" />
<mapping resource="Sessiondetails.hbm.xml" />
<mapping resource="Irole.hbm.xml" />
<mapping resource="Portalinfo.hbm.xml" />
<mapping resource="Portletinfo.hbm.xml" />
</session-factory>
</hibernate-configuration>
org.hibernate.exception.SQLGrammarException: could not execute query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:65)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:2153)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
at org.hibernate.loader.Loader.list(Loader.java:2024)
at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:874)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:153)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1127)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at com.cmsstrus.hibernate.utils.DataObject.getHqlListResults(DataObject.java:1730)
at ui.Utilities.SessionMgmt(Utilities.java:35)
at org.apache.jsp.jsp.success_jsp._jspService(org.apache.jsp.jsp.success_jsp:72)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
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.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
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.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.sql.SQLException: ORA-00903: invalid table name
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:830)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2391)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2672)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:527)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2150)
... 45 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....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[Hibernate-JIRA] Created: (HBX-1146) hbm2java should generate POJO entities with stable property order to ease development cycle
by Julien Kronegg (JIRA)
hbm2java should generate POJO entities with stable property order to ease development cycle
-------------------------------------------------------------------------------------------
Key: HBX-1146
URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1146
Project: Hibernate Tools
Issue Type: New Feature
Components: hbm2java
Affects Versions: 3.2.2
Environment: Hibernate Tools 3.2.2, Seam 2.1.2, DB2
Reporter: Julien Kronegg
Priority: Minor
Attachments: patch_EntityPOJOClass.txt
When generating entities using Hibernate hbm2java Ant task, the POJO annotated entity properties are not generated in the same order at each run. This is because the POJO properties are stored in data structures that do not have a given order (e.g. a java.util.Set).
Not having the same property order at each run is painful for the programmer: the property order of the new entity file is not the same of the previous version, which requires merging the two files. The merge operation duration could be reduced if the properties were generated in the same order at each run.
This is very important for projects that use an incremental development cycle where the database tables structure are often modified (e.g. adding a column, changing a column type).
The patch "patch_EntityPOJOClass.txt" gives a solution based on the org.hibernate.tool.hbm2x.pojo.EntityPOJOClass class. The Entity properties are sorted by the following types:
1. identifier
2. simple properties
3. many-to-one properties
4. Collections
Within a given property type, properties are sorted alphabetically by their property name.
This patch also solves the same issue in other generated files, such as Seam's EntityHome and EntityList.
--
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
14 years, 7 months
[Hibernate-JIRA] Created: (HHH-4478) Query by example does not include id fields
by Ken Egervari (JIRA)
Query by example does not include id fields
-------------------------------------------
Key: HHH-4478
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4478
Project: Hibernate Core
Issue Type: Bug
Components: query-criteria
Affects Versions: 3.3.2
Environment: same in 3.3.2 and 3.5.0-beta1
Reporter: Ken Egervari
Priority: Blocker
Unfortunately, QbE does not use id fields. If no other fields are unique on the entitys were are querying for, and we must use an id, then the QbE approach is broke and doesn't work :(
For example, I have objects A which contains B... and B contains C. I want to get all the A's that where A.b.c.id = 'some value'. This is not possible using QbE.
Maybe that is the intent by design, so I dunno if I should classify this as a bug... but as it stands, I cannot use QbE in my project.
If there is a design reason for this, perhaps giving us the option to enable id fields (or to be consistent, disable them like the rest of the options indicate) would make more sense.
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
14 years, 7 months
[Hibernate-JIRA] Created: (HHH-4435) DataVersionAdapter.newerThan incorrect when comparing to self
by Brian Stansberry (JIRA)
DataVersionAdapter.newerThan incorrect when comparing to self
-------------------------------------------------------------
Key: HHH-4435
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4435
Project: Hibernate Core
Issue Type: Bug
Components: caching (L2)
Affects Versions: 3.5.0.Beta-1, 3.3.2
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 3.5
On 09/10/2009 05:49 PM, Dennis Reed wrote:
> Should implementations of org.jboss.cache.optimistic.DataVersion ever
> return true for A.newerThan( A ) ?
>
> I'm guessing not, but the EJB3 entity bean implementation in EAP 4.2/4.3
> does (org.jboss.ejb3.entity.OptimisticJBCCache.DataVersionAdapter).
> This seems to be the cause of a DataVersioningException when hibernate
> tries to remove a node from the cache.
That class is in JBoss AS 4.x, but the org.hibernate.cache.jbc2.util.DataVersionAdapter class has the same problem. I suspect the infinispan version of same does as well, as it was adapted from the JBC version.
--
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
14 years, 7 months
[Hibernate-JIRA] Created: (HHH-4477) DiscriminatorValue could be used in WHERE Statement in OneToMany Joins to Speed up the Result
by Robert Bartl (JIRA)
DiscriminatorValue could be used in WHERE Statement in OneToMany Joins to Speed up the Result
---------------------------------------------------------------------------------------------
Key: HHH-4477
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4477
Project: Hibernate Core
Issue Type: Improvement
Affects Versions: 3.3.1
Reporter: Robert Bartl
Currently the DiscriminatorValue is not used in Queries that fetch multiple Entities.
Adding this could increase the Speed of the Fetch as another index could be used.
Example:
@Entity(name="Issues")
public class Issue
{
@Id
@Column(nullable = false, insertable = true, updatable = false)
private int id;
@OneToMany(cascade=CascadeType.ALL,fetch=FetchType.LAZY,mappedBy="objectId")
private List<TicketTransaction> transactions;
public List<TicketTransaction> getTransactions()
{
return transactions;
}
}
@Entity(name = "Transactions")
@Table(name = "Transactions")
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name = "ObjectType", discriminatorType = DiscriminatorType.STRING, length = 20)
@DiscriminatorValue("null")
public abstract class Transaction {
@Id
@Column(nullable = false, insertable = true, updatable = false)
private int id;
}
@DiscriminatorValue("Issue")
@Entity
public final class TicketTransaction extends Transaction {
@Column(nullable = true, insertable = false, updatable = false, name = "ObjectId")
private int objectId;
}
ObjectId is in ticketTransaction class because of HBX-1075 Bug, should have been in Transaction class.
This setup results in the following Query if Issue.getTransactions() is called:
select transactio0_.ObjectId as ObjectId1_, transactio0_.id as id1_, transactio0_.ObjectType as ObjectType4_0_, transactio0_.ObjectId as ObjectId4_0_ from Transactions transactio0_ where transactio0_.ObjectId=4236
missing: "AND ObjectType = 'Issue'"
--
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
14 years, 7 months
[Hibernate-JIRA] Assigned: (HHH-1829) Allow join on any property using property-ref
by Steve Ebersole (JIRA)
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1829?page=c... ]
Steve Ebersole reassigned HHH-1829:
-----------------------------------
Assignee: Anthony Patricio (was: Steve Ebersole)
Robert, Mathieu...
Anthony has agreed to review this issue and the patch so I am assigning to him.
In the meantime, I was curious about the latest version y'all patched. Are you both using 3.2.5? Would y'all be willing to upload your svn diff from 3.2.5 (or whichever latest version you patch against)?
> Allow join on any property using property-ref
> ---------------------------------------------
>
> Key: HHH-1829
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1829
> Project: Hibernate Core
> Issue Type: New Feature
> Components: metamodel
> Affects Versions: 3.2.0 cr1, 3.2.0.cr2
> Reporter: Maarten Winkels
> Assignee: Anthony Patricio
> Attachments: AbstractJoinTest.java, HHH-1829-mwinkels.patch, hhh-1829.patch, JoinNoPropertyRefTest.java, JoinPropertyRefTest.java, Person.hbm.xml, Person.java, PersonNoPropertyRef.hbm.xml
>
>
> Currently joining tables for one class (uing the <join...> tag) is only supported for the id property. The property-ref is allowed on the <key..> tag inside the <join..> tag, but this is ignored.
--
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
14 years, 7 months