Hi all, 

I'm just trying to give middlegen a spin. 
Example worked fine with hsql, but when I tried 
to connect to real postgres database I got following
error:


--%<------------------
[middlegen] (middlegen.MiddlegenPopulator        235 )
ERROR:  Unable to identify an ordering operator '<'
for type 'bytea'
[middlegen]     Use an explicit ordering operator or
modify the query

[middlegen] java.sql.SQLException: ERROR:  Unable to
identify an ordering operator '<' for type 'bytea'
[middlegen]     Use an explicit ordering operator or
modify the query

[middlegen]     at
org.postgresql.core.QueryExecutor.execute(Unknown
Source)
[middlegen]     at
org.postgresql.Connection.ExecSQL(Unknown Source)
[middlegen]     at
org.postgresql.Connection.ExecSQL(Unknown Source)
[middlegen]     at
org.postgresql.jdbc2.DatabaseMetaData.getImportedExportedKeys(Unknown
Source)
[middlegen]     at
org.postgresql.jdbc2.DatabaseMetaData.getExportedKeys(Unknown
Source)
[middlegen]     at
middlegen.MiddlegenPopulator.addRelations(MiddlegenPopulator.java:317)
[middlegen]     at
middlegen.MiddlegenPopulator.populate(MiddlegenPopulator.java:218)
[middlegen]     at
middlegen.MiddlegenTask.execute(MiddlegenTask.java:403)
[middlegen]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
[middlegen]     at
org.apache.tools.ant.Task.perform(Task.java:319)
[middlegen]     at
org.apache.tools.ant.Target.execute(Target.java:309)
[middlegen]     at
org.apache.tools.ant.Target.performTasks(Target.java:336)
[middlegen]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[middlegen]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
[middlegen]     at
org.apache.tools.ant.Main.runBuild(Main.java:610)
[middlegen]     at
org.apache.tools.ant.Main.start(Main.java:196)
[middlegen]     at
org.apache.tools.ant.Main.main(Main.java:235)

BUILD FAILED
file:/home/konstantin/infotest/build.xml:139:
middlegen.MiddlegenException: Database problem:ERROR: 
Unable to identify an ordering operator '<' for type
'bytea'
        Use an explicit ordering operator or modify
the query
---%<-------------------

Postgres is 7.1.3, Middlegen - just downloaded from
SF,
I'm using driver supplied with middlegen.


Can somebody point me in the right direction?

tia,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to