• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Entity Modeler + Veogen problems and questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Entity Modeler + Veogen problems and questions


  • Subject: Entity Modeler + Veogen problems and questions
  • From: Archibal Singleton <email@hidden>
  • Date: Sat, 5 Jan 2008 16:00:44 -0300

Hello,

I'm getting the dreaded driver not found problem:

--- cut

"Failed to generate SQL. JDBC connection failed for driver :'jdbc:FrontBase://localhost/test'. Driver not found in Java Runtime! Please verify your CLASSPATH environment variable. The current CLASSPATH for your application is : /Developer/Applications/ Eclipse/Eclipse.app/Contents/MacOS/../../../plugins/ org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar"

--- cut

Please see crashlog 1 below

I've checked, re-checked and re-re-checked my settings and everything seems OK.
Then I've created a vanilla project, created a EOModel, set the same settings as in my previous project. Took snapshots of the expanded "Libraries" tab in their respective "Java Build Path" settings and they're identical. The order of the libraries are also the same.


I have checked http://wiki.objectstyle.org/confluence/display/WOL/JDBC+and+Entity+Modeler (which btw doesn't mention the database PlugIn (e.g. FrontBasePlugIn or PostgresqlPlugIn). I assume they should also be in the CLASSPATH right?

Anyway, in my case both FrontBasePlugIn and frontbasejdbc.jar are in the CLASSPATH and the connection settings are the same in EM but I still get the eror message above.

On the second project, I get the following error message:

--- cut

"Failed to generate SQL. Unable to find type information for external type 'null' in attribute 'id' of entity 'Something'. Check spelling and capitalization".

--- cut

Please see crashlog 2 below

I've simply created a id attribute of type Integer - Integer i (no prototype)

I'm using eclispse Version: 3.3.2 Build id: M20071205-0800 / WOLips 3.34753 / WO 5.3.x (latest) / FrontBase 4.2.8.


What's happening and what can I do to correct this problem.

I'm using

Now some questions, is it correct to assume that VEOGenerator has a WOnder (ERExtensions + ERJars + ?) dependency? I'm guessing JavaEOGenerator does not?

Also is it possible to use prototypes in Entity Modeler without WOnder (ERPrototypes has a ERExtension + ERJars dependencies)?

Although I'm using WOnder, I'd like to know if this is possible without using WOnder.


Any help would be much appreciated.

Many TIA

= tmk =

--- crashlog 1

java.lang.RuntimeException: Failed to generate SQL.
at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory $ ReflectionSQLGenerator .generateSchemaCreationScript(EOFSQLGeneratorFactory.java:57)
at org .objectstyle .wolips .eomodeler .actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:271)
at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog $1.run(GenerateSQLDialog.java:252)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39)
at sun .reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory $ ReflectionSQLGenerator .generateSchemaCreationScript(EOFSQLGeneratorFactory.java:55)
... 3 more
Caused by: com.webobjects.jdbcadaptor.JDBCAdaptorException: JDBC connection failed for driver :'jdbc:FrontBase://localhost/test'. Driver not found in Java Runtime! Please verify your CLASSPATH environment variable. The current CLASSPATH for your application is : / Developer/Applications/Eclipse/Eclipse.app/Contents/MacOS/../../../ plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
at com.webobjects.jdbcadaptor.JDBCContext.connect(JDBCContext.java:194)
at com.webobjects.jdbcadaptor.JDBCContext._tryConnect(JDBCContext.java:331)
at com.webobjects.jdbcadaptor.JDBCContext._fetchJDBCInfo(JDBCContext.java: 558)
at com.webobjects.jdbcadaptor.JDBCPlugIn.jdbcInfo(JDBCPlugIn.java:861)
at com.webobjects.jdbcadaptor.JDBCAdaptor.jdbcInfo(JDBCAdaptor.java: 233)
at com .webobjects .jdbcadaptor .JDBCExpressionFactory.createExpression(JDBCExpressionFactory.java:22)
at com .webobjects .eoaccess .EOSQLExpressionFactory .expressionForString(EOSQLExpressionFactory.java:80)
at com .webobjects .eoaccess .EOSynchronizationFactory ._expressionForString(EOSynchronizationFactory.java:1088)
at com .webobjects .eoaccess .EOSynchronizationFactory .dropPrimaryKeySupportStatementsForEntityGroups (EOSynchronizationFactory.java:672)
at com .webobjects .eoaccess .EOSynchronizationFactory .schemaCreationStatementsForEntities(EOSynchronizationFactory.java:941)
at com .webobjects .eoaccess .EOSynchronizationFactory .schemaCreationScriptForEntities(EOSynchronizationFactory.java:747)
at org .objectstyle .wolips .eomodeler .core .sql.EOFSQLGenerator.generateSchemaCreationScript(EOFSQLGenerator.java: 384)
... 8 more



--- crashlog 2

java.lang.RuntimeException: Failed to generate SQL.
at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory $ ReflectionSQLGenerator .generateSchemaCreationScript(EOFSQLGeneratorFactory.java:57)
at org .objectstyle .wolips .eomodeler .actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:271)
at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog $1.run(GenerateSQLDialog.java:252)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39)
at sun .reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory $ ReflectionSQLGenerator .generateSchemaCreationScript(EOFSQLGeneratorFactory.java:55)
... 3 more
Caused by: com.webobjects.jdbcadaptor.JDBCAdaptorException: Unable to find type information for external type 'null' in attribute 'id' of entity 'SomeThing'. Check spelling and capitalization.
at com.webobjects.jdbcadaptor.FrontbasePlugIn $ FrontbaseSynchronizationFactory .columnTypeStringForAttribute(FrontbasePlugIn.java:711)
at com.webobjects.jdbcadaptor.FrontbasePlugIn $ FrontbaseSynchronizationFactory .addCreateClauseForAttribute(FrontbasePlugIn.java:669)
at com.webobjects.jdbcadaptor.FrontbasePlugIn $ FrontbaseSynchronizationFactory .createTableStatementsForEntityGroup(FrontbasePlugIn.java:603)
at com.webobjects.jdbcadaptor.FrontbasePlugIn $ FrontbaseSynchronizationFactory .createTableStatementsForEntityGroups(FrontbasePlugIn.java:567)
at com.webobjects.jdbcadaptor.FrontbasePlugIn $ FrontbaseSynchronizationFactory .schemaCreationStatementsForEntities(FrontbasePlugIn.java:448)
at com .webobjects .eoaccess .EOSynchronizationFactory .schemaCreationScriptForEntities(EOSynchronizationFactory.java:747)
at org .objectstyle .wolips .eomodeler .core .sql.EOFSQLGenerator.generateSchemaCreationScript(EOFSQLGenerator.java: 384)
... 8 more



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Entity Modeler + Veogen problems and questions
      • From: Archibal Singleton <email@hidden>
  • Prev by Date: Re: API File Format
  • Next by Date: Re: Semantics of ^ in value bindings in .wod file.
  • Previous by thread: Re: WOComponent children
  • Next by thread: Re: Entity Modeler + Veogen problems and questions
  • Index(es):
    • Date
    • Thread