Hi,

but I can read. Stuff like findAll() or doDelete() works also...

regards Oskar


Sven Homburg wrote:
> 
> It looks like, that you dont have a connection to the DBA
> 
> with regards
> Sven Homburg
> Founder of the Chenille Kit Project
> http://chenillekit.codehaus.org
> 
> 
> 
> 
> 2010/1/16 oskar_a <s3746...@mail.inf.tu-dresden.de>
> 
>>
>> Hi,
>>
>> I try to use Chenillekit Hibernate  (
>> http://www.chenillekit.org/chenillekit-hibernate/dao_sample.html ). So I
>> created an simple DAO like in the Tutorial: UserServiceImpl (its my DAO
>> for
>> the User class) that extends AbstractHibernateDAO.
>> But when I try to add an entity in my DB I get errors. I just try to
>> execute
>> something like:
>> myuserServiceImpl.doSave(new User(...));
>> and get:
>> Hibernate: insert into User (firstName, lastName, title, email, Password,
>> organisation) values (?, ?, ?, ?, ?, ?)
>> [WARN] util.JDBCExceptionReporter SQL Error: 0, SQLState: 08S01
>> [ERROR] util.JDBCExceptionReporter Communications link failure
>>
>> The last packet successfully received from the server was 23.453
>> milliseconds ago.  The last packet sent successfully to the server was 0
>> milliseconds ago.
>> [INFO] AppModule.TimingFilter Request time: 375 ms
>> [ERROR] TapestryModule.RequestExceptionHandler Processing of request
>> failed
>> with uncaught exception: could not insert: [de.tud.join.entities.User]
>> org.apache.tapestry5.runtime.ComponentEventException: could not insert:
>> [de.tud.join.entities.User] [at context:register.tml, line 5]
>>        at
>>
>> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1098)
>>        at
>>
>> org.apache.tapestry5.internal.services.ComponentEventRequestHandlerImpl.handle(ComponentEventRequestHandlerImpl.java:75)
>>        at
>>
>> org.apache.tapestry5.internal.services.ImmediateActionRenderResponseFilter.handle(ImmediateActionRenderResponseFilter.java:42)
>>        at
>>
>> $ComponentEventRequestHandler_126379b865d.handle($ComponentEventRequestHandler_126379b865d.java)
>>        at
>>
>> org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42)
>>        at
>>
>> $ComponentEventRequestHandler_126379b865d.handle($ComponentEventRequestHandler_126379b865d.java)
>>        at
>>
>> org.apache.tapestry5.upload.internal.services.UploadExceptionFilter.handle(UploadExceptionFilter.java:75)
>>        at
>>
>> $ComponentEventRequestHandler_126379b865d.handle($ComponentEventRequestHandler_126379b865d.java)
>>        at
>>
>> org.apache.tapestry5.services.TapestryModule$36.handle(TapestryModule.java:2164)
>>        at
>>
>> $ComponentEventRequestHandler_126379b865d.handle($ComponentEventRequestHandler_126379b865d.java)
>> ...
>> http://nopaste.info/4c1118b981.html complete stack trace
>>
>> Has somebody an idea what i did wrong?
>> May be its something wrong on my  http://nopaste.info/8be63c750c.html
>> Hibernate configuration .. ??
>>
>> Thx for help
>> regards Oskar
>> --
>> View this message in context:
>> http://old.nabble.com/Chenillekit-hibernate-DAO-tp27190417p27190417.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
> 
> 
> -----
> best regards
> Sven
> 

-- 
View this message in context: 
http://old.nabble.com/Chenillekit-hibernate-DAO-tp27190417p27192150.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to