This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes hibernate annotations for stored prcedure in pojo class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "hibernate annotations for stored prcedure in pojo class" Watch "hibernate annotations for stored prcedure in pojo class" New topic
Author

hibernate annotations for stored prcedure in pojo class

patil kasinath
Greenhorn

Joined: Aug 07, 2011
Posts: 5
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: hibernate annotations for stored prcedure in pojo class
 
Similar Threads
custom class name in middlegen?
how to use one-to-one association
How to retrive array from database
How to pass Java Objects into Stored Procedure in DB2
How to load request parameters in a POJO using Struts2