aspose file tools*
The moose likes Object Relational Mapping and the fly likes Entity classes from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Entity classes from database" Watch "Entity classes from database" New topic
Author

Entity classes from database

Karamjeet singh
Ranch Hand

Joined: Feb 24, 2010
Posts: 49

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,


Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.
Wim Vanni
Ranch Hand

Joined: Apr 06, 2011
Posts: 96

Like this one?

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

Wim
Karamjeet singh
Ranch Hand

Joined: Feb 24, 2010
Posts: 49

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

Joined: Apr 06, 2011
Posts: 96

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

Joined: Feb 24, 2010
Posts: 49

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

Joined: Feb 24, 2010
Posts: 49

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

Joined: Feb 24, 2010
Posts: 49

can anyone help me please

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Entity classes from database