-
Type:
Bug
-
Status: Resolved
-
Priority:
Blocker
-
Resolution: Works as Designed
-
Affects Version/s: 1.1.4.RELEASE
-
Fix Version/s: 1.1.4.RELEASE
-
Component/s: PERSISTENCE
-
Labels:
-
Environment:Linux Ubuntu 10.10, Apache Maven 3.0.2, Java 1.6.0_23, Commit 4e7e817def6094bfc6f8f1b7cc989c9969954651
Database properties:
- User: test
- Password: test
- Database: testDB
Attached database.sql script with structure creation.
Execute attached log.roo script:
project --topLevelPackage org.gvnix.test.dbre.acuses persistence setup --provider HIBERNATE --database POSTGRES --hostName localhost --password test --userName test --databaseName testDB osgi obr url add --url http://spring-roo-repository.springsource.org/repository.xml osgi obr start --bundleSymbolicName org.springframework.roo.wrapping.postgresql-jdbc3 osgi obr url remove --url http://spring-roo-repository.springsource.org/repository.xml database reverse engineer --schema public --package ~.domain controller all --package ~.web
When you create an entity next exception is raised:
org.hibernate.id.IdentifierGenerationException: Unknown integral data type for ids : java.lang.String; nested exception is javax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: Unknown integral data type for ids : java.lang.String
Attached stack trace.
- duplicates
-
ROO-1040 Integration tests fail for RooDbManaged Entity with RooEntity(identifierType = String.class)
-
- Closed
-