JPA + Stored procedures - Need help Chalanachithram.com | Topics | Search
Hide Clipart | Log Out | Register | Edit Profile

Last 30 mins | 1 | 2 | 4 hours     Last 1 | 7 Days

Chalanachithram.com DB » New TF Industry Related » Archive through September 11, 2013 » JPA + Stored procedures - Need help « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Dreamcatcher
Side Hero
Username: Dreamcatcher

Post Number: 4500
Registered: 11-2009
Posted From: 208.86.145.68

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, September 10, 2013 - 12:48 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

May be this helps???? Try using NamedNativeQuery annotation instead...

http://stackoverflow.com/questions/10386777/jpa-calling-stor ed-procedure-with-output-cursor
Top of pagePrevious messageNext messageBottom of page Link to this message

Saint
Megastar
Username: Saint

Post Number: 21209
Registered: 01-2011
Posted From: 12.22.163.132

Rating: N/A
Votes: 0 (Vote!)

Posted on Tuesday, September 10, 2013 - 11:23 am:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Jambalahaart_raja:



Cyberabadsinnodu:


mee iddaru itchindi hibernate...plain core java use chesi cheyyalema?
Top of pagePrevious messageNext messageBottom of page Link to this message

Jambalahaart_raja
Side Hero
Username: Jambalahaart_raja

Post Number: 3487
Registered: 07-2008
Posted From: 67.83.57.130

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, September 09, 2013 - 11:33 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

close enough answer -

http://stackoverflow.com/questions/2373369/define-named-quer y-in-orm-xml-with-jpa-and-hibernate

If still a problem, let's take a look at it tomorrow.
"Best lesson for life - Keep Calm and deal with it, one day at a time!!!" - Charles Peckham Charlie Day, It's always Sunny in Philadelphia.
Top of pagePrevious messageNext messageBottom of page Link to this message

Cyberabadsinnodu
Side Hero
Username: Cyberabadsinnodu

Post Number: 8445
Registered: 02-2010
Posted From: 67.163.149.59

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, September 09, 2013 - 06:06 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Saint:


edina limitation unda compulsory ilage cheyali ani?

http://docs.jboss.org/hibernate/orm/3.6/reference/en-US/html /querysql.html#sp_query

idhi hibernate dhi, but should work similar way...!
ROM lo undi DB ni prawxy lo chuse mahanubavulu kosam ee signature
Top of pagePrevious messageNext messageBottom of page Link to this message

Saint
Megastar
Username: Saint

Post Number: 21207
Registered: 01-2011
Posted From: 12.22.163.132

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, September 09, 2013 - 06:01 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Cyberabadsinnodu:

r u using annotations? or thru xml config file?, i think u r doing it thru xml...!!


trhu xml...we can use named queries defined in XML right...like wise ..cant we do it for stored procedures?
Top of pagePrevious messageNext messageBottom of page Link to this message

Cyberabadsinnodu
Side Hero
Username: Cyberabadsinnodu

Post Number: 8444
Registered: 02-2010
Posted From: 67.163.149.59

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, September 09, 2013 - 06:00 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Saint:


r u using annotations? or thru xml config file?, i think u r doing it thru xml...!!
ROM lo undi DB ni prawxy lo chuse mahanubavulu kosam ee signature
Top of pagePrevious messageNext messageBottom of page Link to this message

Saint
Megastar
Username: Saint

Post Number: 21194
Registered: 01-2011
Posted From: 12.22.163.132

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, September 09, 2013 - 05:00 pm:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

JPA lo stored procedure execute chddam ani try chesthunna...I am using named-stored-procedure-query. but idedo latest ga vachina feature laga vundi JPA lo..work out avvatam ledu..evevo raka rakala errors vastunnayi

Referenced file contains errors (http://java.sun.com/xml/ns/persistence/orm). For more information, right click on the message in the Problems View and select "Show Details..."


<?xml><entity-mappings version="2.0"
xmlns="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_2_0.xsd">

idi work out avvatam ledu...evaranna work chesara ee area lo? any ideas?

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image HASH(0x94c4cec){Movie Clipart}
Show / hide regular icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Show / Hide Filmy icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: