Using Hibernate JPA with Weblogic 10

Looking for a date or love? Click here to find one for free!!

Find Singapore Apartment  and Room Rentals here

If you are looking to use Hibernate JPA with Weblogic 10 then there are a couple of things to keep in mind

1. OpenJPA is the default JPA provider in weblogic so if you don’t get the configuration right then you should be seeing errors related to Open JPA

2. Even if you have hibernate jars within your EAR or WAR you may see them work. Again, this relates to point 1. So you have to tell weblogic to make use of Hibernate jars. One way to do it is to place the hibernate and its related jars under the server lib folder so that these jars are loaded upfront. There is another way where you use the deployment descriptor to indicate that weblogic should prefer the jars deployed with the application.

This entry was posted in Technology and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s