[forge-dev] Hibernate Tools plugin now in a usable state
brian
brianx at vt.edu
Wed May 11 09:06:37 EDT 2011
when i connect to the db with dbvis, it says
Oracle
Oracle Database 11g Release 11.1.0.0.0 - Production
Oracle JDBC driver
11.1.0.6.0-Production+
...and i'm using the same ojdbc5_g.jar driver for both.
b
On Tue, 2011-05-10 at 23:00 +0200, Max Rydahl Andersen wrote:
> for some reason your oracle is not getting identified properly as Oracle.
>
> --schema YOURSCHEMA
>
> should definitely work.
>
> If not let me know which jdbc driver and oracle you are actually using.
>
> /max
>
> >
> > the --table option gives the same error... not listening to --schema or
> > --table?
> >
> >
> >
> > On Tue, 2011-05-10 at 14:10 -0400, brian wrote:
> >> i'm getting an error on generate-entities:
> >>
> >> Caused by: org.hibernate.cfg.JDBCBinderException: Duplicate class name
> >> 'ed.domain.AllFileGroups' generated for
> >> 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'. Same name where
> >> generated for 'org.hibernate.mapping.Table(SYS._ALL_FILE_GROUPS)'
> >>
> >> ...i tried the --schema in an attempt to keep the systables out of it,
> >> but no joy.
> >>
> >> fwiw, i think i ran into this problem when i was in the code awhile ago
> >> and got past it... but i can't remember the fix :P
> >>
> >> b
> >>
> >>
> >> On Tue, 2011-05-10 at 11:31 -0400, Lincoln Baxter, III wrote:
> >>> Awesome work, max! This is fantastic.
> >>>
> >>> On Sun, May 8, 2011 at 11:34 AM, Max Rydahl Andersen
> >>> <max.andersen at gmail.com> wrote:
> >>> Hi,
> >>>
> >>> I've committed the fixes Lincoln and I came up with during
> >>> JBoss World to make the hibernate tools plugin run again.
> >>>
> >>> Results up on https://github.com/forge/plugin-hibernate-tools
> >>> with a readme.md on how to use.
> >>>
> >>> Short version:
> >>> $ cp driver.jar $FORGE_HOME/lib
> >>>
> >>> $ forge
> >>> $ cd projectwithpersistnce
> >>> $ generate-entities --url jdbc:hsqldb:localhost:9001 --driver
> >>> org.hsqldb.jdbcDriver
> >>> Generated 27 java entities.
> >>> $
> >>>
> >>> /max
> >>> http://about.me/maxandersen
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> forge-dev mailing list
> >>> forge-dev at lists.jboss.org
> >>> https://lists.jboss.org/mailman/listinfo/forge-dev
> >>>
> >>>
> >>>
> >>> --
> >>> Lincoln Baxter, III
> >>> http://ocpsoft.com
> >>> http://scrumshark.com
> >>> "Keep it Simple"
> >>> _______________________________________________
> >>> forge-dev mailing list
> >>> forge-dev at lists.jboss.org
> >>> https://lists.jboss.org/mailman/listinfo/forge-dev
> >>
> >>
> >> _______________________________________________
> >> forge-dev mailing list
> >> forge-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/forge-dev
> >
> >
> > _______________________________________________
> > forge-dev mailing list
> > forge-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/forge-dev
>
> /max
> http://about.me/maxandersen
>
>
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
More information about the forge-dev
mailing list