Announcement Announcement Module
Collapse
No announcement yet.
ERROR org.hibernate.tool.hbm2ddl.SchemaExport - ERROR: no schema has been selected to Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ERROR org.hibernate.tool.hbm2ddl.SchemaExport - ERROR: no schema has been selected to

    Hi,
    I have problem with my first app with Roo.
    I want to do the example
    Code:
    mkdir hello
    cd hello
    roo
    roo> project --topLevelPackage com.foo
    roo> persistence setup --provider HIBERNATE --database POSTGRES
    roo> entity --class ~.Timer --testAutomatically
    roo> field string --fieldName message --notNull
    roo> controller all --package ~.web
    roo> gwt setup
    roo> quit
    then I edit the database.properties file
    Code:
    database.password=qwerty
    database.url=jdbc:postgresql://localhost:5432/db_test
    database.username=db_user
    database.driverClassName=org.postgresql.Driver
    after this mvn tomcat:run
    but I'm getting an error:
    Code:
    ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Unsuccessful: create table timer (id int8 not null, message varchar(255) not null, version int4, primary key (id))
    ERROR org.hibernate.tool.hbm2ddl.SchemaExport - ERROR: no schema has been selected to create in
    ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Unsuccessful: create sequence hibernate_sequence
    ERROR org.hibernate.tool.hbm2ddl.SchemaExport - ERROR: no schema has been selected to create in
    What should I change?

    Thanks for any help
    Agatha

  • #2
    Hi,

    were you able to get this to work? I have come across the same problem with not much luck getting over it.

    Comment

    Working...
    X