Topics | Search Log Out | Register | Edit Profile
Hide Clipart | Banned/Unbanned User Log | Moderator Login History | Thread Delete/Move Log | Last 30 mins | 1 | 2
Calling JPA experts

Chalanachithram.com DB » TF Industry related » Archive through June 15, 2013 » Calling JPA experts « Previous Next »
Author Message
 

Jambalahaart_raja
Side Hero
Username: Jambalahaart_raja

Post Number: 3128
Registered: 07-2008
Posted From: 199.43.48.129

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

Posted on Thursday, June 13, 2013 - 03:59 pm:       

while creating the table associations, don't you have to specify the key?
Also, association and aggregation are different.
Association is Person and his Address voohinchukondi, a person can have only one residential address, both Person and Address tables will have to use the same Person_Id.
Aggregation lo Order and Parts, an Order can have multiple (sometimes repetitive Parts). Parts lo associated Order_Id vundaali general gaa..
named query sarigga gurthu ledu, but you'd have to specify what column goes into which property for every row correctly in the response-cursor.
Three lessons for life - F**k, Don't give a F**k, Don't get F**ked!! - Robert Downey Jr.
 

Cyberabadsinnodu
Side Hero
Username: Cyberabadsinnodu

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

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

Posted on Thursday, June 13, 2013 - 03:57 pm:       

U can do this way annai
http://stackoverflow.com/questions/10675184/jpql-join-2-tabl es-writing-jpql
ఎంత చికాగో యునివర్సిటీ లో చదువుకున్నా చిలక్కొట్టుడికి సరైన ఇంగ్లీషు పదం దొరుకుతుందా..!!
 

Emc2
Hero
Username: Emc2

Post Number: 13041
Registered: 03-2008
Posted From: 71.246.229.243

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

Posted on Thursday, June 13, 2013 - 03:54 pm:       


Saint:




id or object tho join cheyyali, implicit ga save upates kavali ante.

cascading options use cheyi..
Happy Anniversary

 

Dreamcatcher
Side Hero
Username: Dreamcatcher

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

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

Posted on Thursday, June 13, 2013 - 03:53 pm:       

Check out lazy loading...

http://java.dzone.com/articles/jpa-lazy-loading&default=fals e&zid=159&browser=16&mid=0&refresh=0

http://meri-stuff.blogspot.com/2012/03/jpa-tutorial.html#Rel ationshipsLazyLoading
 

Saint
Hero
Username: Saint

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

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

Posted on Thursday, June 13, 2013 - 03:47 pm:       

oka table entity create cheseppudu..table association lo inko table mention chesa anukondi...

named qry raseppudu ee table - associate chesina table tho implicit join ipoyi vuntadi kada..or manam manli explicit ga join cheyyala on the key?

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image HASH(0x152fef8){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: