Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate annotations for stored prcedure in pojo class

 
patil kasinath
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can in write annotation for stored procedures in pojo class .

if i use multiple stored procedures for the same pojo, then how can i mention in pojo class for those sp...
following code is for table then for stored procedure.....? please send me
@Entity
@table(name="abc")
public class abcabc
{
private String a;
@Column(name="A",nullable=false,length=10)
public String getA()
{
return a;
}
public void setA(String a)
{
this.a = a;
}

}

tnanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic