-->
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.  [ 4 posts ] 
Author Message
 Post subject: IntilliJ IDEA and Hibernate Metadata
PostPosted: Wed Dec 22, 2004 7:48 pm 
Beginner
Beginner

Joined: Fri Jan 16, 2004 4:58 pm
Posts: 37
I am going to attempt to use XDoclet to generate my mapping files for me and I went into one of my POJO's and added:

Code:
/**
* @hibernate.class
* table='t_hardware'
**/


at the beginning of my class file. IDEA doesn't recognize this tag. Does anyone know how to get IDEA to not complain about these hibernate metadata tags?

Thanks.

_________________
Gregg Bolinger
Javaranch Sheriff
Weblog


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 22, 2004 7:58 pm 
Beginner
Beginner

Joined: Fri Jan 16, 2004 4:58 pm
Posts: 37
I love answering my own question...

http://www.hibernate.org/108.html

Duh!

_________________
Gregg Bolinger
Javaranch Sheriff
Weblog


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 23, 2004 7:55 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
So do we :-) [Glad you found the solution in the Wiki].


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 23, 2004 8:00 pm 
Beginner
Beginner

Joined: Fri Jan 16, 2004 4:58 pm
Posts: 37
Although I did do what the wiki stated, it still doesn't recognize the tags. Now, I can add them to my custom tags but then I don't get the attribute completion. I created the XML file and placed it in the appropriate folder. I looked at my Live Template settings and can see that they are there. But something still isn't quite right. Is there anything missing from the wiki?

_________________
Gregg Bolinger
Javaranch Sheriff
Weblog


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.