Geez! I can't believe that was it! A simple transposition of sqlserver and
jdbc. I had it correct in the DTP configuration and the properties file, but
not the data source file (or vice-versa, I don't remember now). Thanks, Max.
View the original post :
That was actually a relatively recent change. I've been playing with different
options trying to get this to work. I did have a hibernate.cfg.xml. It wasn't
clear initially (after deleting the file) how to get rid of the reference in
the console configuration since the field is disabled, but
Max, is there any way I could package up and send you my project and console
configuration so you can directly see what I've got and tell me what I'm doing
wrong? Packaging up the project is easy, but I have no idea where the console
configuration is actually stored.
View the original post :
Yes, the class is clearly missing from the bin folder as one would expect when
seeing compilation errors for the class (The 'Column XXX cannot be resolved'
errors I referred to before). So how do I get rid of those errors? What do I
have configured incorrectly?
View the original post :
Here's an image of my errors. I don't see any other reason that the classes
wouldn't be generated:
http://screencast.com/t/aJJgvwU7
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4251873#4251873
Reply to the post :
No, I'm not working with DTP at all. I've added the sqljdbc.jar to the
Hibernate Console configuration classpath, the same type of configuration
referenced in the video you pointed me to. I'm guessing there's probably
something fundamentally wrong with my project due to the way I built it.
No, automatic build is turned on. Not to mention, I've tried manually building
several times also with no change. Wrt the missing entity class, I show the
Inner class in the screencast with the @Entity annotation, and I believe that
is the class that can't be found for some reason. This is a
Okay, added the SQL Server jar to the Hibernate configuration, but still
doesn't work. Now I don't even get the error log entry. But I think I
stumbled onto an earlier indication that there's a classpath issue. In the
Hibernate Configuration view, when I try to expand my configuration entry,
As I indicated in my initial question, I'm trying to generate DDL for SQL
Server. The database is online and accessible via the Data Source Explorer,
but not otherwise sure what you mean by connected. I'm just trying to generate
DDL; why would I need to be connected to the database?
Guess I should also mention that the ClassNotFoundException was embedded within
a HibernateConsoleRuntimeException.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4249657#4249657
Reply to the post :
I'm trying to figure out how to use the JPA/Hibernate-related functionality in
JBDS 2.0 and am having a few problems with JBDS either locking up on me or
doing nothing when I choose the JPA Tools-Generate DDL... context menu option.
I'm starting with JPA-annotated classes from which I want to
11 matches
Mail list logo