Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity classes from database

 
Karamjeet singh
Ranch Hand
Posts: 52
Flex jQuery Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am linq user in visual studio c# cum previous user of netbeans 5.5.1

now i updated to netbeans 7.0 and happy to see Entity classes from database just linq like feature

but i don't know how to use it any tutorial or example will be very helpful

thanks,
 
Wim Vanni
Ranch Hand
Posts: 96
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like this one?

Three keywords from your question and Google's first hit seems a good one.

Wim
 
Karamjeet singh
Ranch Hand
Posts: 52
Flex jQuery Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for this link Wim Vanni

but i am frustrating on this that it is not giving me the db recors



Please Help Me
Anything what i am doing wrong

Thanks for this link
 
Wim Vanni
Ranch Hand
Posts: 96
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chances are it's a matter of catching the errors or augmenting a logging/debugging level. Make sure you read through the documentation. And, if I'm not mistaken this is really the JPA persistence mechanism that came with Java 6.
 
Karamjeet singh
Ranch Hand
Posts: 52
Flex jQuery Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The above statemenst are in try catch block
the above two statements executes successfully but the third one didn't get me the results ( i checked during debugging)
anyways thanks for your suggestion and i will look into the docs for jpa

thanks
 
Karamjeet singh
Ranch Hand
Posts: 52
Flex jQuery Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am little bit confused with persistence.xml can anyone help me in this please

i am using java derby with netbeans 7 (Entity classes from database)
 
Karamjeet singh
Ranch Hand
Posts: 52
Flex jQuery Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone help me please

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic