Discussion:
[Middlegen-user] I can't connect to oracle9i nor sybase12.5
zousey seyzou
2004-03-25 16:33:01 UTC
Permalink
Hello, can somebody help ? I think that I have misunderstood something about
the middlegen from cvs. I do my check out with wincvs with the command(cvs
-z3 -d:pserver:***@cvs.sourceforge.net:/cvsroot/middlegen co middlegen
) by using wincvs.
my problem is that I have I tried more then a 3weeks now to connect to
oracle9i or sybase12.5, i get the following error,this is the error I am
getting from oracle.
*******************************************************************************
fail-if-no-xdoclet-1.2:

check-driver-present:

panic-if-driver-not-present:

middlegen:
[mkdir] Created dir: C:\GNU\WinCvs
1.3\CVSNT\middlegen\samples\build\gen-src
[middlegen] Database URL:jdbc:oracle:thin:@localhost:1521:PUS

BUILD FAILED
C:\GNU\WinCvs 1.3\CVSNT\middlegen\samples\build.xml:226:
middlegen.MiddlegenException: The database doesn't have any table named
PERSON. Please make sure the table
exists. Also note that some databases are case sensitive.
Found the following tables:
******************************************************************************
Here is middlegen tag, i don't know what i am doing wrong.
<middlegen
appname="${name}"
prefsdir="${src.dir}"
gui="${gui}"
databaseurl="${database.url}"
initialContextFactory="${java.naming.factory.initial}"
providerURL="${java.naming.provider.url}"
datasourceJNDIName="${datasource.jndi.name}"
driver="${database.driver}"
username="${database.userid}"
password="${database.password}"
schema="${database.schema}"
catalog="${database.catalog}"
includeViews="false"
<table generate="true" name="FLIGHTS"/>
<table generate="true" name="RESERVATIONS"/>
<table generate="true" name="PERSONS"/>
<table generate="true" name="PERSON"/>

_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk
Ludovic Claude
2004-03-26 16:27:12 UTC
Permalink
Middlegen cannot read any table from the database, you are probably using a
wrong schema. Try to use dbo or your user name for the database.schema
property.

Hope this helps,
Ludovic
Subject: [Middlegen-user] I can't connect to oracle9i nor sybase12.5
Date: Thu, 25 Mar 2004 19:32:04 +0100
Hello, can somebody help ? I think that I have misunderstood something
about the middlegen from cvs. I do my check out with wincvs with the
co middlegen ) by using wincvs.
my problem is that I have I tried more then a 3weeks now to connect to
oracle9i or sybase12.5, i get the following error,this is the error I am
getting from oracle.
*******************************************************************************
[mkdir] Created dir: C:\GNU\WinCvs
1.3\CVSNT\middlegen\samples\build\gen-src
BUILD FAILED
middlegen.MiddlegenException: The database doesn't have any table named
PERSON. Please make sure the table
exists. Also note that some databases are case sensitive.
******************************************************************************
Here is middlegen tag, i don't know what i am doing wrong.
<middlegen
appname="${name}"
prefsdir="${src.dir}"
gui="${gui}"
databaseurl="${database.url}"
initialContextFactory="${java.naming.factory.initial}"
providerURL="${java.naming.provider.url}"
datasourceJNDIName="${datasource.jndi.name}"
driver="${database.driver}"
username="${database.userid}"
password="${database.password}"
schema="${database.schema}"
catalog="${database.catalog}"
includeViews="false"
<table generate="true" name="FLIGHTS"/>
<table generate="true" name="RESERVATIONS"/>
<table generate="true" name="PERSONS"/>
<table generate="true" name="PERSON"/>
_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger

Loading...