[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.jsr220-orm] Re: Milestone 2 beta 2 available - add

I find this in log (it is wtp rdb problem probably)
connectionInfoCreated
Adding new Info to Map
%%% updateModelFromMetaData [EntityIO business.domain.Company, EntityIO
business.domain.Department, EntityIO business.domain.Employee, EntityIO
business.domain.Person, EntityIO business.domain.Phone, EntityIO
jsr220orm.hibernate.business.domain.Company, EntityIO
jsr220orm.hibernate.business.domain.Department, EntityIO
jsr220orm.hibernate.business.domain.Employee, EntityIO
jsr220orm.hibernate.business.domain.Person, EntityIO
jsr220orm.hibernate.business.domain.Phone]
%%% updateModelFromMetaData DONE 5560 ms 4 pass(es) []
Exception caught while loading database vendor definition document:
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature
'orderingSupported' not found. (Oracle_9.xmi, 128, 150)
Exception caught while loading database vendor definition document:
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature
'orderingSupported' not found. (Oracle_9.xmi, 128, 150)
org.eclipse.core.runtime.CoreException[0]: java.lang.NullPointerException
 at
org.eclipse.wst.rdb.internal.core.definition.DatabaseDefinitionImpl.getPredefinedDataTypes(DatabaseDefinitionImpl.java:255)
 at
org.eclipse.wst.rdb.internal.core.definition.DatabaseDefinitionImpl.getPredefinedDataTypeDefinitionsByJDBCEnumType(DatabaseDefinitionImpl.java:260)
 at
org.eclipse.jsr220orm.generic.VendorDef.findPredefinedDataTypeDefinition(VendorDef.java:200)
 at org.eclipse.jsr220orm.generic.VendorDef.init(VendorDef.java:107)
 at
org.eclipse.jsr220orm.generic.GenericEntityModelManager.init(GenericEntityModelManager.java:183)
 at
org.eclipse.jsr220orm.core.nature.OrmNature.createOrmProject(OrmNature.java:216)
 at
org.eclipse.jsr220orm.core.nature.OrmNature.loadActiveProject(OrmNature.java:125)
 at org.eclipse.jsr220orm.core.nature.OrmNature$1.run(OrmNature.java:78)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Removing Info from map

snpe wrote:

> I try next :
>   - eclipse 3.1 (linux),gef 3.1, emf 2.1 , ve 1.1.0.1,wtp I20050826
>   - jsr220-orm from cvs (I build plugin in eclipse and start runtime
> workbench) - it work fine , perspective work, etc
>   - last hibernate 3.1 cvs,HibernateExt (annotations,ejb,entitymanager)
>   - open connection to oracle9i database in Database Explorer - it work
>   fine
> 
>    import JSR220Business project in runtime workbench (fromm examples CVS)
> 
>    - I have this error 'Unbound classpath container: 'Hibernate EJB3' in
> project JSR220Business'
> 
>    - then i add all hibernate libraries (from
> hibernate3.1.lib,hibernate3.jar,annotations and entity manager
> 
>    - now I have this error The declared package does not match the
>    expected
> package jsr220orm.hibernate.business.control
>     CommIO.java - i change declared package
> 
>     project compile
> 
>     Now I try change properties 'EJB3 persistence.xml Settings' (with own
> hibernate files) and get dialog error : HibernateEntityModelManager for
> Hibernate EJB3 (J2SE) (1.0.0) could not be initilized: (it is mispelled
> 'initilized') - NullPointerException
> 
>  I can try debug, but I don't know : do it work with last hibernate and
>  last
> hibernate ejb3
> 
> Thanks
>   
> Dirk le Roux wrote:
> 
>> Hi Peco,
>> 
>> We have had success with Hibernate-3.1beta1 and
>> hibernate-entitymanager-3.1beta2, so maybe try that.
>> Problem have been reported with Hibernate 3.1 beta2.
>>  
>> Please send me some more info, like the version of jsr200orm, Hibernate
>> and hibernate-entitymanager you are using and maybe a stack trace.
>> 
>> Dirk le Roux
>> 
>> snpe wrote:
>> 
>>> Hi Dirk,
>>> Database explorer work fine, but I can't set hibernate ejb3 - I use last
>>> cvs ejb and hibernate
>> 
>>> Thanks
>>> Dirk le Roux wrote:
>> 
>>>> Hi Peco,
>>>> 
>>>> If you can see your databases tables and columns in the Database
>>>> Explorer you will be able to use the meet in the middle functions. The
>>>> DDL generation should be fine for a new database.
>>>>  
>>>> Dirk