With oracle you need to use sequences.
@Id @GeneratedValue(strategy=AUTO,generator="AMPAPPS_SEQ")
@SequenceGenerator(name="AMPAPPS_SEQ", sequenceName="AMPAPPS_SEQ")
then you need to create a sequence in oracle called AMPAPPS_SEQ
via a create sequence command
andreistoiculescu wrote:
Tha
If you're unable to view the log, this is going to be nearly
impossible to fix. The context path should be your WAR's name w/o the
".war" part of it. If it's not available, it means your application
failed to start. You need to access the logs to figure out why.
Matt
On Mon, Oct 5, 2009 at 12:23
Thank you for the reply.
I have used the hbm2ddl plugin.
mraible wrote:
>
> When using strategy=GenerationType.AUTO for Hibernate and primary
> keys, Hibernate delegates to your database to create primary keys. It
> indicates it wants one to be created by inserting a NULL. I believe
> your issu
Can you check the log files of your Tomcat server and see what the
startup error is?
On Mon, Oct 5, 2009 at 12:19 AM, owais wrote:
> I have setup appfuse on my machine and it is working fine. Now, I need to
> deploy the war file created by my appfuse project “myproject-version1.war”
> to another
When using strategy=GenerationType.AUTO for Hibernate and primary
keys, Hibernate delegates to your database to create primary keys. It
indicates it wants one to be created by inserting a NULL. I believe
your issues is happening because your schema didn't get created
properly. Did you manually crea
Hello,
I have tried to setup appfuse 2 with Oracle10gXE, but when running the
integration tests I get the following three failures :
Tests in error:
testAddAndRemoveUser(eastBanquet.dao.UserDaoTest)
testCRUD(eastBanquet.dao.UniversalDaoTest)
testAddAndRemoveRole(eastBanquet.dao.RoleDaoTes