Friday, 4 November 2011

Could not complete schema update

I recently mapped a JPA entity to a view, and encountered this error while using hibernate to update the database schema:
ORA-01702: a view is not appropriate here

[SchemaUpdate.execute] could not complete schema update

I was using the Oracle JDBC drivers 10.1.3.3 - luckily, the solution was to upgrade the drivers - when using 11.2.0.2.0 it works fine.
Download ojdbc6.jar from here:




ojdbc6.jar (2,152,051 bytes) - Classes for use with JDK 1.6. It contains the JDBC driver classes except classes for NLS support in Oracle Object and Collection types.

4 comments:

  1. I am basically not a programmer and I am comparatively new to Java technology , so I was wondering what all topics should be covered up if i have to start java from the start and has any one
    studied or got any info regarding this 6 week java training online course http://www.wiziq.com/course/12145-the-6-week-complete-java-primer-with-training-certificate and should we also have knowledge of C language before we further move on to Advance Java topics??

    ReplyDelete
    Replies
    1. Stackoverflow.com is your friend - see this search for answers to how to learn java: http://stackoverflow.com/search?q=learn+java

      Lots of good advice here, as a programmer, make sure you make good use of Stack Overflow! (and 'No', you don't need to know anything about C unless of course, you are interested!)

      Delete
  2. Hi, just completed my B.E. and now I am interested in going for GDS online training and that too in airlines. So, basically I am confused about certain things as which I came across that there are cetain different GDS like amadeus, Galileo, Sabre and some others. I found out that above are the one in demand and so just came across this online training http://www.wiziq.com/course/1610-amadeus-airlines-reservations-and-pnr-management-course-1 and was wondering as this online training will help me to prepare of I have to go for any other Manual training. Kindly provide some light on this too! would really be thankful for your comments.

    ReplyDelete
  3. NICE BLOG!!! Thanks for sharing useful information about FNT Softwre Solutions and being one of best Software Training institute in Bangalore we agree that this blog is very useful for the students who are searching for best software courses, I would really like to come back again right here for like wise good articles or blog posts. Thanks for sharing...Java training company bangalore.

    ReplyDelete