-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: WARNING: Keyword 'member' is being intepreted as an ident
PostPosted: Mon May 16, 2005 12:57 am 
Newbie

Joined: Wed Feb 16, 2005 12:44 am
Posts: 5
I am getting the following warning from Hibernate 3.0.3

org.hibernate.hql.PARSER - *** WARNING: Keyword 'member' is being intepreted as an identifier due to: expecting IDENT, found 'member'

This seems to be triggered by a part of my package name. One of the mapping files that is giving me the problem is:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 2.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
<hibernate-mapping>

    <class name="au.com.emia.member.security.data.GroupClaimAcc" table="claim_acc" proxy="au.com.emia.member.security.data.GroupClaimAcc" mutable="false">
        <id name="groupClaimId" column="id">
            <generator class="identity" />
        </id>
        <property name="claimId" column="claim_id" />
        <property name="groupId" column="security_group_id" />
        <property name="access" column="access" />
        <property name="cancelledDate" column="Cancelled_Date" type="au.com.emia.base.db.hibernate.JDateType" />
        <property name="cancelledBy" column="Cancelled_By" />
        <property name="createDate" column="Create_Date" type="au.com.emia.base.db.hibernate.JDateType" />
        <property name="owner" column="Owner" />
    </class>
   
    <query name="GroupClaimAcc.by.groupIdClaimId">
        FROM GroupClaimAcc gca
        WHERE gca.claimId = :claimId
            AND gca.groupId = :groupId
    </query>
   
</hibernate-mapping>


Tracing through in debug mode appears to be choking on character 26 of the following line
Code:
        FROM au.com.emia.member.security.data.GroupClaimAcc gca
                         ^


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 16, 2005 7:50 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Post it to JIRA please

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.